/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 404 struct ProfileLevelMapperHelper : C2Mapper::ProfileLevelMapper { 635 std::shared_ptr<C2Mapper::ProfileLevelMapper> 636 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper() 663 std::shared_ptr<C2Mapper::ProfileLevelMapper> 664 C2Mapper::GetHdrProfileLevelMapper(std::string mediaType, bool isHdr10Plus) { in GetHdrProfileLevelMapper() 677 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() 682 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() 687 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map() 692 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map() 697 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map() [all …]
|
D | Codec2Mapper.h | 31 struct C2Mapper { struct
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 75 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in addSupportedProfileLevels() 76 C2Mapper::GetProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 156 auto hdrMapper = C2Mapper::GetHdrProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 161 hdrMapper = C2Mapper::GetHdrProfileLevelMapper( in addSupportedProfileLevels()
|
D | C2OMXNode.cpp | 86 if (C2Mapper::map(standard, &colorAspects->primaries, &colorAspects->matrix) in setDataspace() 87 && C2Mapper::map(transfer, &colorAspects->transfer) in setDataspace() 88 && C2Mapper::map(range, &colorAspects->range)) { in setDataspace()
|
D | CCodecConfig.cpp | 123 if (v.get(&sdkValue) && C2Mapper::map(sdkValue, &c2Value)) { in withC2Mappers() 132 if (v.get((C2ValueType*)&c2Value) && C2Mapper::map(c2Value, &sdkValue)) { in withC2Mappers() 629 if (C2Mapper::mapPixelFormatFrameworkToCodec(value, &result)) { in initializeStandardParams() 638 if (C2Mapper::mapPixelFormatCodecToFramework(value, &result)) { in initializeStandardParams() 665 if (v.get(&value) && C2Mapper::map(value, &to)) { in initializeStandardParams() 673 if (v.get((C2ValueType*)&value) && C2Mapper::map(value, &to)) { in initializeStandardParams() 695 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams() 696 C2Mapper::GetProfileLevelMapper(mCodingMediaType); in initializeStandardParams() 1393 if (C2Mapper::map(primaries, matrix, &standard)) { in getFormatForDomain() 1668 if (C2Mapper::map(standard, &primaries, &matrix)) { in getReflectedFormat()
|
D | CCodec.cpp | 1365 if (!C2Mapper::map(info->transfer, &colorTransferRequest)) { in configure() 1377 if (C2Mapper::mapPixelFormatFrameworkToCodec(componentColorFormat, &pixelFormat)) { in configure() 2814 if (!C2Mapper::mapPixelFormatFrameworkToCodec(format, &halPixelFormat)) { in FetchGraphicBlock()
|
D | CCodecBuffers.cpp | 1013 if (C2Mapper::mapPixelFormatFrameworkToCodec(frameworkColorFormat, &pixelFormat)) { in extractPixelFormat()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 611 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 614 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 617 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 620 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
D | C2SoftAvcEnc.cpp | 1095 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in setVuiParams() 1098 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in setVuiParams() 1101 if (!C2Mapper::map(mColorAspects->matrix, &sfAspects.mMatrixCoeffs)) { in setVuiParams() 1104 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in setVuiParams()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 603 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 606 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 609 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 612 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
D | C2SoftHevcEnc.cpp | 604 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in initEncParams() 607 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in initEncParams() 610 if (!C2Mapper::map(mColorAspects->matrix, &sfAspects.mMatrixCoeffs)) { in initEncParams() 613 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in initEncParams()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 673 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo() 676 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo() 679 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo() 682 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 170 if (C2Mapper::mapPixelFormatCodecToFramework(pixelFormat, &fwkPixelFormat)) { in TEST() 304 if (C2Mapper::mapPixelFormatCodecToFramework(HAL_PIXEL_FORMAT_YCBCR_P010, &fwkPixelFormat)) { in TEST()
|
/frameworks/av/media/codec2/hidl/plugin/samples/ |
D | SampleFilterPlugin.cpp | 89 C2Mapper::map( in getDataSpace()
|