Lines Matching defs:aspects
5154 DEBUG_PRINT_LOW("Updating Client's color aspects with internal");
10309 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects)
10314 aspects->mPrimaries = ColorAspects::PrimariesBT709_5;
10317 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M;
10320 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625;
10324 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525;
10327 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm;
10330 aspects->mPrimaries = ColorAspects::PrimariesBT2020;
10335 //aspects->mPrimaries = ColorAspects::PrimariesOther;
10336 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10340 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited;
10345 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10348 aspects->mTransfer = ColorAspects::TransferGamma22;
10351 aspects->mTransfer = ColorAspects::TransferGamma28;
10354 aspects->mTransfer = ColorAspects::TransferSMPTE240M;
10357 aspects->mTransfer = ColorAspects::TransferLinear;
10360 aspects->mTransfer = ColorAspects::TransferXvYCC;
10363 aspects->mTransfer = ColorAspects::TransferBT1361;
10366 aspects->mTransfer = ColorAspects::TransferSRGB;
10369 //aspects->mTransfer = ColorAspects::TransferOther;
10370 aspects->mTransfer = m_client_color_space.sAspects.mTransfer;
10376 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10379 aspects->mMatrixCoeffs = ColorAspects::MatrixBT470_6M;
10383 aspects->mMatrixCoeffs = ColorAspects::MatrixBT601_6;
10386 aspects->mMatrixCoeffs = ColorAspects::MatrixSMPTE240M;
10389 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020;
10392 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020Constant;
10395 //aspects->mMatrixCoeffs = ColorAspects::MatrixOther;
10396 aspects->mMatrixCoeffs = m_client_color_space.sAspects.mMatrixCoeffs;
10401 void omx_vdec::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) {
10402 DEBUG_PRINT_HIGH("%s : Color aspects : Primaries = %d Range = %d Transfer = %d MatrixCoeffs = %d",
10403 prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs);
10411 ColorAspects *aspects = &tempAspects;
10426 &color_space,aspects);
10446 &color_space,aspects);
10466 &color_space,aspects);
10496 aspects->mMatrixCoeffs = ColorAspects::MatrixBT601_6;
10497 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10498 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625;
10499 aspects->mRange = m_client_color_space.sAspects.mRange;
10503 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10504 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10505 aspects->mPrimaries = ColorAspects::PrimariesBT709_5;
10506 aspects->mRange = m_client_color_space.sAspects.mRange;
10509 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10510 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10511 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10512 aspects->mRange = m_client_color_space.sAspects.mRange;
10515 aspects->mMatrixCoeffs = m_client_color_space.sAspects.mMatrixCoeffs;
10516 aspects->mTransfer = ColorAspects::TransferSMPTE240M;
10517 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries;
10518 aspects->mRange = m_client_color_space.sAspects.mRange;
10521 aspects->mMatrixCoeffs = ColorAspects::MatrixBT2020;
10522 aspects->mTransfer = ColorAspects:: TransferSMPTE170M;
10523 aspects->mPrimaries = ColorAspects::PrimariesBT2020;
10524 aspects->mRange = m_client_color_space.sAspects.mRange;
10527 aspects->mMatrixCoeffs = ColorAspects::MatrixOther;
10528 aspects->mTransfer = ColorAspects::TransferOther;
10529 aspects->mPrimaries = ColorAspects::PrimariesOther;
10530 aspects->mRange = m_client_color_space.sAspects.mRange;
10533 aspects->mMatrixCoeffs = ColorAspects::MatrixBT709_5;
10534 aspects->mTransfer = ColorAspects::TransferSMPTE170M;
10535 aspects->mPrimaries = ColorAspects::PrimariesOther;
10536 aspects->mRange = m_client_color_space.sAspects.mRange;
10550 print_debug_color_aspects(aspects, "Bitstream");
10552 if (m_internal_color_space.sAspects.mPrimaries != aspects->mPrimaries ||
10553 m_internal_color_space.sAspects.mTransfer != aspects->mTransfer ||
10554 m_internal_color_space.sAspects.mMatrixCoeffs != aspects->mMatrixCoeffs ||
10555 m_internal_color_space.sAspects.mRange != aspects->mRange) {
10556 memcpy(&(m_internal_color_space.sAspects), aspects, sizeof(ColorAspects));