Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libscaler/
Dlibscalerblend-v4l2.cpp122 void CScalerBlendV4L2::GetCustomAlphaBlendFmt(int32_t &src_color_space, in GetCustomAlphaBlendFmt() argument
125 if (src_color_space == V4L2_PIX_FMT_NV12M) { in GetCustomAlphaBlendFmt()
127 src_color_space = V4L2_PIX_FMT_NV12M_RGB32; in GetCustomAlphaBlendFmt()
129 src_color_space = V4L2_PIX_FMT_NV12M_BGR32; in GetCustomAlphaBlendFmt()
131 src_color_space = V4L2_PIX_FMT_NV12M_RGB565; in GetCustomAlphaBlendFmt()
133 src_color_space = V4L2_PIX_FMT_NV12M_RGB444; in GetCustomAlphaBlendFmt()
135 src_color_space = V4L2_PIX_FMT_NV12M_RGB555X; in GetCustomAlphaBlendFmt()
136 } else if (src_color_space == V4L2_PIX_FMT_NV12) { in GetCustomAlphaBlendFmt()
138 src_color_space = V4L2_PIX_FMT_NV12_RGB32; in GetCustomAlphaBlendFmt()
139 } else if (src_color_space == V4L2_PIX_FMT_NV12N) { in GetCustomAlphaBlendFmt()
[all …]
Dlibscaler.cpp569 int32_t src_color_space = hal_pixfmt_to_v4l2(src_img->format); in exynos_sc_config_exclusive() local
572 if (!sc->SetSrcFormat(src_img->fw, src_img->fh, src_color_space)) in exynos_sc_config_exclusive()
704 int32_t src_color_space = hal_pixfmt_to_v4l2(src_img->format); in exynos_sc_config_blend_exclusive() local
708 sc->GetCustomAlphaBlendFmt(src_color_space, src_blend_color_space); in exynos_sc_config_blend_exclusive()
709 if (src_color_space < 0) { in exynos_sc_config_blend_exclusive()
737 if (!sc->SetSrcFormat(src_img->fw, src_img->fh, src_color_space)) in exynos_sc_config_blend_exclusive()
Dlibscalerblend-v4l2.h16 void GetCustomAlphaBlendFmt(int32_t &src_color_space,