[FFmpeg-devel] [PATCHv6 4/4] libavcodec: v4l2: add support for v4l2 mem2mem codecs

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Mon Aug 28 11:25:20 EEST 2017


On 08/25/2017 05:35 PM, wm4 wrote:
>> +#if CONFIG_VP8_V4L2M2M_DECODER
>> +        M2MDEC(vp8, "VP8", AV_CODEC_ID_VP8, NULL);
>> +#endif
>> +
>> +#if CONFIG_VP9_V4L2M2M_DECODER
>> +        M2MDEC(vp9, "VP9", AV_CODEC_ID_VP9, NULL);
>> +#endif
>> +
>> +#if CONFIG_HEVC_V4L2M2M_DECODER
>> +        M2MDEC(hevc, "HEVC", AV_CODEC_ID_HEVC, "h264_mp4toannexb");
>> +#endif
> You don't need all this ifdeffery. A codec entry doesn't pull in
> any additional functions, so a disabled codec entry will simply not
> reference the AVCodec.
>

ok. will fix.


More information about the ffmpeg-devel mailing list