Home
last modified time | relevance | path

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

/hardware/google/av/media/sfplugin/utils/
DCodec2Mapper.h56 static bool map(C2Color::range_t, int32_t*);
57 static bool map(int32_t, C2Color::range_t*);
58 static bool map(C2Color::primaries_t, C2Color::matrix_t, int32_t*);
59 static bool map(int32_t, C2Color::primaries_t*, C2Color::matrix_t*);
60 static bool map(C2Color::transfer_t, int32_t*);
61 static bool map(int32_t, C2Color::transfer_t*);
64 C2Color::range_t, C2Color::primaries_t, C2Color::matrix_t, C2Color::transfer_t,
67 static bool map(C2Color::range_t, ColorAspects::Range*);
68 static bool map(ColorAspects::Range, C2Color::range_t*);
69 static bool map(C2Color::primaries_t, ColorAspects::Primaries*);
[all …]
DCodec2Mapper.cpp97 ALookup<C2Color::matrix_t, ColorAspects::MatrixCoeffs> sColorMatricesSf = {
98 { C2Color::MATRIX_UNSPECIFIED, ColorAspects::MatrixUnspecified },
99 { C2Color::MATRIX_BT709, ColorAspects::MatrixBT709_5 },
100 { C2Color::MATRIX_FCC47_73_682, ColorAspects::MatrixBT470_6M },
101 { C2Color::MATRIX_BT601, ColorAspects::MatrixBT601_6 },
102 { C2Color::MATRIX_SMPTE240M, ColorAspects::MatrixSMPTE240M },
103 { C2Color::MATRIX_BT2020, ColorAspects::MatrixBT2020 },
104 { C2Color::MATRIX_BT2020_CONSTANT, ColorAspects::MatrixBT2020Constant },
105 { C2Color::MATRIX_OTHER, ColorAspects::MatrixOther },
108 ALookup<C2Color::primaries_t, ColorAspects::Primaries> sColorPrimariesSf = {
[all …]
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp115 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
120 C2Color::YUV_420); in IntfImpl()
131 0u, C2Color::RANGE_UNSPECIFIED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
132 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
135 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
137 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
139 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
141 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
149 0u, C2Color::RANGE_LIMITED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
150 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
[all …]
/hardware/google/av/media/codecs/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 …]
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp118 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
124 0u, 8u /* bitDepth */, 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 C2Color::RANGE_UNSPECIFIED, C2Color::RANGE_OTHER), in IntfImpl()
141 C2Color::PRIMARIES_UNSPECIFIED, C2Color::PRIMARIES_OTHER), in IntfImpl()
143 C2Color::TRANSFER_UNSPECIFIED, C2Color::TRANSFER_OTHER), in IntfImpl()
145 C2Color::MATRIX_UNSPECIFIED, C2Color::MATRIX_OTHER) in IntfImpl()
153 0u, C2Color::RANGE_LIMITED, C2Color::PRIMARIES_UNSPECIFIED, in IntfImpl()
154 C2Color::TRANSFER_UNSPECIFIED, C2Color::MATRIX_UNSPECIFIED)) in IntfImpl()
[all …]
/hardware/google/av/codec2/include/
DC2Config.h1332 struct C2Color { struct
1342 C2ENUM(C2Color::subsampling_t, uint32_t, argument
1374 : bitDepth(8), subsampling(C2Color::YUV_420) { } in C2ColorInfoStruct()
1377 C2Color::subsampling_t subsampling;
1381 size_t /* flexCount */, uint32_t bitDepth_, C2Color::subsampling_t subsampling_) in C2ColorInfoStruct()
1385 size_t flexCount, uint32_t bitDepth_, C2Color::subsampling_t subsampling_, in C2ColorInfoStruct()
1415 C2ENUM(C2Color::range_t, uint32_t,
1425 C2ENUM(C2Color::primaries_t, uint32_t,
1442 C2ENUM(C2Color::transfer_t, uint32_t,
1462 C2ENUM(C2Color::matrix_t, uint32_t,
[all …]
/hardware/google/av/media/sfplugin/
DCCodecConfig.cpp407 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
410 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
421 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
424 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
434 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
437 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
447 .withC2Mappers<C2Color::range_t>()); in initializeStandardParams()
450 .withC2Mappers<C2Color::transfer_t>()); in initializeStandardParams()
1144 C2Color::primaries_t primaries; in getSdkFormatForDomain()
1145 C2Color::matrix_t matrix; in getSdkFormatForDomain()
[all …]
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp177 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
183 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp162 1u, 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()
168 0u, 8u /* bitDepth */, C2Color::YUV_420); in IntfImpl()