[FFmpeg-cvslog] r17633 - in trunk/libavcodec: mpegvideo.c mpegvideo.h
benoit
subversion
Fri Feb 27 09:09:23 CET 2009
Author: benoit
Date: Fri Feb 27 09:09:23 2009
New Revision: 17633
Log:
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.
Modified:
trunk/libavcodec/mpegvideo.c
trunk/libavcodec/mpegvideo.h
Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c Fri Feb 27 09:02:34 2009 (r17632)
+++ trunk/libavcodec/mpegvideo.c Fri Feb 27 09:09:23 2009 (r17633)
@@ -80,6 +80,11 @@ const enum PixelFormat ff_pixfmt_list_42
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;
Modified: trunk/libavcodec/mpegvideo.h
==============================================================================
--- trunk/libavcodec/mpegvideo.h Fri Feb 27 09:02:34 2009 (r17632)
+++ trunk/libavcodec/mpegvideo.h Fri Feb 27 09:09:23 2009 (r17633)
@@ -709,6 +709,7 @@ void ff_init_block_index(MpegEncContext
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;
More information about the ffmpeg-cvslog
mailing list