#include <CoreFoundation/CFDictionary.h>
#include <CoreFoundation/CFNumber.h>
#include <CoreFoundation/CFData.h>
#include "vda.h"
#include "libavutil/avutil.h"
#include "h264.h"
Go to the source code of this file.
|
static void | vda_decoder_callback (void *vda_hw_ctx, CFDictionaryRef user_info, OSStatus status, uint32_t infoFlags, CVImageBufferRef image_buffer) |
|
static int | vda_sync_decode (struct vda_context *vda_ctx) |
|
static int | start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
|
static int | decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
|
static int | end_frame (AVCodecContext *avctx) |
|
int | ff_vda_create_decoder (struct vda_context *vda_ctx, uint8_t *extradata, int extradata_size) |
| Create the video decoder.
|
|
int | ff_vda_destroy_decoder (struct vda_context *vda_ctx) |
| Destroy the video decoder.
|
|
static void vda_decoder_callback |
( |
void * |
vda_hw_ctx, |
|
|
CFDictionaryRef |
user_info, |
|
|
OSStatus |
status, |
|
|
uint32_t |
infoFlags, |
|
|
CVImageBufferRef |
image_buffer |
|
) |
| |
|
static |
static int vda_sync_decode |
( |
struct vda_context * |
vda_ctx | ) |
|
|
static |
Initial value:= {
.name = "h264_vda",
}
Definition at line 374 of file vda_h264.c.