v4l2: Profile and level probing support for encoders and decoders
authorPhilippe Normand <philn@igalia.com>
Mon, 4 Mar 2019 11:05:29 +0000 (11:05 +0000)
committerPhilippe Normand <philn@igalia.com>
Wed, 5 Jun 2019 09:23:40 +0000 (10:23 +0100)
commit6ce195e9d1139d109b4301812221dc74f986909b
treede491db3c2bd370805ec332e5ce9ce7806958ac0
parent7bd1909f4fc4763a2e55ccbc0b1fdbc5795f6452
v4l2: Profile and level probing support for encoders and decoders

There used to be some profile/level support in encoders. This code was moved to
GstV4l2Codecs and is now also used for decoders. The caps templates for the
H.264, H.265, MPEG4, VP8 and VP9 encoders and decoders should now reflect the
profiles and levels advertised by the kernel.
32 files changed:
sys/v4l2/Makefile.am
sys/v4l2/gstv4l2.c
sys/v4l2/gstv4l2codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2fwhtenc.c
sys/v4l2/gstv4l2h263enc.c
sys/v4l2/gstv4l2h264codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2h264codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2h264enc.c
sys/v4l2/gstv4l2h264enc.h
sys/v4l2/gstv4l2h265codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2h265codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2h265enc.c
sys/v4l2/gstv4l2h265enc.h
sys/v4l2/gstv4l2jpegenc.c
sys/v4l2/gstv4l2mpeg4codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2mpeg4codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2mpeg4enc.c
sys/v4l2/gstv4l2mpeg4enc.h
sys/v4l2/gstv4l2videodec.c
sys/v4l2/gstv4l2videodec.h
sys/v4l2/gstv4l2videoenc.c
sys/v4l2/gstv4l2videoenc.h
sys/v4l2/gstv4l2vp8codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2vp8codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2vp8enc.c
sys/v4l2/gstv4l2vp8enc.h
sys/v4l2/gstv4l2vp9codec.c [new file with mode: 0644]
sys/v4l2/gstv4l2vp9codec.h [new file with mode: 0644]
sys/v4l2/gstv4l2vp9enc.c
sys/v4l2/gstv4l2vp9enc.h
sys/v4l2/meson.build