Home
last modified time | relevance | path

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

/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/avc/
DC2SoftAvcDec.cpp597 C2StreamColorAspectsInfo::input codedAspects = { 0u }; in getVuiParams() local
601 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getVuiParams()
602 codedAspects.primaries = C2Color::PRIMARIES_UNSPECIFIED; in getVuiParams()
604 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
605 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getVuiParams()
607 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getVuiParams()
608 codedAspects.matrix = C2Color::MATRIX_UNSPECIFIED; in getVuiParams()
610 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getVuiParams()
611 codedAspects.transfer = C2Color::TRANSFER_UNSPECIFIED; in getVuiParams()
614 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp661 C2StreamColorAspectsInfo::input codedAspects = { 0u }; in getSeqInfo() local
665 if (!C2Mapper::map(sfAspects.mPrimaries, &codedAspects.primaries)) { in getSeqInfo()
666 codedAspects.primaries = C2Color::PRIMARIES_UNSPECIFIED; in getSeqInfo()
668 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo()
669 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getSeqInfo()
671 if (!C2Mapper::map(sfAspects.mMatrixCoeffs, &codedAspects.matrix)) { in getSeqInfo()
672 codedAspects.matrix = C2Color::MATRIX_UNSPECIFIED; in getSeqInfo()
674 if (!C2Mapper::map(sfAspects.mTransfer, &codedAspects.transfer)) { in getSeqInfo()
675 codedAspects.transfer = C2Color::TRANSFER_UNSPECIFIED; in getSeqInfo()
678 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getSeqInfo()