/frameworks/av/media/libstagefright/foundation/ |
D | ColorUtils.cpp | 232 int32_t range, int32_t standard, int32_t transfer, ColorAspects &aspects) { in convertPlatformColorAspectsToCodecAspects() argument 233 status_t res1 = unwrapColorAspectsFromColorRange(range, &aspects.mRange); in convertPlatformColorAspectsToCodecAspects() 235 standard, &aspects.mPrimaries, &aspects.mMatrixCoeffs); in convertPlatformColorAspectsToCodecAspects() 236 status_t res3 = unwrapColorAspectsFromColorTransfer(transfer, &aspects.mTransfer); in convertPlatformColorAspectsToCodecAspects() 242 const ColorAspects &aspects, int32_t *range, int32_t *standard, int32_t *transfer) { in convertCodecColorAspectsToPlatformAspects() argument 243 *range = wrapColorAspectsIntoColorRange(aspects.mRange); in convertCodecColorAspectsToPlatformAspects() 244 *standard = wrapColorAspectsIntoColorStandard(aspects.mPrimaries, aspects.mMatrixCoeffs); in convertCodecColorAspectsToPlatformAspects() 245 *transfer = wrapColorAspectsIntoColorTransfer(aspects.mTransfer); in convertCodecColorAspectsToPlatformAspects() 246 if (isValid(aspects.mRange) && isValid(aspects.mPrimaries) in convertCodecColorAspectsToPlatformAspects() 247 && isValid(aspects.mMatrixCoeffs) && isValid(aspects.mTransfer)) { in convertCodecColorAspectsToPlatformAspects() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ColorUtils.h | 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); 148 static uint32_t packToU32(const ColorAspects &aspects); 152 ColorAspects &aspects, int32_t width, int32_t height); 157 static android_dataspace getDataSpaceForColorAspects(ColorAspects &aspects, bool mayExpand); 165 ColorAspects &aspects, const ColorAspects &orig, bool usePlatformAspects = false); 175 static void getColorAspectsFromFormat(const sp<AMessage> &format, ColorAspects &aspects); 180 const ColorAspects &aspects, sp<AMessage> &format, bool force = false);
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WGraphicBufferSource.cpp | 67 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 73 tMsg.data.eventData.data2 = aspects; in dispatchDataSpaceChanged() 80 static_cast<long>(aspects), in dispatchDataSpaceChanged() 234 const ColorAspects& aspects) { in setColorAspects() argument 235 return toStatus(mBase->setColorAspects(toCompactColorAspects(aspects))); in setColorAspects()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 73 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 79 msg.u.event_data.data2 = aspects; in dispatchDataSpaceChanged() 129 int32_t aspects) { in setColorAspects() argument 130 return BnStatus::fromStatusT(mBase->setColorAspects(aspects)); in setColorAspects()
|
D | Omx2IGraphicBufferSource.h | 39 BnStatus setColorAspects(int32_t aspects) override;
|
D | CCodecConfig.cpp | 1323 ColorAspects aspects = { in getFormatForDomain() local 1327 ColorUtils::getColorAspectsFromFormat(msg, aspects); in getFormatForDomain() 1328 ColorAspects origAspects = aspects; in getFormatForDomain() 1341 ColorUtils::setDefaultCodecColorAspectsIfNeeded(aspects, width, height); in getFormatForDomain() 1342 ColorUtils::setColorAspectsIntoFormat(aspects, msg); in getFormatForDomain() 1346 || aspects.mRange != origAspects.mRange in getFormatForDomain() 1347 || aspects.mPrimaries != origAspects.mPrimaries in getFormatForDomain() 1348 || aspects.mTransfer != origAspects.mTransfer in getFormatForDomain() 1349 || aspects.mMatrixCoeffs != origAspects.mMatrixCoeffs) { in getFormatForDomain() 1350 dataspace = ColorUtils::getDataSpaceForColorAspects(aspects, true /* mayExpand */); in getFormatForDomain()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 382 ColorAspects aspects; in VideoTrackEntry() local 383 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in VideoTrackEntry() 384 aspects.mTransfer = ColorAspects::TransferUnspecified; in VideoTrackEntry() 385 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in VideoTrackEntry() 386 aspects.mRange = ColorAspects::RangeUnspecified; in VideoTrackEntry() 387 bool havePrimaries = meta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries); in VideoTrackEntry() 388 bool haveTransfer = meta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer); in VideoTrackEntry() 389 bool haveCoeffs = meta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs); in VideoTrackEntry() 390 bool haveRange = meta->findInt32(kKeyColorRange, (int32_t*)&aspects.mRange); in VideoTrackEntry() 395 aspects, &primaries, &transfer, &coeffs, &fullRange); in VideoTrackEntry()
|
/frameworks/av/media/libstagefright/omx/ |
D | OmxGraphicBufferSource.cpp | 55 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() argument 56 mOmxNode->dispatchDataSpaceChanged(dataSpace, aspects, pixelFormat); in dispatchDataSpaceChanged()
|
D | OMXNodeInstance.cpp | 2238 ColorAspects aspects = requestedAspects; // initially requested aspects in handleDataSpaceChanged() local 2256 aspects = params.sAspects; in handleDataSpaceChanged() 2264 params.sAspects = aspects; in handleDataSpaceChanged() 2274 params.sAspects, aspects)) { in handleDataSpaceChanged() 2284 aspects.mRange, asString(aspects.mRange), in handleDataSpaceChanged() 2285 aspects.mPrimaries, asString(aspects.mPrimaries), in handleDataSpaceChanged() 2286 aspects.mMatrixCoeffs, asString(aspects.mMatrixCoeffs), in handleDataSpaceChanged() 2287 aspects.mTransfer, asString(aspects.mTransfer), in handleDataSpaceChanged() 2296 msg.u.event_data.data2 = (OMX_U32) ColorUtils::packToU32(aspects); in handleDataSpaceChanged()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WGraphicBufferSource.cpp | 79 int32_t aspects) { in setColorAspects() argument 81 toHardwareColorAspects(aspects))); in setColorAspects()
|
/frameworks/av/media/libmedia/aidl/android/ |
D | IGraphicBufferSource.aidl | 35 void setColorAspects(int aspects); in setColorAspects() argument
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | IOmxNodeWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
D | ComponentWrapper.h | 34 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) = 0;
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 925 ColorAspects aspects; in map() local 926 if (!sColorRangesSf.map(range, &aspects.mRange)) { in map() 927 aspects.mRange = ColorAspects::RangeUnspecified; in map() 929 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map() 930 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in map() 932 if (!sColorMatricesSf.map(matrix, &aspects.mMatrixCoeffs)) { in map() 933 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in map() 935 if (!sColorTransfersSf.map(transfer, &aspects.mTransfer)) { in map() 936 aspects.mTransfer = ColorAspects::TransferUnspecified; in map() 938 *dataSpace = ColorUtils::getDataSpaceForColorAspects(aspects, true /* mayExpand */); in map()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | WGraphicBufferSource.h | 78 BnStatus setColorAspects(int32_t aspects) override;
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | WGraphicBufferSource.h | 81 Return<Status> setColorAspects(const ColorAspects& aspects) override;
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1304 ColorAspects aspects; in convertMetaDataToMessage() local 1306 isoPrimaries, isoTransfer, isoMatrix, isoRange, aspects); in convertMetaDataToMessage() 1308 if (aspects.mPrimaries == ColorAspects::PrimariesUnspecified) { in convertMetaDataToMessage() 1312 aspects.mPrimaries = static_cast<ColorAspects::Primaries>(primaries); in convertMetaDataToMessage() 1315 if (aspects.mTransfer == ColorAspects::TransferUnspecified) { in convertMetaDataToMessage() 1319 aspects.mTransfer = static_cast<ColorAspects::Transfer>(transferFunction); in convertMetaDataToMessage() 1322 if (aspects.mMatrixCoeffs == ColorAspects::MatrixUnspecified) { in convertMetaDataToMessage() 1326 aspects.mMatrixCoeffs = static_cast<ColorAspects::MatrixCoeffs>(colorMatrix); in convertMetaDataToMessage() 1329 if (aspects.mRange == ColorAspects::RangeUnspecified) { in convertMetaDataToMessage() 1333 aspects.mRange = static_cast<ColorAspects::Range>(range); in convertMetaDataToMessage() [all …]
|
D | ACodec.cpp | 3789 ColorAspects &aspects = params.sAspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() local 3792 getColorAspectsFromFormat(mConfigFormat, aspects); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3795 setDefaultCodecColorAspectsIfNeeded(aspects, width, height); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3797 setColorAspectsIntoFormat(aspects, mInputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3798 setColorAspectsIntoFormat(aspects, mOutputFormat); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3801 ColorAspects origAspects = aspects; in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3805 if (err != OK || !ColorUtils::checkIfAspectsChangedAndUnspecifyThem(aspects, origAspects)) { in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3813 aspects = origAspects; // restore desired color aspects in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 3821 "android._color-aspects", ABuffer::CreateAsCopy(&aspects, sizeof(aspects))); in setInitialColorAspectsForVideoEncoderSurfaceAndGetDataSpace() 5586 void ACodec::onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects) { in onDataSpaceChanged() argument [all …]
|
D | MPEG4Writer.cpp | 4218 ColorAspects aspects; in writeColrBox() local 4219 memset(&aspects, 0, sizeof(aspects)); in writeColrBox() 4221 if (mMeta->findInt32(kKeyColorPrimaries, (int32_t*)&aspects.mPrimaries) in writeColrBox() 4222 | mMeta->findInt32(kKeyTransferFunction, (int32_t*)&aspects.mTransfer) in writeColrBox() 4223 | mMeta->findInt32(kKeyColorMatrix, (int32_t*)&aspects.mMatrixCoeffs) in writeColrBox() 4224 | mMeta->findInt32(kKeyColorRange, (int32_t*)&aspects.mRange)) { in writeColrBox() 4228 aspects, &primaries, &transfer, &coeffs, &fullRange); in writeColrBox()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 255 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged() 258 (void)aspects; in dispatchDataSpaceChanged()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ACodec.h | 438 void onDataSpaceChanged(android_dataspace dataSpace, const ColorAspects &aspects);
|
/frameworks/av/media/codec2/docs/ |
D | doxygen.config | 1136 # created by doxygen. Using this option one can overrule certain style aspects. 1705 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
|
/frameworks/base/media/native/midi/include/ |
D | Doxyfile | 1186 # created by doxygen. Using this option one can overrule certain style aspects. 1755 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
|
D | Doxyfile.orig | 1186 # created by doxygen. Using this option one can overrule certain style aspects. 1755 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
|
/frameworks/native/docs/ |
D | Doxyfile | 965 # certain style aspects. This is preferred over using HTML_STYLESHEET
|