Home
last modified time | relevance | path

Searched refs:C2Color (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.h59 static bool map(C2Color::range_t, int32_t*);
60 static bool map(int32_t, C2Color::range_t*);
61 static bool map(C2Color::primaries_t, C2Color::matrix_t, int32_t*);
62 static bool map(int32_t, C2Color::primaries_t*, C2Color::matrix_t*);
63 static bool map(C2Color::transfer_t, int32_t*);
64 static bool map(int32_t, C2Color::transfer_t*);
67 C2Color::range_t, C2Color::primaries_t, C2Color::matrix_t, C2Color::transfer_t,
70 static bool map(C2Color::range_t, ColorAspects::Range*);
71 static bool map(ColorAspects::Range, C2Color::range_t*);
72 static bool map(C2Color::primaries_t, ColorAspects::Primaries*);
[all …]
DCodec2Mapper.cpp99 ALookup<C2Color::matrix_t, ColorAspects::MatrixCoeffs> sColorMatricesSf = {
100 { C2Color::MATRIX_UNSPECIFIED, ColorAspects::MatrixUnspecified },
101 { C2Color::MATRIX_BT709, ColorAspects::MatrixBT709_5 },
102 { C2Color::MATRIX_FCC47_73_682, ColorAspects::MatrixBT470_6M },
103 { C2Color::MATRIX_BT601, ColorAspects::MatrixBT601_6 },
104 { C2Color::MATRIX_240M, ColorAspects::MatrixSMPTE240M },
105 { C2Color::MATRIX_BT2020, ColorAspects::MatrixBT2020 },
106 { C2Color::MATRIX_BT2020_CONSTANT, ColorAspects::MatrixBT2020Constant },
107 { C2Color::MATRIX_OTHER, ColorAspects::MatrixOther },
110 ALookup<C2Color::primaries_t, ColorAspects::Primaries> sColorPrimariesSf = {
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp122 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
127 C2Color::YUV_420); in IntfImpl()
138 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
139 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
142 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
144 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
146 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
148 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
156 0u, C2Color::RANGE_LIMITED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
157 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp128 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
134 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
145 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
146 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
149 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
151 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
153 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
155 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
163 0u, C2Color::RANGE_LIMITED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
164 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp106 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
112 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
123 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
124 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
127 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
129 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
131 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
133 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
141 0u, C2Color::RANGE_LIMITED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
142 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp120 C2Color::YUV_420); in IntfImpl()
125 C2Color::YUV_420); in IntfImpl()
135 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
136 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
139 .inRange(C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
141 .inRange(C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
142 C2Color::PRIMARIES_OTHER), in IntfImpl()
144 .inRange(C2Color::TRANSFER_UNSPECIFIED, in IntfImpl()
145 C2Color::TRANSFER_OTHER), in IntfImpl()
147 .inRange(C2Color::MATRIX_UNSPECIFIED, in IntfImpl()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp126 C2Color::YUV_420); in IntfImpl()
131 C2Color::YUV_420); in IntfImpl()
141 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
142 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
145 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
147 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
149 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
151 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
201 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
202 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp179 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
185 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
196 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
197 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
200 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
202 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
204 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
206 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
253 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
254 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/core/include/
DC2Config.h1316 struct C2Color { struct
1326 C2ENUM(C2Color::subsampling_t, uint32_t, argument
1358 : bitDepth(8), subsampling(C2Color::YUV_420) { } in C2ColorInfoStruct()
1361 C2Color::subsampling_t subsampling;
1365 size_t /* flexCount */, uint32_t bitDepth_, C2Color::subsampling_t subsampling_) in C2ColorInfoStruct()
1369 size_t flexCount, uint32_t bitDepth_, C2Color::subsampling_t subsampling_, in C2ColorInfoStruct()
1399 C2ENUM(C2Color::range_t, uint32_t,
1409 C2ENUM(C2Color::primaries_t, uint32_t,
1426 C2ENUM(C2Color::transfer_t, uint32_t,
1446 C2ENUM(C2Color::matrix_t, uint32_t,
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp404 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
407 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
418 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
421 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
431 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
434 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
444 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
447 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
1172 C2Color::primaries_t primaries; in getSdkFormatForDomain()
1173 C2Color::matrix_t matrix; in getSdkFormatForDomain()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp166 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
172 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()