Mercurial > libavcodec.hg
changeset 9060:f49b1c1d2c16 libavcodec
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.
author | benoit |
---|---|
date | Fri, 27 Feb 2009 08:09:23 +0000 |
parents | 3c5920f57063 |
children | d041d818f35c |
files | mpegvideo.c mpegvideo.h |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Thu Feb 26 23:47:32 2009 +0000 +++ b/mpegvideo.c Fri Feb 27 08:09:23 2009 +0000 @@ -80,6 +80,11 @@ 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;
--- a/mpegvideo.h Thu Feb 26 23:47:32 2009 +0000 +++ b/mpegvideo.h Fri Feb 27 08:09:23 2009 +0000 @@ -709,6 +709,7 @@ 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;