Searched refs:ColorAspects (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/include/media/hardware/ |
D | VideoAPI.h | 113 struct __attribute__ ((__packed__)) ColorAspects { struct 185 static_assert(sizeof(ColorAspects) == 16, "wrong struct size"); argument 266 inline static const char *asString(ColorAspects::Range i, const char *def = "??") { 268 case ColorAspects::RangeUnspecified: return "Unspecified"; 269 case ColorAspects::RangeFull: return "Full"; 270 case ColorAspects::RangeLimited: return "Limited"; 271 case ColorAspects::RangeOther: return "Other"; 276 inline static const char *asString(ColorAspects::Primaries i, const char *def = "??") { 278 case ColorAspects::PrimariesUnspecified: return "Unspecified"; 279 case ColorAspects::PrimariesBT709_5: return "BT709_5"; [all …]
|
D | HardwareAPI.h | 421 ColorAspects sAspects; // IN/OUT
|
/frameworks/av/media/libstagefright/foundation/ |
D | ColorUtils.cpp | 30 typedef ColorAspects CA; 79 static bool isValid(ColorAspects::Primaries p) { in isValid() 80 return p <= ColorAspects::PrimariesOther; in isValid() 83 static bool isDefined(ColorAspects::Primaries p) { in isDefined() 84 return p <= ColorAspects::PrimariesBT2020; in isDefined() 87 static bool isValid(ColorAspects::MatrixCoeffs c) { in isValid() 88 return c <= ColorAspects::MatrixOther; in isValid() 91 static bool isDefined(ColorAspects::MatrixCoeffs c) { in isDefined() 92 return c <= ColorAspects::MatrixBT2020Constant; in isDefined() 97 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs) { in wrapColorAspectsIntoColorStandard() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ColorUtils.h | 114 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs); 115 static int32_t wrapColorAspectsIntoColorRange(ColorAspects::Range range); 116 static int32_t wrapColorAspectsIntoColorTransfer(ColorAspects::Transfer transfer); 120 int32_t range, ColorAspects::Range *aspect); 122 int32_t transfer, ColorAspects::Transfer *aspect); 125 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs); 128 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects); 130 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer); 134 const ColorAspects &aspects, 139 ColorAspects &aspects); [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 381 ColorAspects aspects; in VideoTrackEntry() 382 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in VideoTrackEntry() 383 aspects.mTransfer = ColorAspects::TransferUnspecified; in VideoTrackEntry() 384 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in VideoTrackEntry() 385 aspects.mRange = ColorAspects::RangeUnspecified; in VideoTrackEntry()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 152 void setColorAspects(const ColorAspects &aspects); 340 ColorAspects mColorAspects;
|
D | GraphicBufferSource.cpp | 515 ColorAspects aspects = mColorAspects; // initially requested aspects in onDataSpaceChanged_l() 1084 void GraphicBufferSource::setColorAspects(const ColorAspects &aspects) { in setColorAspects()
|
D | OMXNodeInstance.cpp | 1537 ColorAspects aspects; in setInternalOption()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 119 ColorAspects colorAspects; in convertMetaDataToMessageColorAspects() 121 colorAspects.mRange = (ColorAspects::Range)range; in convertMetaDataToMessageColorAspects() 122 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects() 123 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects() 124 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects() 1226 ColorAspects colorAspects; in convertMessageToMetaDataColorAspects()
|
D | ACodec.cpp | 3424 ColorAspects origAspects = params.sAspects; in setColorAspectsForVideoEncoder() 3463 ColorAspects &aspects = params.sAspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3475 ColorAspects origAspects = aspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 5141 void ACodec::onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects) { in onDataSpaceChanged() 5559 ColorAspects aspects; in onOMXEvent() 5560 aspects.mRange = (ColorAspects::Range)((data2 >> 24) & 0xFF); in onOMXEvent() 5561 aspects.mPrimaries = (ColorAspects::Primaries)((data2 >> 16) & 0xFF); in onOMXEvent() 5562 aspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)((data2 >> 8) & 0xFF); in onOMXEvent() 5563 aspects.mTransfer = (ColorAspects::Transfer)(data2 & 0xFF); in onOMXEvent()
|
D | MPEG4Writer.cpp | 2965 ColorAspects aspects; in writeColrBox()
|
D | MPEG4Extractor.cpp | 2798 ColorAspects aspects; in parseColorInfo()
|
/frameworks/av/include/media/stagefright/ |
D | ACodec.h | 427 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 1111 ColorAspects aspects; in getColorInformation() 1118 kKeyColorRange, rangeSpecified ? aspects.mRange : ColorAspects::RangeUnspecified); in getColorInformation()
|