Home
last modified time | relevance | path

Searched refs:aspects (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp231 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects) { in convertPlatformColorAspectsToCodecAspects() argument
232 status_t res1 = unwrapColorAspectsFromColorRange(range, &aspects.mRange); in convertPlatformColorAspectsToCodecAspects()
234 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects()
235 status_t res3 = unwrapColorAspectsFromColorTransfer(transfer, &aspects.mTransfer); in convertPlatformColorAspectsToCodecAspects()
241 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer) { in convertCodecColorAspectsToPlatformAspects() argument
242 *range = wrapColorAspectsIntoColorRange(aspects.mRange); in convertCodecColorAspectsToPlatformAspects()
243 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects()
244 *transfer = wrapColorAspectsIntoColorTransfer(aspects.mTransfer); in convertCodecColorAspectsToPlatformAspects()
245 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects()
246 && isValid(aspects.mMatrixCoeffs) && isValid(aspects.mTransfer)) { in convertCodecColorAspectsToPlatformAspects()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DColorUtils.h126 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);
143 static uint32_t packToU32(const ColorAspects &aspects);
147 ColorAspects &aspects, int32_t width, int32_t height);
152 static android_dataspace getDataSpaceForColorAspects(ColorAspects &aspects, bool mayExpand);
160 ColorAspects &aspects, const ColorAspects &orig, bool usePlatformAspects = false);
170 static void getColorAspectsFromFormat(const sp<AMessage> &format, ColorAspects &aspects);
175 const ColorAspects &aspects, sp<AMessage> &format, bool force = false);
/frameworks/av/media/libstagefright/omx/1.0/
DWGraphicBufferSource.cpp62 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
68 tMsg.data.eventData.data2 = aspects; in dispatchDataSpaceChanged()
75 static_cast<long>(aspects), in dispatchDataSpaceChanged()
229 const ColorAspects& aspects) { in setColorAspects() argument
230 return toStatus(mBase->setColorAspects(toCompactColorAspects(aspects))); in setColorAspects()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp381 ColorAspects aspects; in VideoTrackEntry() local
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()
386 bool havePrimaries = meta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries); in VideoTrackEntry()
387 bool haveTransfer = meta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer); in VideoTrackEntry()
388 bool haveCoeffs = meta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs); in VideoTrackEntry()
389 bool haveRange = meta->findInt32(kKeyColorRange, (int32_t*)&aspects.mRange); in VideoTrackEntry()
394 aspects, &primaries, &transfer, &coeffs, &fullRange); in VideoTrackEntry()
/frameworks/av/media/libstagefright/omx/
DBWGraphicBufferSource.cpp45 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
51 msg.u.event_data.data2 = aspects; in dispatchDataSpaceChanged()
167 int32_t aspects) { in setColorAspects() argument
168 return Status::fromStatusT(mBase->setColorAspects(aspects)); in setColorAspects()
DOmxGraphicBufferSource.cpp49 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument
50 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
DOMXNodeInstance.cpp2089 ColorAspects aspects = requestedAspects; // initially requested aspects in handleDataSpaceChanged() local
2107 aspects = params.sAspects; in handleDataSpaceChanged()
2115 params.sAspects = aspects; in handleDataSpaceChanged()
2125 params.sAspects, aspects)) { in handleDataSpaceChanged()
2135 aspects.mRange, asString(aspects.mRange), in handleDataSpaceChanged()
2136 aspects.mPrimaries, asString(aspects.mPrimaries), in handleDataSpaceChanged()
2137 aspects.mMatrixCoeffs, asString(aspects.mMatrixCoeffs), in handleDataSpaceChanged()
2138 aspects.mTransfer, asString(aspects.mTransfer), in handleDataSpaceChanged()
2147 msg.u.event_data.data2 = (OMX_U32) ColorUtils::packToU32(aspects); in handleDataSpaceChanged()
/frameworks/av/media/libmedia/omx/1.0/
DWGraphicBufferSource.cpp79 int32_t aspects) { in setColorAspects() argument
81 toHardwareColorAspects(aspects))); in setColorAspects()
/frameworks/av/media/libmedia/aidl/android/
DIGraphicBufferSource.aidl35 void setColorAspects(int aspects); in setColorAspects() argument
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DIOmxNodeWrapper.h34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
DBWGraphicBufferSource.h57 Status setColorAspects(int32_t aspects) override;
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DComponentWrapper.h34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWGraphicBufferSource.h78 BnStatus setColorAspects(int32_t aspects) override;
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWGraphicBufferSource.h85 Return<Status> setColorAspects(const ColorAspects& aspects) override;
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1281 ColorAspects aspects; in getColorInformation() local
1283 primaries, transfer, coeffs, fullRange, aspects); in getColorInformation()
1284 meta.setInt32(kKeyColorPrimaries, aspects.mPrimaries); in getColorInformation()
1285 meta.setInt32(kKeyTransferFunction, aspects.mTransfer); in getColorInformation()
1286 meta.setInt32(kKeyColorMatrix, aspects.mMatrixCoeffs); in getColorInformation()
1288 kKeyColorRange, rangeSpecified ? aspects.mRange : ColorAspects::RangeUnspecified); in getColorInformation()
/frameworks/av/media/libstagefright/
DACodec.cpp3648 ColorAspects &aspects = params.sAspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() local
3651 getColorAspectsFromFormat(mConfigFormat, aspects); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3654 setDefaultCodecColorAspectsIfNeeded(aspects, width, height); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3656 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3657 setColorAspectsIntoFormat(aspects, mOutputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3660 ColorAspects origAspects = aspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3664 if (err != OK || !ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3672 aspects = origAspects; // restore desired color aspects in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
3680 "android._color-aspects", ABuffer::CreateAsCopy(&aspects, sizeof(aspects))); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace()
5324 void ACodec::onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects) { in onDataSpaceChanged() argument
[all …]
DMPEG4Writer.cpp3733 ColorAspects aspects; in writeColrBox() local
3734 memset(&aspects, 0, sizeof(aspects)); in writeColrBox()
3736 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox()
3737 | mMeta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer) in writeColrBox()
3738 | mMeta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs) in writeColrBox()
3739 | mMeta->findInt32(kKeyColorRange, (int32_t*)&aspects.mRange)) { in writeColrBox()
3743 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h424 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3159 ColorAspects aspects; in parseColorInfo() local
3161 primaries, transfer, coeffs, fullRange, aspects); in parseColorInfo()
3165 mLastTrack->meta.setInt32(kKeyColorPrimaries, aspects.mPrimaries); in parseColorInfo()
3166 mLastTrack->meta.setInt32(kKeyTransferFunction, aspects.mTransfer); in parseColorInfo()
3167 mLastTrack->meta.setInt32(kKeyColorMatrix, aspects.mMatrixCoeffs); in parseColorInfo()
3168 mLastTrack->meta.setInt32(kKeyColorRange, aspects.mRange); in parseColorInfo()
/frameworks/native/docs/
DDoxyfile965 # certain style aspects. This is preferred over using HTML_STYLESHEET
/frameworks/av/media/libaaudio/
DDoxyfile1073 # created by doxygen. Using this option one can overrule certain style aspects.
DDoxyfile.orig1064 # created by doxygen. Using this option one can overrule certain style aspects.
/frameworks/native/vulkan/api/
Dvulkan.api2325 /// Bitfield of image aspects