[FFmpeg-devel] [PATCH][VAAPI][3/6] Add MPEG-2 bitstream decoding

Gwenole Beauchesne gbeauchesne
Thu Feb 26 16:57:38 CET 2009

On Thu, 26 Feb 2009, Michael Niedermayer wrote:

> may i suggest that each vaapi decoder is placed in its own file
> with common vaapi.c/h for the common code?

OK, migrated all structs and helpers decls to vaapi_internal.h and created 
vaapi_{mpeg2,mpeg4,h264,vc1}.c. Makefile now also contains:

# hardware accelerators
OBJS-$(CONFIG_VAAPI)                   += vaapi.o
OBJS-$(CONFIG_H263_VAAPI_HWACCEL)      += vaapi_mpeg4.o
OBJS-$(CONFIG_H264_VAAPI_HWACCEL)      += vaapi_h264.o
OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL)     += vaapi_mpeg2.o
OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL)     += vaapi_mpeg4.o
OBJS-$(CONFIG_VC1_VAAPI_HWACCEL)       += vaapi_vc1.o
OBJS-$(CONFIG_WMV3_VAAPI_HWACCEL)      += vaapi_vc1.o

Waiting for other approved patches to be applied and the .data[0] issue 
ironed out. As a reminder:

* "[PATCH][VAAPI][1/6] Add VA API formats (take 2)"

* "[PATCH] Make ff_er_add_slice() a no-op in hwaccel mode"

* "[PATCH] h263dec.c: add HW acceleration hooks (take 2)"

* "[PATCH] Add REGISTER_HWACCEL" (partly, Diego for configure?):


More information about the ffmpeg-devel mailing list