Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp97 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) { in wrapColorAspectsIntoColorStandard() argument
99 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) { in wrapColorAspectsIntoColorStandard()
101 } else if (!isValid(primaries) || !isValid(coeffs)) { in wrapColorAspectsIntoColorStandard()
107 if (isDefined(primaries) && isDefined(coeffs)) { in wrapColorAspectsIntoColorStandard()
108 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; in wrapColorAspectsIntoColorStandard()
110 return kColorStandardVendorStart + primaries + coeffs * 0x100; in wrapColorAspectsIntoColorStandard()
117 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs) { in unwrapColorAspectsFromColorStandard() argument
121 *coeffs = res.second; in unwrapColorAspectsFromColorStandard()
136 *coeffs = (ColorAspects::MatrixCoeffs)(product / numPrimaries); in unwrapColorAspectsFromColorStandard()
140 *coeffs = ColorAspects::MatrixOther; in unwrapColorAspectsFromColorStandard()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DColorUtils.h112 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs);
123 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs);
133 int32_t *primaries, int32_t *transfer, int32_t *coeffs, bool *fullRange);
136 int32_t primaries, int32_t transfer, int32_t coeffs, bool fullRange,
/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/libstagefright/webm/
DWebmElement.cpp391 int32_t primaries, transfer, coeffs; in VideoTrackEntry() local
394 aspects, &primaries, &transfer, &coeffs, &fullRange); in VideoTrackEntry()
402 colorInfo.push_back(new WebmUnsigned(kMkvMatrixCoefficients, coeffs)); in VideoTrackEntry()
/frameworks/av/media/img_utils/src/
DDngUtils.cpp305 double coeffs[6] = { in addWarpRectilinearForMetadata() local
317 coeffs); in addWarpRectilinearForMetadata()
/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/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/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.cpp1260 int32_t coeffs = 2; // ISO unspecified in getColorInformation() local
1271 coeffs = color->matrix_coefficients; in getColorInformation()
1283 primaries, transfer, coeffs, fullRange, aspects); in getColorInformation()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3740 int32_t primaries, transfer, coeffs; in writeColrBox() local
3743 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
3748 mOwner->writeInt16(coeffs); in writeColrBox()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3156 int32_t coeffs = U16_AT(&buffer[8]); in parseColorInfo() local
3161 primaries, transfer, coeffs, fullRange, aspects); in parseColorInfo()
/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/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)