/frameworks/native/headers/media_plugin/media/hardware/ |
D | VideoAPI.h | 113 struct __attribute__ ((__packed__, aligned(alignof(uint32_t)))) 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 | 423 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/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ColorUtils.h | 112 ColorAspects::Primaries primaries, ColorAspects::MatrixCoeffs coeffs); 113 static int32_t wrapColorAspectsIntoColorRange(ColorAspects::Range range); 114 static int32_t wrapColorAspectsIntoColorTransfer(ColorAspects::Transfer transfer); 118 int32_t range, ColorAspects::Range *aspect); 120 int32_t transfer, ColorAspects::Transfer *aspect); 123 ColorAspects::Primaries *primaries, ColorAspects::MatrixCoeffs *coeffs); 126 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects); 128 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer); 132 const ColorAspects &aspects, 137 ColorAspects &aspects); [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftVideoDecoderOMXComponent.h | 150 ColorAspects mDefaultColorAspects; 152 ColorAspects mBitstreamColorAspects; 154 ColorAspects mFinalColorAspects; 156 bool colorAspectsDiffer(const ColorAspects &a, const ColorAspects &b); 161 const ColorAspects &otherAspects, const ColorAspects &preferredAspects); 167 void dumpColorAspects(const ColorAspects &colorAspects);
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 75 using ::android::hardware::media::omx::V1_0::ColorAspects; 424 inline ColorAspects toHardwareColorAspects(::android::ColorAspects const& l) { in toHardwareColorAspects() 425 return ColorAspects{ in toHardwareColorAspects() 426 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects() 427 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects() 428 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects() 429 static_cast<ColorAspects::MatrixCoeffs>(l.mMatrixCoeffs)}; in toHardwareColorAspects() 439 inline ColorAspects toHardwareColorAspects(int32_t l) { in toHardwareColorAspects() 440 return ColorAspects{ in toHardwareColorAspects() 441 static_cast<ColorAspects::Range>((l >> 24) & 0xFF), in toHardwareColorAspects() [all …]
|
D | WGraphicBufferSource.h | 42 using ::android::hardware::media::omx::V1_0::ColorAspects; 85 Return<Status> setColorAspects(const ColorAspects& aspects) override;
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoDecoderOMXComponent.cpp | 75 memset(&mDefaultColorAspects, 0, sizeof(ColorAspects)); in SoftVideoDecoderOMXComponent() 76 memset(&mBitstreamColorAspects, 0, sizeof(ColorAspects)); in SoftVideoDecoderOMXComponent() 77 memset(&mFinalColorAspects, 0, sizeof(ColorAspects)); in SoftVideoDecoderOMXComponent() 262 void SoftVideoDecoderOMXComponent::dumpColorAspects(const ColorAspects &colorAspects) { in dumpColorAspects() 271 const ColorAspects &a, const ColorAspects &b) { in colorAspectsDiffer() 282 const ColorAspects &otherAspects, const ColorAspects &preferredAspects) { in updateFinalColorAspects() 284 ColorAspects newAspects; in updateFinalColorAspects() 285 newAspects.mRange = preferredAspects.mRange != ColorAspects::RangeUnspecified ? in updateFinalColorAspects() 287 newAspects.mPrimaries = preferredAspects.mPrimaries != ColorAspects::PrimariesUnspecified ? in updateFinalColorAspects() 289 newAspects.mTransfer = preferredAspects.mTransfer != ColorAspects::TransferUnspecified ? in updateFinalColorAspects() [all …]
|
D | OMXNodeInstance.cpp | 2088 ColorAspects requestedAspects = ColorUtils::unpackToColorAspects(msg.u.event_data.data2); in handleDataSpaceChanged() 2089 ColorAspects aspects = requestedAspects; // initially requested aspects in handleDataSpaceChanged()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 72 using ::android::hardware::media::omx::V1_0::ColorAspects; 503 inline ColorAspects toHardwareColorAspects(::android::ColorAspects const& l) { in toHardwareColorAspects() 504 return ColorAspects{ in toHardwareColorAspects() 505 static_cast<ColorAspects::Range>(l.mRange), in toHardwareColorAspects() 506 static_cast<ColorAspects::Primaries>(l.mPrimaries), in toHardwareColorAspects() 507 static_cast<ColorAspects::Transfer>(l.mTransfer), in toHardwareColorAspects() 508 static_cast<ColorAspects::MatrixCoeffs>(l.mMatrixCoeffs)}; in toHardwareColorAspects() 518 inline ColorAspects toHardwareColorAspects(int32_t l) { in toHardwareColorAspects() 519 return ColorAspects{ in toHardwareColorAspects() 520 static_cast<ColorAspects::Range>((l >> 24) & 0xFF), in toHardwareColorAspects() [all …]
|
D | WGraphicBufferSource.h | 40 using ::android::hardware::media::omx::V1_0::ColorAspects;
|
/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/1.0/ |
D | WGraphicBufferSource.cpp | 229 const ColorAspects& aspects) { in setColorAspects()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 87 ColorAspects colorAspects; in convertMetaDataToMessageColorAspects() 89 colorAspects.mRange = (ColorAspects::Range)range; in convertMetaDataToMessageColorAspects() 90 colorAspects.mPrimaries = (ColorAspects::Primaries)primaries; in convertMetaDataToMessageColorAspects() 91 colorAspects.mTransfer = (ColorAspects::Transfer)transferFunction; in convertMetaDataToMessageColorAspects() 92 colorAspects.mMatrixCoeffs = (ColorAspects::MatrixCoeffs)colorMatrix; in convertMetaDataToMessageColorAspects() 1265 ColorAspects colorAspects; in convertMessageToMetaDataColorAspects()
|
D | ACodec.cpp | 3609 ColorAspects origAspects = params.sAspects; in setColorAspectsForVideoEncoder() 3648 ColorAspects &aspects = params.sAspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3660 ColorAspects origAspects = aspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 5324 void ACodec::onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects) { in onDataSpaceChanged() 5697 ColorAspects aspects = ColorUtils::unpackToColorAspects(data2); in onOMXEvent() 6755 if (colorAspectsBuffer->size() != sizeof(ColorAspects)) { in setupInputSurface() 6761 *(ColorAspects *)colorAspectsBuffer->base()))); in setupInputSurface()
|
D | MPEG4Writer.cpp | 3733 ColorAspects aspects; in writeColrBox()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ACodec.h | 424 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
D | SoftHEVC.cpp | 207 ColorAspects colorAspects; in getVUIParams()
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
D | SoftAVCDec.cpp | 370 ColorAspects colorAspects; in getVUIParams()
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.cpp | 493 ColorAspects colorAspects; in getSeqInfo()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1281 ColorAspects aspects; in getColorInformation() 1288 kKeyColorRange, rangeSpecified ? aspects.mRange : ColorAspects::RangeUnspecified); in getColorInformation()
|
/frameworks/av/media/libstagefright/bqhelper/ |
D | GraphicBufferSource.cpp | 1307 ColorAspects colorAspects = ColorUtils::unpackToColorAspects(aspectsPacked); in setColorAspects()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 3159 ColorAspects aspects; in parseColorInfo()
|