diff options
| author | Irui Wang <irui.wang@mediatek.com> | 2022-09-26 17:35:01 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-10-24 19:03:53 +0200 |
| commit | 9047d90e9130e1544e0ef130aeda2913767c7d7c (patch) | |
| tree | 8d35258b22541846931f6075aa26dfa5f92b1610 /drivers/media/v4l2-core/v4l2-ctrls-core.c | |
| parent | 062fa935e44872e2ba8374fcee3aca616a30d0e0 (diff) | |
media: mediatek: vcodec: Skip unsupported h264 encoder profile
The encoder driver supports h264 baseline, main, high encoder
profile. Set mask for V4L2_CID_MPEG_VIDEO_H264_PROFILE to skip
the unsupported profile.
get supported h264_profile by command: v4l2-ctl -d /dev/videoX -L
h264_profile 0x00990a6b (menu) : min=0 max=4 default=4 value=4
0: Baseline
2: Main
4: High
Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Tested-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: Yunfei Dong <yunfei.dong@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-core.c')
0 files changed, 0 insertions, 0 deletions