Home
last modified time | relevance | path

Searched refs:src_color_space (Results 1 – 4 of 4) 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,
/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.cpp916 int32_t src_color_space; in m_gsc_m2m_config() local
935 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_m2m_config()
942 src_color_space, src_img->cacheable, src_img->drmMode); in m_gsc_m2m_config()
947 src_img->w, src_img->h, src_color_space, src_img->rot); in m_gsc_m2m_config()
958 dst_img->w, dst_img->h, src_color_space, dst_img->rot); in m_gsc_m2m_config()
982 int32_t src_color_space; in m_gsc_out_config() local
999 src_color_space = hal_pixfmt_to_v4l2(src_img->format); in m_gsc_out_config()
1001 src_planes = m_gsc_get_plane_count(src_color_space); in m_gsc_out_config()
1008 &gsc->src_img.w, &gsc->src_img.h, src_color_space, in m_gsc_out_config()
1182 fmt.fmt.pix_mp.pixelformat = src_color_space; in m_gsc_out_config()
[all …]