/frameworks/av/media/codec2/sfplugin/utils/ |
Codec2Mapper.h | 72 static bool map(C2Color::primaries_t, ColorAspects::Primaries*); 73 static bool map(ColorAspects::Primaries, C2Color::primaries_t*);
|
Codec2Mapper.cpp | 110 ALookup<C2Color::primaries_t, ColorAspects::Primaries> sColorPrimariesSf = { 118 // { C2Color::PRIMARIES_RP431, ColorAspects::Primaries... }, 119 // { C2Color::PRIMARIES_EG432, ColorAspects::Primaries... }, 120 // { C2Color::PRIMARIES_EBU3213, ColorAspects::Primaries... }, 742 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { 743 ColorAspects::Primaries sfPrimaries; 748 if (!sColorPrimariesSf.map(primaries, &sfPrimaries)) { 750 if (primaries < C2Color::PRIMARIES_VENDOR_START || primaries > C2Color::PRIMARIES_OTHER) { 755 sfPrimaries = (ColorAspects::Primaries)primaries [all...] |
/external/pdfium/third_party/lcms/src/ |
cmswtpnt.c | 274 // primaries in XYZ. This matrix is next inverted 282 cmsMAT3 Result, Primaries; 297 // Build Primaries matrix 298 _cmsVEC3init(&Primaries.v[0], xr, xg, xb); 299 _cmsVEC3init(&Primaries.v[1], yr, yg, yb); 300 _cmsVEC3init(&Primaries.v[2], (1-xr-yr), (1-xg-yg), (1-xb-yb)); 303 // Result = Primaries ^ (-1) inverse matrix 304 if (!_cmsMAT3inverse(&Primaries, &Result)) 310 // Across inverse primaries ...
|
cmsvirt.c | 99 // This function creates a profile based on White point, primaries and 103 const cmsCIExyYTRIPLE* Primaries, 154 if (WhitePoint && Primaries) { 160 if (!_cmsBuildRGB2XYZtransferMatrix(&MColorants, &MaxWhite, Primaries)) goto Error; 204 if (Primaries) { 205 if (!cmsWriteTag(hICC, cmsSigChromaticityTag, (void*) Primaries)) goto Error; 218 const cmsCIExyYTRIPLE* Primaries, 221 return cmsCreateRGBProfileTHR(NULL, WhitePoint, Primaries, TransferFunction); [all...] |
lcms2_internal.h | [all...] |
/external/libhevc/test/encoder/ |
vid_enc_cfg.txt | 107 --display_primaries_x 0,0,0 /* X-Primaries: comma separated R,G,B values {}[0:50000] */ 108 --display_primaries_y 0,0,0 /* Y-Primaries: comma separated R,G,B values {}[0:50000] */ 132 --colour_primaries 2 /* Colour Primaries {2}[0:255] */
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
ColorUtils.h | 63 but track defined color primaries-matrix coefficient combinations in media. 68 nor using media defined color primaries or matrix coefficients. These may differ per 114 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/libstagefright/foundation/ |
ColorUtils.cpp | 47 ALookup<CU::ColorStandard, std::pair<CA::Primaries, CA::MatrixCoeffs>> sStandards { 80 static bool isValid(ColorAspects::Primaries p) { 84 static bool isDefined(ColorAspects::Primaries p) { 98 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) { 100 if (sStandards.map(std::make_pair(primaries, coeffs), &res)) { 102 } else if (!isValid(primaries) || !isValid(coeffs)) { 108 if (isDefined(primaries) && isDefined(coeffs)) { 109 return kColorStandardExtendedStart + primaries + coeffs * numPrimaries; 111 return kColorStandardVendorStart + primaries + coeffs * 0x100 375 ColorAspects::Primaries primaries; local [all...] |
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
Conversion.h | 369 static_cast<ColorAspects::Primaries>(l.mPrimaries), 384 static_cast<ColorAspects::Primaries>((l >> 16) & 0xFF), 399 (static_cast<uint32_t>(t.primaries) << 16) |
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
Conversion.h | 511 static_cast<ColorAspects::Primaries>(l.mPrimaries), 526 static_cast<ColorAspects::Primaries>((l >> 16) & 0xFF), 541 (static_cast<uint32_t>(t.primaries) << 16) |
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
mkvmuxer.h | 491 enum Primaries { 575 uint64_t primaries() const { return primaries_; } function in class:mkvmuxer::Colour 576 void set_primaries(uint64_t primaries) { primaries_ = primaries; } [all...] |
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
mkvmuxer.h | 491 enum Primaries { 575 uint64_t primaries() const { return primaries_; } function in class:mkvmuxer::Colour 576 void set_primaries(uint64_t primaries) { primaries_ = primaries; } [all...] |
/external/pdfium/third_party/lcms/include/ |
lcms2.h | [all...] |
/frameworks/av/media/libstagefright/ |
Utils.cpp | 82 int32_t primaries = 0; local 86 meta->findInt32(kKeyColorPrimaries, &primaries); 92 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; 1252 int32_t primaries; local [all...] |