[FFmpeg-devel] [PATCH][VAAPI][2/6] Add common data structures and helpers (take 3)
Gwenole Beauchesne
gbeauchesne
Fri Mar 6 11:42:29 CET 2009
On Fri, 6 Mar 2009, Diego Biurrun wrote:
> On Fri, Mar 06, 2009 at 11:20:25AM +0100, Gwenole Beauchesne wrote:
>>
>> New patch attached, sync'ed to current patch queue and SVN.
>>
>> --- a/libavcodec/Makefile
>> +++ b/libavcodec/Makefile
>> @@ -31,6 +31,9 @@ OBJS-$(CONFIG_GOLOMB) += golomb.o
>> OBJS-$(CONFIG_MDCT) += mdct.o
>> OBJS-$(CONFIG_RDFT) += rdft.o
>>
>> +# hardware accelerators
>> +OBJS-$(CONFIG_VAAPI) += vaapi.o
>
> I think this should be done similar to vdpau, where vdpau.o is compiled
> when the corresponding decoders are enabled.
I'd prefer not because that's not used that way. Please see "[PATCH] Add
REGISTER_HWACCEL". ;-)
Thus,
# hardware accelerators
OBJS-$(CONFIG_VAAPI) += vaapi.o
OBJS-$(CONFIG_VDPAU) += vdpau.o
OBJS-$(CONFIG_XXXX) += xxxx.o
OBJS-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.o
OBJS-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.o
OBJS-$(CONFIG_H264_XXXX_HWACCEL) += xxxx_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
[...]
(similarly to the allcodecs.c parts)
More information about the ffmpeg-devel
mailing list