Commit c65b55c3 authored by benoit's avatar benoit

Add ff_hwaccel_pixfmt_list_420[] definition.

Patch by Gwenole Beauchesne.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 503ae328
......@@ -80,6 +80,11 @@ const enum PixelFormat ff_pixfmt_list_420[] = {
PIX_FMT_NONE
};
const enum PixelFormat ff_hwaccel_pixfmt_list_420[] = {
PIX_FMT_YUV420P,
PIX_FMT_NONE
};
const uint8_t *ff_find_start_code(const uint8_t * restrict p, const uint8_t *end, uint32_t * restrict state){
int i;
......
......@@ -709,6 +709,7 @@ void ff_init_block_index(MpegEncContext *s);
void ff_copy_picture(Picture *dst, Picture *src);
extern const enum PixelFormat ff_pixfmt_list_420[];
extern const enum PixelFormat ff_hwaccel_pixfmt_list_420[];
static inline void ff_update_block_index(MpegEncContext *s){
const int block_size= 8>>s->avctx->lowres;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment