Lines Matching defs:aspects
5062 DEBUG_PRINT_LOW("Updating Client's color aspects with internal");
10120 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects)
10125 aspects->mPrimaries = ColorAspects::PrimariesBT709_5;
10128 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M;
10131 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625;
10135 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525;
10138 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm;
10141 aspects->mPrimaries = ColorAspects::PrimariesBT2020;
10146 //aspects->mPrimaries = ColorAspects::PrimariesOther;
10147 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10151 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited;
10156 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10159 aspects->mTransfer = ColorAspects::TransferGamma22;
10162 aspects->mTransfer = ColorAspects::TransferGamma28;
10165 aspects->mTransfer = ColorAspects::TransferSMPTE240M;
10168 aspects->mTransfer = ColorAspects::TransferLinear;
10171 aspects->mTransfer = ColorAspects::TransferXvYCC;
10174 aspects->mTransfer = ColorAspects::TransferBT1361;
10177 aspects->mTransfer = ColorAspects::TransferSRGB;
10180 //aspects->mTransfer = ColorAspects::TransferOther;
10181 aspects->mTransfer = m_client_color_space.sAspects.mTransfer;
10187 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10190 aspects->mMatrixCoeffs = ColorAspects::MatrixBT470_6M;
10194 aspects->mMatrixCoeffs = ColorAspects::MatrixBT601_6;
10197 aspects->mMatrixCoeffs = ColorAspects::MatrixSMPTE240M;
10200 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020;
10203 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020Constant;
10206 //aspects->mMatrixCoeffs = ColorAspects::MatrixOther;
10207 aspects->mMatrixCoeffs = m_client_color_space.sAspects.mMatrixCoeffs;
10212 void omx_vdec::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) {
10213 DEBUG_PRINT_HIGH("%s : Color aspects : Primaries = %d Range = %d Transfer = %d MatrixCoeffs = %d",
10214 prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs);
10222 ColorAspects *aspects = &tempAspects;
10237 &color_space,aspects);
10257 &color_space,aspects);
10277 &color_space,aspects);
10307 aspects->mMatrixCoeffs = ColorAspects::MatrixBT601_6;
10308 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10309 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625;
10310 aspects->mRange = m_client_color_space.sAspects.mRange;
10314 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10315 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10316 aspects->mPrimaries = ColorAspects::PrimariesBT709_5;
10317 aspects->mRange = m_client_color_space.sAspects.mRange;
10320 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10321 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10322 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10323 aspects->mRange = m_client_color_space.sAspects.mRange;
10326 aspects->mMatrixCoeffs = m_client_color_space.sAspects.mMatrixCoeffs;
10327 aspects->mTransfer = ColorAspects::TransferSMPTE240M;
10328 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10329 aspects->mRange = m_client_color_space.sAspects.mRange;
10332 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020;
10333 aspects->mTransfer = ColorAspects:: TransferSMPTE170M;
10334 aspects->mPrimaries = ColorAspects::PrimariesBT2020;
10335 aspects->mRange = m_client_color_space.sAspects.mRange;
10338 aspects->mMatrixCoeffs = ColorAspects::MatrixOther;
10339 aspects->mTransfer = ColorAspects::TransferOther;
10340 aspects->mPrimaries = ColorAspects::PrimariesOther;
10341 aspects->mRange = m_client_color_space.sAspects.mRange;
10344 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10345 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10346 aspects->mPrimaries = ColorAspects::PrimariesOther;
10347 aspects->mRange = m_client_color_space.sAspects.mRange;
10361 print_debug_color_aspects(aspects, "Bitstream");
10363 if (m_internal_color_space.sAspects.mPrimaries != aspects->mPrimaries ||
10364 m_internal_color_space.sAspects.mTransfer != aspects->mTransfer ||
10365 m_internal_color_space.sAspects.mMatrixCoeffs != aspects->mMatrixCoeffs ||
10366 m_internal_color_space.sAspects.mRange != aspects->mRange) {
10367 memcpy(&(m_internal_color_space.sAspects), aspects, sizeof(ColorAspects));