Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp98 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) { in wrapColorAspectsIntoColorStandard() argument
100 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) { in wrapColorAspectsIntoColorStandard()
102 } else if (!isValid(primaries) || !isValid(coeffs)) { in wrapColorAspectsIntoColorStandard()
108 if (isDefined(primaries) && isDefined(coeffs)) { in wrapColorAspectsIntoColorStandard()
109 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; in wrapColorAspectsIntoColorStandard()
111 return kColorStandardVendorStart + primaries + coeffs * 0x100; in wrapColorAspectsIntoColorStandard()
118 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs) { in unwrapColorAspectsFromColorStandard() argument
122 *coeffs = res.second; in unwrapColorAspectsFromColorStandard()
137 *coeffs = (ColorAspects::MatrixCoeffs)(product / numPrimaries); in unwrapColorAspectsFromColorStandard()
141 *coeffs = ColorAspects::MatrixOther; in unwrapColorAspectsFromColorStandard()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DColorUtils.h114 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs);
125 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs);
135 int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange);
138 int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange,
141 int32_t primaries, int32_t isotransfer, int32_t coeffs, bool fullRange,
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.h132 uint8_t coeffs; member
137 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
140 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftHevcDec.cpp587 vuiColorAspects.coeffs = s_get_vui_params_op.u1_matrix_coefficients; in getVuiParams()
596 vuiColorAspects.primaries, vuiColorAspects.transfer, vuiColorAspects.coeffs, in getVuiParams()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/
Dtest_macros.h101 EXPECT_PRED_FORMAT3(android::dvr::CmpArrayLikeFloatEq<3>, expected.coeffs(), \
102 actual.coeffs(), tol)
105 EXPECT_PRED_FORMAT3(android::dvr::CmpArrayLikeFloatNe<3>, expected.coeffs(), \
106 actual.coeffs(), tol)
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.h172 uint8_t coeffs; member
177 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
180 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftMpeg2Dec.cpp654 vuiColorAspects.coeffs = s_ctl_get_seq_info_op.u1_matrix_coefficients; in getSeqInfo()
663 vuiColorAspects.primaries, vuiColorAspects.transfer, vuiColorAspects.coeffs, in getSeqInfo()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.h173 uint8_t coeffs; member
178 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
181 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftAvcDec.cpp590 vuiColorAspects.coeffs = s_get_vui_params_op.u1_matrix_coeffs; in getVuiParams()
599 vuiColorAspects.primaries, vuiColorAspects.transfer, vuiColorAspects.coeffs, in getVuiParams()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp392 int32_t primaries, transfer, coeffs; in VideoTrackEntry() local
395 aspects, &primaries, &transfer, &coeffs, &fullRange); in VideoTrackEntry()
403 colorInfo.push_back(new WebmUnsigned(kMkvMatrixCoefficients, coeffs)); in VideoTrackEntry()
/frameworks/av/media/img_utils/src/
DDngUtils.cpp373 double coeffs[6] = { in addWarpRectilinearForMetadata() local
385 coeffs); in addWarpRectilinearForMetadata()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp367 int32_t coeffs = s_ctl_get_vui_params_op.u1_matrix_coeffs; in getVUIParams() local
372 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp204 int32_t coeffs = s_ctl_get_vui_params_op.u1_matrix_coefficients; in getVUIParams() local
209 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp490 int32_t coeffs = s_ctl_get_seq_info_op.u1_matrix_coefficients; in getSeqInfo() local
495 primaries, transfer, coeffs, fullRange, colorAspects); in getSeqInfo()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1786 int32_t coeffs = 2; // ISO unspecified in getColorInformation() local
1797 coeffs = color->matrix_coefficients; in getColorInformation()
1811 primaries, isotransfer, coeffs, fullRange, in getColorInformation()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3842 int32_t primaries, transfer, coeffs; in writeColrBox() local
3845 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
3850 mOwner->writeInt16(coeffs); in writeColrBox()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1276 …utGenNV)(GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs) {
1277 CALL_GL_API(glProgramPathFragmentInputGenNV, program, location, genMode, components, coeffs);
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3877 int32_t coeffs = U16_AT(&buffer[8]); in parseColorInfo() local
3884 primaries, isotransfer, coeffs, fullRange, in parseColorInfo()
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3135 …NNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
3212 …putGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
/frameworks/native/opengl/libs/
Dentries.in679 …nputGenNV, GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs)