[SCM] libav/experimental: Add ff_hwaccel_pixfmt_list_420[] definition. Patch by Gwenole Beauchesne.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:39:44 UTC 2013
The following commit has been merged in the experimental branch:
commit 044f0296a4a6b57d6bc3e9e8da5f27c10e7ebb34
Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
Date: Fri Feb 27 08:09:23 2009 +0000
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.
Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 38aa4d2..b417c68 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 8e324ae..0f09975 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list