Home
last modified time | relevance | path

Searched refs:aspects (Results 1 – 25 of 25) sorted by relevance

/hardware/google/av/media/sfplugin/utils/
DCodec2Mapper.cpp789 ColorAspects aspects; in map() local
790 if (!sColorRangesSf.map(range, &aspects.mRange)) { in map()
791 aspects.mRange = ColorAspects::RangeUnspecified; in map()
793 if (!sColorPrimariesSf.map(primaries, &aspects.mPrimaries)) { in map()
794 aspects.mPrimaries = ColorAspects::PrimariesUnspecified; in map()
796 if (!sColorMatricesSf.map(matrix, &aspects.mMatrixCoeffs)) { in map()
797 aspects.mMatrixCoeffs = ColorAspects::MatrixUnspecified; in map()
799 if (!sColorTransfersSf.map(transfer, &aspects.mTransfer)) { in map()
800 aspects.mTransfer = ColorAspects::TransferUnspecified; in map()
802 *dataSpace = ColorUtils::getDataSpaceForColorAspects(aspects, true /* mayExpand */); in map()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10673 OMX_U32 transfer, OMX_U32 matrix, ColorAspects *aspects) in convert_color_space_info() argument
10677 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
10680 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
10683 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
10686 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
10689 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
10692 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
10698 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
10702 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
10707 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp9385 OMX_U32 transfer, OMX_U32 matrix, ColorAspects *aspects) in convert_color_space_info() argument
9389 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
9392 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
9395 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
9398 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
9401 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
9404 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
9410 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
9414 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
9419 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10201 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) in convert_color_space_info() argument
10206 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
10209 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
10212 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
10216 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
10219 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
10222 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
10228 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
10232 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
10237 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/interfaces/media/omx/1.0/
DIGraphicBufferSource.hal48 setColorAspects(ColorAspects aspects) generates (Status status);
Dtypes.hal214 * Framework defined color aspects. These are based mainly on ISO 23001-8 spec. As this standard
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp11002 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) in convert_color_space_info() argument
11007 aspects->mPrimaries = ColorAspects::PrimariesBT709_5; in convert_color_space_info()
11010 aspects->mPrimaries = ColorAspects::PrimariesBT470_6M; in convert_color_space_info()
11013 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_625; in convert_color_space_info()
11017 aspects->mPrimaries = ColorAspects::PrimariesBT601_6_525; in convert_color_space_info()
11020 aspects->mPrimaries = ColorAspects::PrimariesGenericFilm; in convert_color_space_info()
11023 aspects->mPrimaries = ColorAspects::PrimariesBT2020; in convert_color_space_info()
11029 aspects->mPrimaries = m_client_color_space.sAspects.mPrimaries; in convert_color_space_info()
11033 aspects->mRange = range ? ColorAspects::RangeFull : ColorAspects::RangeLimited; in convert_color_space_info()
11038 aspects->mTransfer = ColorAspects::TransferSMPTE170M; in convert_color_space_info()
[all …]
/hardware/google/av/media/sfplugin/
DCCodecConfig.cpp1164 ColorAspects aspects = { in getSdkFormatForDomain() local
1168 ColorUtils::getColorAspectsFromFormat(msg, aspects); in getSdkFormatForDomain()
1169 ColorAspects origAspects = aspects; in getSdkFormatForDomain()
1182 ColorUtils::setDefaultCodecColorAspectsIfNeeded(aspects, width, height); in getSdkFormatForDomain()
1183 ColorUtils::setColorAspectsIntoFormat(aspects, msg); in getSdkFormatForDomain()
1187 || aspects.mRange != origAspects.mRange in getSdkFormatForDomain()
1188 || aspects.mPrimaries != origAspects.mPrimaries in getSdkFormatForDomain()
1189 || aspects.mTransfer != origAspects.mTransfer in getSdkFormatForDomain()
1190 || aspects.mMatrixCoeffs != origAspects.mMatrixCoeffs) { in getSdkFormatForDomain()
1191 dataspace = ColorUtils::getDataSpaceForColorAspects(aspects, true /* mayExpand */); in getSdkFormatForDomain()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp229 int32_t dataSpace, int32_t aspects, int32_t pixelFormat) override { in dispatchDataSpaceChanged()
232 (void)aspects; in dispatchDataSpaceChanged()
/hardware/interfaces/media/omx/1.0/vts/functional/
DREADME.md12 This folder includes test fixtures that tests aspects common to all omx compatible components. For …
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h934 ColorAspects *aspects);
936 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
1449 void convert_color_aspects_to_metadata(ColorAspects& aspects, ColorMetaData &color_mdata);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h888 ColorAspects *aspects);
890 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
1354 void convert_color_aspects_to_metadata(ColorAspects& aspects, ColorMetaData &color_mdata);
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1408 ::android::hardware::media::omx::V1_0::ColorAspects aspects; in TEST_P()
1409 aspects.range = in TEST_P()
1411 aspects.primaries = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1413 aspects.transfer = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1415 aspects.matrixCoeffs = ::android::hardware::media::omx::V1_0::ColorAspects:: in TEST_P()
1417 status = source->setColorAspects(aspects); in TEST_P()
/hardware/interfaces/drm/1.1/
Dtypes.hal107 // for capturing different aspects of the same metric. E.g. capture
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h677 ColorAspects *aspects);
680 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h714 ColorAspects *aspects);
720 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h570 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h581 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h634 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h628 void print_debug_color_aspects(ColorAspects *aspects, const char *prefix);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4953 void omx_video::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) { in print_debug_color_aspects() argument
4955 … prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs); in print_debug_color_aspects()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp5001 void omx_video::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) { in print_debug_color_aspects() argument
5003 … prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs); in print_debug_color_aspects()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp5159 void omx_video::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) { in print_debug_color_aspects() argument
5161 … prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs); in print_debug_color_aspects()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp5233 void omx_video::print_debug_color_aspects(ColorAspects *aspects, const char *prefix) { in print_debug_color_aspects() argument
5235 … prefix, aspects->mPrimaries, aspects->mRange, aspects->mTransfer, aspects->mMatrixCoeffs); in print_debug_color_aspects()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal603 * Color-description aspects
605 * The following aspects define various characteristics of the color