Libav
|
#import <AVFoundation/AVFoundation.h>
#include <pthread.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "avdevice.h"
Go to the source code of this file.
Data Structures | |
struct | AVPixelFormatMap |
struct | AVFoundationCaptureContext |
class | VideoCapture |
Macros | |
#define | AUDIO_DEVICES 1 |
#define | VIDEO_DEVICES 2 |
#define | ALL_DEVICES AUDIO_DEVICES | VIDEO_DEVICES |
#define | OFFSET(x) offsetof(AVFoundationCaptureContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Variables | |
static const struct AVPixelFormatMap | pixel_format_map [] |
static const AVOption | options [] |
static const AVClass | avfoundation_class |
AVInputFormat | ff_avfoundation_demuxer |
#define AUDIO_DEVICES 1 |
Definition at line 115 of file avfoundation_dec.m.
Referenced by avfoundation_list_capture_devices().
#define VIDEO_DEVICES 2 |
Definition at line 116 of file avfoundation_dec.m.
Referenced by avfoundation_list_capture_devices().
#define ALL_DEVICES AUDIO_DEVICES | VIDEO_DEVICES |
Definition at line 117 of file avfoundation_dec.m.
#define OFFSET | ( | x | ) | offsetof(AVFoundationCaptureContext, x) |
Definition at line 119 of file avfoundation_dec.m.
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 120 of file avfoundation_dec.m.
|
static |
Definition at line 72 of file avfoundation_dec.m.
Referenced by list_formats(), and setup_stream().
|
static |
Definition at line 81 of file avfoundation_dec.m.
|
static |
Definition at line 133 of file avfoundation_dec.m.
Referenced by avfoundation_list_capture_devices().
|
static |
Definition at line 149 of file avfoundation_dec.m.
Referenced by avfoundation_read_header().
|
static |
Definition at line 162 of file avfoundation_dec.m.
Referenced by avfoundation_read_header().
|
static |
Definition at line 179 of file avfoundation_dec.m.
Referenced by avfoundation_read_packet(), VideoCapture::captureOutput:didOutputSampleBuffer:fromConnection:, and get_video_config().
|
static |
Definition at line 184 of file avfoundation_dec.m.
Referenced by avfoundation_read_packet(), VideoCapture::captureOutput:didOutputSampleBuffer:fromConnection:, and get_video_config().
|
static |
Configure the video device.
Definition at line 244 of file avfoundation_dec.m.
Referenced by VideoCapture::captureOutput:didOutputSampleBuffer:fromConnection:, and setup_stream().
|
static |
Definition at line 315 of file avfoundation_dec.m.
Referenced by configure_video_device(), and setup_stream().
|
static |
Definition at line 332 of file avfoundation_dec.m.
Referenced by print_supported_formats(), setup_default_stream(), and setup_streams().
|
static |
Definition at line 428 of file avfoundation_dec.m.
Referenced by setup_stream(), and setup_streams().
|
static |
Definition at line 467 of file avfoundation_dec.m.
Referenced by avfoundation_read_close(), get_video_config(), and setup_streams().
|
static |
Definition at line 482 of file avfoundation_dec.m.
Referenced by destroy_context(), and setup_streams().
|
static |
Try to open device given in filename Two supported formats: "device_unique_id" or "[device_unique_id]".
Definition at line 500 of file avfoundation_dec.m.
Referenced by setup_default_stream(), and setup_streams().
|
static |
Definition at line 544 of file avfoundation_dec.m.
Referenced by avfoundation_read_header(), and create_device().
|
static |
Definition at line 587 of file avfoundation_dec.m.
Referenced by setup_streams().
|
static |
Definition at line 626 of file avfoundation_dec.m.
Referenced by avfoundation_read_header().
|
static |
Definition at line 663 of file avfoundation_dec.m.
Referenced by avfoundation_read_packet().
|
static |
Definition at line 43 of file avfoundation_dec.m.
|
static |
Definition at line 121 of file avfoundation_dec.m.
|
static |
Definition at line 671 of file avfoundation_dec.m.
Referenced by avfoundation_read_close().
AVInputFormat ff_avfoundation_demuxer |
Definition at line 678 of file avfoundation_dec.m.