Go to the source code of this file.
|
static enum AMF_SURFACE_FORMAT | amf_av_to_amf_format (enum AVPixelFormat fmt) |
|
static void AMF_CDECL_CALL | AMFTraceWriter_Write (AMFTraceWriter *pThis, const wchar_t *scope, const wchar_t *message) |
|
static void AMF_CDECL_CALL | AMFTraceWriter_Flush (AMFTraceWriter *pThis) |
|
static int | amf_load_library (AVCodecContext *avctx) |
|
static int | amf_init_context (AVCodecContext *avctx) |
|
static int | amf_init_encoder (AVCodecContext *avctx) |
|
int av_cold | ff_amf_encode_close (AVCodecContext *avctx) |
| Common encoder termination function. More...
|
|
static int | amf_copy_surface (AVCodecContext *avctx, const AVFrame *frame, AMFSurface *surface) |
|
static int | timestamp_queue_enqueue (AVCodecContext *avctx, int64_t timestamp) |
|
static int | amf_copy_buffer (AVCodecContext *avctx, AVPacket *pkt, AMFBuffer *buffer) |
|
int | ff_amf_encode_init (AVCodecContext *avctx) |
| Common encoder initization function. More...
|
|
static AMF_RESULT | amf_set_property_buffer (AMFSurface *object, const wchar_t *name, AMFBuffer *val) |
|
static AMF_RESULT | amf_get_property_buffer (AMFData *object, const wchar_t *name, AMFBuffer **val) |
|
static AMFBuffer * | amf_create_buffer_with_frame_ref (const AVFrame *frame, AMFContext *context) |
|
static void | amf_release_buffer_with_frame_ref (AMFBuffer *frame_ref_storage_buffer) |
|
int | ff_amf_send_frame (AVCodecContext *avctx, const AVFrame *frame) |
| Ecoding one frame - common function for all AMF encoders. More...
|
|
int | ff_amf_receive_packet (AVCodecContext *avctx, AVPacket *avpkt) |
|
#define FFMPEG_AMF_WRITER_ID L"ffmpeg_amf" |
#define PTS_PROP L"PtsProp" |
static enum AMF_SURFACE_FORMAT amf_av_to_amf_format |
( |
enum AVPixelFormat |
fmt | ) |
|
|
static |
static void AMF_CDECL_CALL AMFTraceWriter_Write |
( |
AMFTraceWriter * |
pThis, |
|
|
const wchar_t * |
scope, |
|
|
const wchar_t * |
message |
|
) |
| |
|
static |
static void AMF_CDECL_CALL AMFTraceWriter_Flush |
( |
AMFTraceWriter * |
pThis | ) |
|
|
static |
static AMF_RESULT amf_set_property_buffer |
( |
AMFSurface * |
object, |
|
|
const wchar_t * |
name, |
|
|
AMFBuffer * |
val |
|
) |
| |
|
static |
static AMF_RESULT amf_get_property_buffer |
( |
AMFData * |
object, |
|
|
const wchar_t * |
name, |
|
|
AMFBuffer ** |
val |
|
) |
| |
|
static |
static AMFBuffer* amf_create_buffer_with_frame_ref |
( |
const AVFrame * |
frame, |
|
|
AMFContext * |
context |
|
) |
| |
|
static |
static void amf_release_buffer_with_frame_ref |
( |
AMFBuffer * |
frame_ref_storage_buffer | ) |
|
|
static |
Ecoding one frame - common function for all AMF encoders.
Definition at line 578 of file amfenc.c.
Initial value:= {
}
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Supported formats.
Definition at line 52 of file amfenc.c.
Initial value:=
{
}
packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition at line 69 of file amfenc.c.
AMFTraceWriterVtbl tracer_vtbl |
|
static |
Initial value:=
{
}
static void AMF_CDECL_CALL AMFTraceWriter_Write(AMFTraceWriter *pThis, const wchar_t *scope, const wchar_t *message)
static void AMF_CDECL_CALL AMFTraceWriter_Flush(AMFTraceWriter *pThis)
Definition at line 102 of file amfenc.c.
Referenced by amf_init_context().