Home
last modified time | relevance | path

Searched refs:C2Mapper (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp473 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 …]
DCodec2Mapper.h31 struct C2Mapper { struct
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp102 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()
DCCodecConfig.cpp130 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 …]
DC2NodeImpl.cpp83 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()
DCCodec.cpp1703 if (!C2Mapper::map(info->transfer, &colorTransferRequest)) { in configure()
1715 if (C2Mapper::mapPixelFormatFrameworkToCodec(componentColorFormat, &pixelFormat)) { in configure()
3417 if (!C2Mapper::mapPixelFormatFrameworkToCodec(format, &halPixelFormat)) { in FetchGraphicBlock()
DCCodecBuffers.cpp1266 if (C2Mapper::mapPixelFormatFrameworkToCodec(frameworkColorFormat, &pixelFormat)) { in extractPixelFormat()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp678 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/
DC2SoftAvcDec.cpp615 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()
DC2SoftAvcEnc.cpp1114 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/
DC2SoftHevcDec.cpp609 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()
DC2SoftHevcEnc.cpp680 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/
DC2SoftAomEnc.cpp579 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/
DC2SoftDav1dDec.cpp908 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/
DC2SoftGav1Dec.cpp728 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/
DCCodecBuffers_test.cpp170 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/
DSampleFilterPlugin.cpp101 C2Mapper::map( in getDataSpace()