Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp404 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 …]
DCodec2Mapper.h31 struct C2Mapper { struct
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp75 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()
DC2OMXNode.cpp86 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()
DCCodecConfig.cpp123 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()
DCCodec.cpp1365 if (!C2Mapper::map(info->transfer, &colorTransferRequest)) { in configure()
1377 if (C2Mapper::mapPixelFormatFrameworkToCodec(componentColorFormat, &pixelFormat)) { in configure()
2814 if (!C2Mapper::mapPixelFormatFrameworkToCodec(format, &halPixelFormat)) { in FetchGraphicBlock()
DCCodecBuffers.cpp1013 if (C2Mapper::mapPixelFormatFrameworkToCodec(frameworkColorFormat, &pixelFormat)) { in extractPixelFormat()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp611 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()
DC2SoftAvcEnc.cpp1095 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/
DC2SoftHevcDec.cpp603 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()
DC2SoftHevcEnc.cpp604 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/
DC2SoftMpeg2Dec.cpp673 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/
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/hidl/plugin/samples/
DSampleFilterPlugin.cpp89 C2Mapper::map( in getDataSpace()