/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 473 struct ProfileLevelMapperHelper : C2Mapper::ProfileLevelMapper { 726 bool C2Mapper::ProfileLevelMapper::mapHdrFormat(int32_t, C2Config::hdr_format_t *to) { in mapHdrFormat() 733 std::shared_ptr<C2Mapper::ProfileLevelMapper> 734 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper() 761 std::shared_ptr<C2Mapper::ProfileLevelMapper> 762 C2Mapper::GetHdrProfileLevelMapper(std::string mediaType, bool isHdr10Plus) { in GetHdrProfileLevelMapper() 775 std::shared_ptr<C2Mapper::ProfileLevelMapper> 776 C2Mapper::GetBitDepthProfileLevelMapper(std::string mediaType, int32_t bitDepth) { in GetBitDepthProfileLevelMapper() 787 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map() 792 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map() [all …]
|
D | Codec2Mapper.h | 31 struct C2Mapper { struct
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 102 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in addSupportedProfileLevels() 103 C2Mapper::GetProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 200 auto hdrMapper = C2Mapper::GetHdrProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels() 205 hdrMapper = C2Mapper::GetHdrProfileLevelMapper( in addSupportedProfileLevels() 213 auto bitnessMapper = C2Mapper::GetBitDepthProfileLevelMapper(trait.mediaType, 10); in addSupportedProfileLevels()
|
D | CCodecConfig.cpp | 130 if (v.get(&sdkValue) && C2Mapper::map(sdkValue, &c2Value)) { in withC2Mappers() 139 if (v.get((C2ValueType*)&c2Value) && C2Mapper::map(c2Value, &sdkValue)) { in withC2Mappers() 682 if (C2Mapper::mapPixelFormatFrameworkToCodec(value, &result)) { in initializeStandardParams() 691 if (C2Mapper::mapPixelFormatCodecToFramework(value, &result)) { in initializeStandardParams() 716 if (v.get(&value) && C2Mapper::map(value, &to)) { in initializeStandardParams() 725 if (v.get((C2ValueType*)&value) && C2Mapper::map(value, &to)) { in initializeStandardParams() 753 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams() 754 C2Mapper::GetProfileLevelMapper(mCodingMediaType); in initializeStandardParams() 1036 if (v.get(&sdk) && C2Mapper::map(sdk, &c2)) { in initializeStandardParams() 1044 if (v.get((C2ValueType*)&c2) && C2Mapper::map(c2, &sdk)) { in initializeStandardParams() [all …]
|
D | C2NodeImpl.cpp | 83 if (C2Mapper::map(standard, &colorAspects->primaries, &colorAspects->matrix) in setDataspace() 84 && C2Mapper::map(transfer, &colorAspects->transfer) in setDataspace() 85 && C2Mapper::map(range, &colorAspects->range)) { in setDataspace()
|
D | CCodec.cpp | 1703 if (!C2Mapper::map(info->transfer, &colorTransferRequest)) { in configure() 1715 if (C2Mapper::mapPixelFormatFrameworkToCodec(componentColorFormat, &pixelFormat)) { in configure() 3417 if (!C2Mapper::mapPixelFormatFrameworkToCodec(format, &halPixelFormat)) { in FetchGraphicBlock()
|
D | CCodecBuffers.cpp | 1266 if (C2Mapper::mapPixelFormatFrameworkToCodec(frameworkColorFormat, &pixelFormat)) { in extractPixelFormat()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 678 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo() 681 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo() 684 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo() 687 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 615 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 618 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 621 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 624 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
D | C2SoftAvcEnc.cpp | 1114 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in setVuiParams() 1117 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in setVuiParams() 1120 if (!C2Mapper::map(mColorAspects->matrix, &sfAspects.mMatrixCoeffs)) { in setVuiParams() 1123 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in setVuiParams()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 609 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 612 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 615 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 618 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
D | C2SoftHevcEnc.cpp | 680 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in initEncParams() 683 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in initEncParams() 686 if (!C2Mapper::map(mColorAspects->matrix, &sfAspects.mMatrixCoeffs)) { in initEncParams() 689 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in initEncParams()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomEnc.cpp | 579 if (!C2Mapper::map(mColorAspects->primaries, &sfAspects.mPrimaries)) { in setupCodecParameters() 582 if (!C2Mapper::map(mColorAspects->range, &sfAspects.mRange)) { in setupCodecParameters() 585 if (!C2Mapper::map(mColorAspects->matrix, &sfAspects.mMatrixCoeffs)) { in setupCodecParameters() 588 if (!C2Mapper::map(mColorAspects->transfer, &sfAspects.mTransfer)) { in setupCodecParameters()
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 908 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 911 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 914 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 917 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 728 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams() 731 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams() 734 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams() 737 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
|
/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/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 101 C2Mapper::map( in getDataSpace()
|