Skip to content
Snippets Groups Projects
Commit cbe32788 authored by Mattijs Korpershoek's avatar Mattijs Korpershoek
Browse files

HACK: TI: v4l2_codec2: decoder: default to NV12 output


The AM62P gralloc implementation defaults to NV12 when the
YCBCR_420_888 format is requested.
This is a requirement for using libcamera.

Make sure we configure the video decoder to use the
same pixel format.

Signed-off-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
parent b2185541
No related branches found
No related tags found
1 merge request!2TI: add support for wave5 video decoding
...@@ -30,7 +30,6 @@ constexpr size_t kNumExtraOutputBuffers = 4; ...@@ -30,7 +30,6 @@ constexpr size_t kNumExtraOutputBuffers = 4;
// Currently we only support flexible pixel 420 format YCBCR_420_888 in Android. // Currently we only support flexible pixel 420 format YCBCR_420_888 in Android.
// Here is the list of flexible 420 format. // Here is the list of flexible 420 format.
constexpr std::initializer_list<uint32_t> kSupportedOutputFourccs = { constexpr std::initializer_list<uint32_t> kSupportedOutputFourccs = {
Fourcc::YU12, Fourcc::YV12, Fourcc::YM12, Fourcc::YM21,
Fourcc::NV12, Fourcc::NV21, Fourcc::NM12, Fourcc::NM21, Fourcc::NV12, Fourcc::NV21, Fourcc::NM12, Fourcc::NM21,
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment