Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp401 struct ProfileLevelMapperHelper : C2Mapper::ProfileLevelMapper {
632 std::shared_ptr<C2Mapper::ProfileLevelMapper>
633 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper()
660 std::shared_ptr<C2Mapper::ProfileLevelMapper>
661 C2Mapper::GetHdrProfileLevelMapper(std::string mediaType, bool isHdr10Plus) { in GetHdrProfileLevelMapper()
674 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map()
679 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map()
684 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map()
689 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map()
694 bool C2Mapper::map(C2Color::range_t from, int32_t *to) { in map()
[all …]
DCodec2Mapper.h31 struct C2Mapper { struct
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp74 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in addSupportedProfileLevels()
75 C2Mapper::GetProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels()
148 auto hdrMapper = C2Mapper::GetHdrProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels()
153 hdrMapper = C2Mapper::GetHdrProfileLevelMapper( in addSupportedProfileLevels()
DCCodecConfig.cpp121 if (v.get(&sdkValue) && C2Mapper::map(sdkValue, &c2Value)) { in withC2Mappers()
130 if (v.get((C2ValueType*)&c2Value) && C2Mapper::map(c2Value, &sdkValue)) { in withC2Mappers()
604 if (C2Mapper::mapPixelFormatFrameworkToCodec(value, &result)) { in initializeStandardParams()
613 if (C2Mapper::mapPixelFormatCodecToFramework(value, &result)) { in initializeStandardParams()
640 if (v.get(&value) && C2Mapper::map(value, &to)) { in initializeStandardParams()
648 if (v.get((C2ValueType*)&value) && C2Mapper::map(value, &to)) { in initializeStandardParams()
670 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams()
671 C2Mapper::GetProfileLevelMapper(mCodingMediaType); in initializeStandardParams()
1309 if (C2Mapper::map(primaries, matrix, &standard)) { in getFormatForDomain()
1568 if (C2Mapper::map(standard, &primaries, &matrix)) { in getReflectedFormat()
DCCodec.cpp2258 if (!C2Mapper::mapPixelFormatFrameworkToCodec(format, &halPixelFormat)) { in FetchGraphicBlock()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp602 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
605 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
608 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
611 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp598 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
601 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
604 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
607 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp672 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
675 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo()
678 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo()
681 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()