Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2Mapper.cpp399 struct ProfileLevelMapperHelper : C2Mapper::ProfileLevelMapper {
630 std::shared_ptr<C2Mapper::ProfileLevelMapper>
631 C2Mapper::GetProfileLevelMapper(std::string mediaType) { in GetProfileLevelMapper()
658 std::shared_ptr<C2Mapper::ProfileLevelMapper>
659 C2Mapper::GetHdrProfileLevelMapper(std::string mediaType, bool isHdr10Plus) { in GetHdrProfileLevelMapper()
670 bool C2Mapper::map(C2Config::bitrate_mode_t from, int32_t *to) { in map()
675 bool C2Mapper::map(int32_t from, C2Config::bitrate_mode_t *to) { in map()
680 bool C2Mapper::map(C2Config::pcm_encoding_t from, int32_t *to) { in map()
685 bool C2Mapper::map(int32_t from, C2Config::pcm_encoding_t *to) { in map()
690 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()
148 auto hdrMapper = C2Mapper::GetHdrProfileLevelMapper(trait.mediaType); in addSupportedProfileLevels()
153 hdrMapper = C2Mapper::GetHdrProfileLevelMapper( in addSupportedProfileLevels()
DCCodecConfig.cpp99 if (v.get(&sdkValue) && C2Mapper::map(sdkValue, &c2Value)) { in withC2Mappers()
108 if (v.get((C2ValueType*)&c2Value) && C2Mapper::map(c2Value, &sdkValue)) { in withC2Mappers()
647 if (v.get(&value) && C2Mapper::map(value, &to)) { in initializeStandardParams()
655 if (v.get((C2ValueType*)&value) && C2Mapper::map(value, &to)) { in initializeStandardParams()
677 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams()
678 C2Mapper::GetProfileLevelMapper(mCodingMediaType); in initializeStandardParams()
1161 if (C2Mapper::map(primaries, matrix, &standard)) { in getSdkFormatForDomain()
1420 if (C2Mapper::map(standard, &primaries, &matrix)) { in getReflectedFormat()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp587 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
590 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
593 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
596 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp584 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
587 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
590 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
593 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp655 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
658 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo()
661 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo()
664 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()