Home
last modified time | relevance | path

Searched refs:codedAspects (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp598 C2StreamColorAspectsInfo::input codedAspects = { 0u }; in getVuiParams() local
602 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
603 codedAspects.primaries = C2Color::PRIMARIES_UNSPECIFIED; in getVuiParams()
605 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
606 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getVuiParams()
608 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
609 codedAspects.matrix = C2Color::MATRIX_UNSPECIFIED; in getVuiParams()
611 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
612 codedAspects.transfer = C2Color::TRANSFER_UNSPECIFIED; in getVuiParams()
615 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp594 C2StreamColorAspectsInfo::input codedAspects = { 0u }; in getVuiParams() local
598 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
599 codedAspects.primaries = C2Color::PRIMARIES_UNSPECIFIED; in getVuiParams()
601 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
602 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getVuiParams()
604 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
605 codedAspects.matrix = C2Color::MATRIX_UNSPECIFIED; in getVuiParams()
607 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
608 codedAspects.transfer = C2Color::TRANSFER_UNSPECIFIED; in getVuiParams()
611 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp668 C2StreamColorAspectsInfo::input codedAspects = { 0u }; in getSeqInfo() local
672 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
673 codedAspects.primaries = C2Color::PRIMARIES_UNSPECIFIED; in getSeqInfo()
675 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo()
676 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getSeqInfo()
678 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo()
679 codedAspects.matrix = C2Color::MATRIX_UNSPECIFIED; in getSeqInfo()
681 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()
682 codedAspects.transfer = C2Color::TRANSFER_UNSPECIFIED; in getSeqInfo()
685 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getSeqInfo()