5.13.2010

notes - code reading of ffmpeg


AVCodec h264_decoder = {
"h264", //name
CODEC_TYPE_VIDEO, //type
CODEC_ID_H264, //id
sizeof(H264Context), //private data size
decode_init, // (*init)()
NULL, // (*encode)()
decode_end, // (*close)()
decode_frame, // (*decode)()
/*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, //capability
NULL, //next
flush_dpb, // (*flush)()
};

沒有留言: