Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 13 of 13) 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/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,
/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.cpp320 const double coeffs[] = { c_0 * kCoeffs[0], in addWarpRectilinearForMetadata() local
331 coeffs); in addWarpRectilinearForMetadata()
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp211 int32_t coeffs = s_ctl_get_vui_params_op.u1_matrix_coefficients; in getVUIParams() local
216 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp411 int32_t coeffs = s_ctl_get_vui_params_op.u1_matrix_coeffs; in getVUIParams() local
416 primaries, transfer, coeffs, fullRange, colorAspects); in getVUIParams()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp488 int32_t coeffs = s_ctl_get_seq_info_op.u1_matrix_coefficients; in getSeqInfo() local
493 primaries, transfer, coeffs, fullRange, colorAspects); in getSeqInfo()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1090 int32_t coeffs = 2; // ISO unspecified in getColorInformation() local
1101 coeffs = color->matrix_coefficients; in getColorInformation()
1113 primaries, transfer, coeffs, fullRange, aspects); in getColorInformation()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3079 int32_t primaries, transfer, coeffs; in writeColrBox() local
3082 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
3087 mOwner->writeInt16(coeffs); in writeColrBox()
DMPEG4Extractor.cpp2912 int32_t coeffs = U16_AT(&buffer[8]); in parseColorInfo() local
2917 primaries, transfer, coeffs, fullRange, aspects); in parseColorInfo()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in979 …utGenNV)(GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs) {
980 CALL_GL_API(glProgramPathFragmentInputGenNV, program, location, genMode, components, coeffs);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2571 …NNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
2629 …putGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
/frameworks/native/opengl/libs/
Dentries.in616 …nputGenNV, GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs)