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

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Tue Aug 8 22:17:55 EEST 2017


On 08/08/2017 06:07 PM, Jorge Ramirez-Ortiz wrote:
>   OBJS-$(CONFIG_VP8_MEDIACODEC_DECODER)  += mediacodecdec.o
>   OBJS-$(CONFIG_VP8_QSV_DECODER)         += qsvdec_other.o
>   OBJS-$(CONFIG_VP8_VAAPI_ENCODER)       += vaapi_encode_vp8.o
> +OBJS-$(CONFIG_VP8_V4L2M2M_DECODER)     += v4l2_m2m_dec.o
> +OBJS-$(CONFIG_VP8_V4L2M2M_ENCODER)     += v4l2_m2m_enc.o
>   OBJS-$(CONFIG_VP9_DECODER)             += vp9.o vp9data.o vp9dsp.o vp9lpf.o vp9recon.o \
>                                             vp9block.o vp9prob.o vp9mvs.o vp56rac.o \
>                                             vp9dsp_8bpp.o vp9dsp_10bpp.o vp9dsp_12bpp.o
>   OBJS-$(CONFIG_VP9_CUVID_DECODER)       += cuvid.o
>   OBJS-$(CONFIG_VP9_MEDIACODEC_DECODER)  += mediacodecdec.o
>   OBJS-$(CONFIG_VP9_VAAPI_ENCODER)       += vaapi_encode_vp9.o

sorry, fixing the below in v5 as well as the carriage returns introduced 
in Changelog.

> -OBJS-$(CONFIG_VPLAYER_DECODER)         += textdec.o ass.o
> +OBJS-$(CONFIG_VP9_V4L2M2M_DECODER)      += v4l2_m2m_dec.o
>   OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
>   OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
>   OBJS-$(CONFIG_WAVPACK_ENCODER)         += wavpackenc.o
> diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
> index 4712592..d154ac9 100644
> --- a/libavcodec/allcodecs.c
> +++ b/libavcodec/allcodecs.c
> @@ -207,8 +207,10 @@ static void register_all(void)
>       REGISTER_ENCDEC (H263,              h263);
>       REGISTER_DECODER(H263I,             h263i);
>       REGISTER_ENCDEC (H263P,             h263p);
> +    REGISTER_ENCDEC (H263_V4L2M2M,      h263_v4l2m2m);
>       REGISTER_DECODER(H264,              h264);
>       REGISTER_DECODER(H264_CRYSTALHD,    h264_crystalhd);
> +    REGISTER_ENCDEC (H264_V4L2M2M,      h264_v4l2m2m);



More information about the ffmpeg-devel mailing list