diff options
| author | Ezequiel Garcia <ezequiel@collabora.com> | 2020-08-25 05:52:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-01 14:13:29 +0200 |
| commit | b3a23db0e2f89b309c40e32421c423875b5c1e65 (patch) | |
| tree | b99efb8a1bf1d351a8267266830fff3322e8f8a5 /drivers/media/platform/qcom/venus/vdec.c | |
| parent | e6de6b3fac5f70cbf37eaa671d1bfeb2478469d9 (diff) | |
| download | cachepc-linux-b3a23db0e2f89b309c40e32421c423875b5c1e65.tar.gz cachepc-linux-b3a23db0e2f89b309c40e32421c423875b5c1e65.zip | |
media: cedrus: Use H264_SCALING_MATRIX only when required
Baseline, Main and Extended profiles are specified to
not support a scaling matrix. Also, High profiles
can optionally specify a scaling matrix, using
SPS and PPS NAL units.
To meet this expectation, applications are required to
set the V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX control
and set the V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT
flag only when a scaling matrix is specified for a picture.
Implement this on cedrus, which has hardware support for this
case.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/venus/vdec.c')
0 files changed, 0 insertions, 0 deletions
