Home
last modified time | relevance | path

Searched refs:plane_count (Results 1 – 23 of 23) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_bufferallocation.cpp851 int plane_count = 2; in prepare_descriptor_exynos_formats() local
868 plane_count = setup_sbwc_420_sp(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
874 plane_count = setup_sbwc_420_sp_10bit(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
879 plane_count = setup_sbwc_420_sp_lossy(w, h, 50, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
884 plane_count = setup_sbwc_420_sp_lossy(w, h, 75, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
889 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 40, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
894 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 60, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
899 plane_count = setup_sbwc_420_sp_10bit_lossy(w, h, 80, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
904 plane_count = setup_420_sp(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
911 plane_count = setup_420_p(w, h, fd_count, bufDescriptor->plane_info); in prepare_descriptor_exynos_formats()
[all …]
Dmali_gralloc_bufferdescriptor.h57 uint32_t plane_count; member
73 plane_count(1) in buffer_descriptor_t()
106 plane_count, in dump()
/hardware/qcom/sm7250/display/gralloc/
Dgr_camera_info.h153 int GetPlaneTypes(int format, PlaneComponent *plane_component_array, int *plane_count);
159 int GetCameraFormatPlaneInfo(int format, int width, int height, int *plane_count,
204 int *plane_count) = nullptr;
220 int *plane_count) = nullptr;
Dgr_utils.cpp646 int plane_count = 0; in GetYUVPlaneInfo() local
678 err = GetYUVPlaneInfo(info, format, width, height, interlaced, &plane_count, plane_info); in GetYUVPlaneInfo()
681 CopyPlaneLayoutInfotoAndroidYcbcr(hnd->base, plane_count, &plane_info[0], &ycbcr[0]); in GetYUVPlaneInfo()
693 CopyPlaneLayoutInfotoAndroidYcbcr(field_base, plane_count, &plane_info[4], &ycbcr[1]); in GetYUVPlaneInfo()
695 CopyPlaneLayoutInfotoAndroidYcbcr(hnd->base, plane_count, plane_info, ycbcr); in GetYUVPlaneInfo()
1480 int32_t flags, int *plane_count, PlaneLayoutInfo *plane_info) { in GetYUVPlaneInfo() argument
1487 format, info.width, info.height, plane_count, plane_info); in GetYUVPlaneInfo()
1510 *plane_count = 2; in GetYUVPlaneInfo()
1524 *plane_count = 1; in GetYUVPlaneInfo()
1529 *plane_count = 1; in GetYUVPlaneInfo()
[all …]
Dgr_camera_info.cpp237 int CameraInfo::GetPlaneTypes(int format, PlaneComponent *plane_component_array, int *plane_count) { in GetPlaneTypes() argument
242 LINK_camera_get_plane_types(GetCameraPixelFormat(format), plane_types_array, plane_count); in GetPlaneTypes()
244 for (int plane = 0; plane < *plane_count; plane++) { in GetPlaneTypes()
288 int CameraInfo::GetCameraFormatPlaneInfo(int format, int width, int height, int *plane_count, in GetCameraFormatPlaneInfo() argument
300 result = GetPlaneTypes(format, plane_type, plane_count); in GetCameraFormatPlaneInfo()
306 for (int i = 0; i < *plane_count; i++) { in GetCameraFormatPlaneInfo()
Dgr_utils.h188 int32_t flags, int *plane_count, PlaneLayoutInfo plane_info[8]);
190 int32_t flags, int *plane_count, PlaneLayoutInfo *plane_info);
193 void CopyPlaneLayoutInfotoAndroidYcbcr(uint64_t base, int plane_count, PlaneLayoutInfo *plane_info,
DQtiMapperExtensions.cpp351 int plane_count = 0; in getFormatLayout() local
365 gralloc::GetYUVPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
369 gralloc::GetRGBPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
376 ALOGD_IF(DEBUG, "%s: Number of plane - %d, custom_format - %d", __FUNCTION__, plane_count, in getFormatLayout()
378 plane_info.resize(plane_count); in getFormatLayout()
379 for (int i = 0; i < plane_count; i++) { in getFormatLayout()
Dgr_buf_mgr.cpp690 int plane_count = 0; in getFormatLayout() local
696 &plane_count, plane_layout); in getFormatLayout()
700 &plane_count, plane_layout); in getFormatLayout()
704 plane_info.resize(plane_count); in getFormatLayout()
705 for (int i = 0; i < plane_count; i++) { in getFormatLayout()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp566 int plane_count = 0; in GetYUVPlaneInfo() local
598 err = GetYUVPlaneInfo(info, format, width, height, interlaced, &plane_count, plane_info); in GetYUVPlaneInfo()
601 CopyPlaneLayoutInfotoAndroidYcbcr(hnd->base, plane_count, &plane_info[0], &ycbcr[0]); in GetYUVPlaneInfo()
611 CopyPlaneLayoutInfotoAndroidYcbcr(field_base, plane_count, &plane_info[4], &ycbcr[1]); in GetYUVPlaneInfo()
613 CopyPlaneLayoutInfotoAndroidYcbcr(hnd->base, plane_count, plane_info, ycbcr); in GetYUVPlaneInfo()
1382 int32_t flags, int *plane_count, PlaneLayoutInfo *plane_info) { in GetYUVPlaneInfo() argument
1402 *plane_count = 2; in GetYUVPlaneInfo()
1416 *plane_count = 1; in GetYUVPlaneInfo()
1424 *plane_count = 8; in GetYUVPlaneInfo()
1439 *plane_count = 4; in GetYUVPlaneInfo()
[all …]
Dgr_utils.h174 int32_t flags, int *plane_count, PlaneLayoutInfo plane_info[8]);
176 int32_t flags, int *plane_count, PlaneLayoutInfo *plane_info);
179 void CopyPlaneLayoutInfotoAndroidYcbcr(uint64_t base, int plane_count, PlaneLayoutInfo *plane_info,
DQtiMapperExtensions.cpp350 int plane_count = 0; in getFormatLayout() local
360 gralloc::GetYUVPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
364 gralloc::GetRGBPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
371 ALOGD_IF(DEBUG, "%s: Number of plane - %d, custom_format - %d", __FUNCTION__, plane_count, in getFormatLayout()
373 plane_info.resize(plane_count); in getFormatLayout()
374 for (int i = 0; i < plane_count; i++) { in getFormatLayout()
Dgr_buf_mgr.cpp705 int plane_count = 0; in getFormatLayout() local
711 &plane_count, plane_layout); in getFormatLayout()
715 &plane_count, plane_layout); in getFormatLayout()
719 plane_info.resize(plane_count); in getFormatLayout()
720 for (int i = 0; i < plane_count; i++) { in getFormatLayout()
/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.cpp676 int plane_count; in m_gsc_set_format() local
678 plane_count = m_gsc_get_plane_count(info->v4l2_colorformat); in m_gsc_set_format()
679 if (plane_count < 0) { in m_gsc_set_format()
712 info->format.fmt.pix_mp.num_planes = plane_count; in m_gsc_set_format()
752 int plane_count = 0; in m_gsc_get_plane_count() local
770 plane_count = 1; in m_gsc_get_plane_count()
775 plane_count = 2; in m_gsc_get_plane_count()
779 plane_count = 3; in m_gsc_get_plane_count()
784 plane_count = -1; in m_gsc_get_plane_count()
788 return plane_count; in m_gsc_get_plane_count()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp392 mdp_buffer.plane_count = 1; in Commit()
398 mdp_buffer.plane_count = 0; in Commit()
411 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit()
427 mdp_out_layer_.buffer.plane_count = 1; in Commit()
Dhw_primary.cpp432 mdp_out_layer_.buffer.plane_count = 1; in Commit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_device.cpp440 mdp_buffer.plane_count = 1; in Commit()
446 mdp_buffer.plane_count = 0; in Commit()
459 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit()
475 mdp_out_layer_.buffer.plane_count = 1; in Commit()
Dhw_primary.cpp438 mdp_out_layer_.buffer.plane_count = 1; in Commit()
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_device.cpp444 mdp_buffer.plane_count = 1; in Commit()
450 mdp_buffer.plane_count = 0; in Commit()
463 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit()
479 mdp_out_layer_.buffer.plane_count = 1; in Commit()
Dhw_primary.cpp438 mdp_out_layer_.buffer.plane_count = 1; in Commit()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_device.cpp436 mdp_buffer.plane_count = 1; in Commit()
442 mdp_buffer.plane_count = 0; in Commit()
460 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit()
476 mdp_out_layer_.buffer.plane_count = 1; in Commit()
Dhw_primary.cpp438 mdp_out_layer_.buffer.plane_count = 1; in Commit()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_device.cpp461 mdp_buffer.plane_count = 1; in Commit()
467 mdp_buffer.plane_count = 0; in Commit()
480 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit()
496 mdp_out_layer_.buffer.plane_count = 1; in Commit()
Dhw_primary.cpp438 mdp_out_layer_.buffer.plane_count = 1; in Commit()