Home
last modified time | relevance | path

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

/frameworks/native/include/media/hardware/
DVideoAPI.h113 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 …]
DHardwareAPI.h421 ColorAspects sAspects; // IN/OUT
/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp30 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/
DColorUtils.h114 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/
DWebmElement.cpp381 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/
DGraphicBufferSource.h152 void setColorAspects(const ColorAspects &aspects);
340 ColorAspects mColorAspects;
DGraphicBufferSource.cpp515 ColorAspects aspects = mColorAspects; // initially requested aspects in onDataSpaceChanged_l()
1084 void GraphicBufferSource::setColorAspects(const ColorAspects &aspects) { in setColorAspects()
DOMXNodeInstance.cpp1537 ColorAspects aspects; in setInternalOption()
/frameworks/av/media/libstagefright/
DUtils.cpp119 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()
DACodec.cpp3424 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()
DMPEG4Writer.cpp2965 ColorAspects aspects; in writeColrBox()
DMPEG4Extractor.cpp2798 ColorAspects aspects; in parseColorInfo()
/frameworks/av/include/media/stagefright/
DACodec.h427 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1111 ColorAspects aspects; in getColorInformation()
1118 kKeyColorRange, rangeSpecified ? aspects.mRange : ColorAspects::RangeUnspecified); in getColorInformation()