FFmpeg
|
AVFoundation input device. More...
#import <AVFoundation/AVFoundation.h>
#include <pthread.h>
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavutil/avstring.h"
#include "libavformat/internal.h"
#include "libavutil/internal.h"
#include "libavutil/time.h"
#include "avdevice.h"
Go to the source code of this file.
Data Structures | |
struct | AVFPixelFormatSpec |
struct | AVFContext |
class | AVFFrameReceiver |
FrameReciever class - delegate for AVCaptureSession. More... | |
class | AVFAudioReceiver |
AudioReciever class - delegate for AVCaptureSession. More... | |
Macros | |
#define | INTERLEAVE_OUTPUT(bps) |
Functions | |
static void | lock_frames (AVFContext *ctx) |
static void | unlock_frames (AVFContext *ctx) |
static void | destroy_context (AVFContext *ctx) |
static void | parse_device_name (AVFormatContext *s) |
static int | add_video_device (AVFormatContext *s, AVCaptureDevice *video_device) |
static int | add_audio_device (AVFormatContext *s, AVCaptureDevice *audio_device) |
static int | get_video_config (AVFormatContext *s) |
static int | get_audio_config (AVFormatContext *s) |
static int | avf_read_header (AVFormatContext *s) |
static int | avf_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | avf_close (AVFormatContext *s) |
Variables | |
static const int | avf_time_base = 1000000 |
static const AVRational | avf_time_base_q |
static struct AVFPixelFormatSpec | avf_pixel_formats [] |
static const AVOption | options [] |
static const AVClass | avf_class |
AVInputFormat | ff_avfoundation_demuxer |
AVFoundation input device.
Definition in file avfoundation.m.
#define INTERLEAVE_OUTPUT | ( | bps | ) |
|
static |
Definition at line 124 of file avfoundation.m.
Referenced by avf_read_packet(), AVFFrameReceiver::captureOutput:didOutputSampleBuffer:fromConnection:, AVFAudioReceiver::captureOutput:didOutputSampleBuffer:fromConnection:, get_audio_config(), and get_video_config().
|
static |
Definition at line 129 of file avfoundation.m.
Referenced by avf_read_packet(), AVFFrameReceiver::captureOutput:didOutputSampleBuffer:fromConnection:, AVFAudioReceiver::captureOutput:didOutputSampleBuffer:fromConnection:, get_audio_config(), and get_video_config().
|
static |
Definition at line 226 of file avfoundation.m.
Referenced by avf_close(), and avf_read_header().
|
static |
Definition at line 252 of file avfoundation.m.
Referenced by avf_read_header().
|
static |
Definition at line 266 of file avfoundation.m.
Referenced by avf_read_header().
|
static |
Definition at line 378 of file avfoundation.m.
Referenced by avf_read_header().
|
static |
Definition at line 421 of file avfoundation.m.
Referenced by avf_read_header().
|
static |
Definition at line 459 of file avfoundation.m.
Referenced by avf_read_header().
|
static |
Definition at line 528 of file avfoundation.m.
|
static |
Definition at line 717 of file avfoundation.m.
|
static |
Definition at line 821 of file avfoundation.m.
|
static |
Definition at line 39 of file avfoundation.m.
Referenced by get_audio_config(), and get_video_config().
|
static |
Definition at line 41 of file avfoundation.m.
|
static |
Definition at line 51 of file avfoundation.m.
|
static |
Definition at line 828 of file avfoundation.m.
|
static |
Definition at line 838 of file avfoundation.m.
AVInputFormat ff_avfoundation_demuxer |
Definition at line 846 of file avfoundation.m.