/hardware/google/gchips/gralloc4/src/core/ |
D | exynos_format_allocation.h | 59 int setup_sbwc_420_sp(int w, int h, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp() argument 61 std::tie(plane[0].size, plane[1].size) = sbwc_sizes<8>(w, h); in setup_sbwc_420_sp() 63 plane[0].alloc_width = GRALLOC_ALIGN(w, 32); in setup_sbwc_420_sp() 64 plane[0].alloc_height = __ALIGN_UP(h, 16); in setup_sbwc_420_sp() 65 plane[0].byte_stride = SBWC_8B_STRIDE(w); in setup_sbwc_420_sp() 66 plane[0].fd_idx = 0; in setup_sbwc_420_sp() 68 plane[1].alloc_width = GRALLOC_ALIGN(w, 32); in setup_sbwc_420_sp() 69 plane[1].alloc_height = __ALIGN_UP(h, 16) / 2; in setup_sbwc_420_sp() 70 plane[1].byte_stride = SBWC_8B_STRIDE(w); in setup_sbwc_420_sp() 74 plane[1].fd_idx = 1; in setup_sbwc_420_sp() [all …]
|
D | mali_gralloc_bufferallocation.cpp | 132 static rect_t get_afbc_sb_size(alloc_type_t alloc_type, const uint8_t plane) in get_afbc_sb_size() argument 134 if (plane > 0 && alloc_type.is_afbc() && alloc_type.is_multi_plane) in get_afbc_sb_size() 311 const uint8_t plane, in get_pixel_w_h() argument 314 const rect_t sb = get_afbc_sb_size(alloc_type, plane); in get_pixel_w_h() 315 const bool is_primary_plane = (plane == 0 || !format.planes_contiguous); in get_pixel_w_h() 331 if (plane > 0) in get_pixel_w_h() 365 afbc_tile.width = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.width : 8 * afbc_tile.width; in get_pixel_w_h() 366 afbc_tile.height = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.height : 8 * afbc_tile.height; in get_pixel_w_h() 369 MALI_GRALLOC_LOGV("Plane[%hhu]: [SUB-SAMPLE] w:%d, h:%d\n", plane, *width, *height); in get_pixel_w_h() 370 MALI_GRALLOC_LOGV("Plane[%hhu]: [PIXEL_ALIGN] w:%d\n", plane, pixel_align_w); in get_pixel_w_h() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_scale_drm.cpp | 84 const HWPlane &plane = scale_data.plane[i]; in SetPlaneScalerV2() local 85 scaler->init_phase_x[i] = plane.init_phase_x; in SetPlaneScalerV2() 86 scaler->phase_step_x[i] = plane.phase_step_x; in SetPlaneScalerV2() 87 scaler->init_phase_y[i] = plane.init_phase_y; in SetPlaneScalerV2() 88 scaler->phase_step_y[i] = plane.phase_step_y; in SetPlaneScalerV2() 92 scaler->pe.num_ext_pxls_lr[i] = plane.left.extension; in SetPlaneScalerV2() 93 scaler->pe.num_ext_pxls_tb[i] = plane.top.extension; in SetPlaneScalerV2() 95 scaler->pe.left_ftch[i] = plane.left.overfetch; in SetPlaneScalerV2() 96 scaler->pe.top_ftch[i] = plane.top.overfetch; in SetPlaneScalerV2() 97 scaler->pe.right_ftch[i] = plane.right.overfetch; in SetPlaneScalerV2() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_scale_drm.cpp | 84 const HWPlane &plane = scale_data.plane[i]; in SetPlaneScalerV2() local 85 scaler->init_phase_x[i] = plane.init_phase_x; in SetPlaneScalerV2() 86 scaler->phase_step_x[i] = plane.phase_step_x; in SetPlaneScalerV2() 87 scaler->init_phase_y[i] = plane.init_phase_y; in SetPlaneScalerV2() 88 scaler->phase_step_y[i] = plane.phase_step_y; in SetPlaneScalerV2() 92 scaler->pe.num_ext_pxls_lr[i] = plane.left.extension; in SetPlaneScalerV2() 93 scaler->pe.num_ext_pxls_tb[i] = plane.top.extension; in SetPlaneScalerV2() 95 scaler->pe.left_ftch[i] = plane.left.overfetch; in SetPlaneScalerV2() 96 scaler->pe.top_ftch[i] = plane.top.overfetch; in SetPlaneScalerV2() 97 scaler->pe.right_ftch[i] = plane.right.overfetch; in SetPlaneScalerV2() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_scale.cpp | 64 const HWPlane &plane = scale_data.plane[i]; in SetHWScaleData() local 65 mdp_scale->init_phase_x[i] = plane.init_phase_x; in SetHWScaleData() 66 mdp_scale->phase_step_x[i] = plane.phase_step_x; in SetHWScaleData() 67 mdp_scale->init_phase_y[i] = plane.init_phase_y; in SetHWScaleData() 68 mdp_scale->phase_step_y[i] = plane.phase_step_y; in SetHWScaleData() 70 mdp_scale->num_ext_pxls_left[i] = plane.left.extension; in SetHWScaleData() 71 mdp_scale->left_ftch[i] = plane.left.overfetch; in SetHWScaleData() 72 mdp_scale->left_rpt[i] = plane.left.repeat; in SetHWScaleData() 74 mdp_scale->num_ext_pxls_top[i] = plane.top.extension; in SetHWScaleData() 75 mdp_scale->top_ftch[i] = plane.top.overfetch; in SetHWScaleData() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_scale_drm.cpp | 91 const HWPlane &plane = scale_data.plane[i]; in SetScalerV2() local 92 scaler->init_phase_x[i] = plane.init_phase_x; in SetScalerV2() 93 scaler->phase_step_x[i] = plane.phase_step_x; in SetScalerV2() 94 scaler->init_phase_y[i] = plane.init_phase_y; in SetScalerV2() 95 scaler->phase_step_y[i] = plane.phase_step_y; in SetScalerV2() 99 scaler->pe.num_ext_pxls_lr[i] = plane.left.extension; in SetScalerV2() 100 scaler->pe.num_ext_pxls_tb[i] = plane.top.extension; in SetScalerV2() 102 scaler->pe.left_ftch[i] = plane.left.overfetch; in SetScalerV2() 103 scaler->pe.top_ftch[i] = plane.top.overfetch; in SetScalerV2() 104 scaler->pe.right_ftch[i] = plane.right.overfetch; in SetScalerV2() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_scale_drm.cpp | 91 const HWPlane &plane = scale_data.plane[i]; in SetScalerV2() local 92 scaler->init_phase_x[i] = plane.init_phase_x; in SetScalerV2() 93 scaler->phase_step_x[i] = plane.phase_step_x; in SetScalerV2() 94 scaler->init_phase_y[i] = plane.init_phase_y; in SetScalerV2() 95 scaler->phase_step_y[i] = plane.phase_step_y; in SetScalerV2() 99 scaler->pe.num_ext_pxls_lr[i] = plane.left.extension; in SetScalerV2() 100 scaler->pe.num_ext_pxls_tb[i] = plane.top.extension; in SetScalerV2() 102 scaler->pe.left_ftch[i] = plane.left.overfetch; in SetScalerV2() 103 scaler->pe.top_ftch[i] = plane.top.overfetch; in SetScalerV2() 104 scaler->pe.right_ftch[i] = plane.right.overfetch; in SetScalerV2() [all …]
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_scale_drm.cpp | 95 const HWPlane &plane = scale_data.plane[i]; in SetScalerV2() local 96 scaler->init_phase_x[i] = plane.init_phase_x; in SetScalerV2() 97 scaler->phase_step_x[i] = plane.phase_step_x; in SetScalerV2() 98 scaler->init_phase_y[i] = plane.init_phase_y; in SetScalerV2() 99 scaler->phase_step_y[i] = plane.phase_step_y; in SetScalerV2() 103 scaler->pe.num_ext_pxls_lr[i] = plane.left.extension; in SetScalerV2() 104 scaler->pe.num_ext_pxls_tb[i] = plane.top.extension; in SetScalerV2() 106 scaler->pe.left_ftch[i] = plane.left.overfetch; in SetScalerV2() 107 scaler->pe.top_ftch[i] = plane.top.overfetch; in SetScalerV2() 108 scaler->pe.right_ftch[i] = plane.right.overfetch; in SetScalerV2() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/src/ |
D | mm_lib2d.c | 211 p_frame->frame[0].plane[0].plane_type = PLANE_ARGB; in lib2d_fill_img_frame() 212 p_frame->frame[0].plane[0].addr = rgb_buffer->buffer; in lib2d_fill_img_frame() 213 p_frame->frame[0].plane[0].stride = rgb_buffer->stride; in lib2d_fill_img_frame() 214 p_frame->frame[0].plane[0].length = (rgb_buffer->stride * in lib2d_fill_img_frame() 216 p_frame->frame[0].plane[0].fd = rgb_buffer->fd; in lib2d_fill_img_frame() 217 p_frame->frame[0].plane[0].height = rgb_buffer->height; in lib2d_fill_img_frame() 218 p_frame->frame[0].plane[0].width = rgb_buffer->width; in lib2d_fill_img_frame() 219 p_frame->frame[0].plane[0].offset = 0; in lib2d_fill_img_frame() 220 p_frame->frame[0].plane[0].scanline = rgb_buffer->height; in lib2d_fill_img_frame() 229 p_frame->frame[0].plane[0].plane_type = PLANE_Y; in lib2d_fill_img_frame() [all …]
|
/hardware/google/gchips/gralloc3/src/ |
D | mali_gralloc_bufferallocation.cpp | 115 static rect_t get_afbc_sb_size(alloc_type_t alloc_type, const uint8_t plane) in get_afbc_sb_size() argument 117 if (plane > 0 && alloc_type.is_afbc() && alloc_type.is_multi_plane) in get_afbc_sb_size() 300 const uint8_t plane, in get_pixel_w_h() argument 303 const rect_t sb = get_afbc_sb_size(alloc_type, plane); in get_pixel_w_h() 310 if (plane == 0 || !format.planes_contiguous) in get_pixel_w_h() 319 if (plane > 0) in get_pixel_w_h() 330 if (has_cpu_usage && (plane == 0 || !format.planes_contiguous)) in get_pixel_w_h() 354 afbc_tile.width = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.width : 8 * afbc_tile.width; in get_pixel_w_h() 355 afbc_tile.height = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.height : 8 * afbc_tile.height; in get_pixel_w_h() 371 ALOGV("Plane[%hhu]: [SUB-SAMPLE] w:%d, h:%d\n", plane, *width, *height); in get_pixel_w_h() [all …]
|
/hardware/ti/am57x/libhwcomposer/ |
D | display.cpp | 46 for (auto plane : kdisp->card->get_planes()) { in setup_composition_pipes() local 47 auto possible_crtcs = plane->get_possible_crtcs(); in setup_composition_pipes() 49 planeProps[count].plane = plane; in setup_composition_pipes() 50 ALOGI("Overlay %d: plane_id: %d", count, planeProps[count].plane->id()); in setup_composition_pipes() 135 kms::Plane* plane = plane_props->plane; in set_plane_properties() local 137 req.add(plane, "FB_ID", plane_props->fb_info->fb_id); in set_plane_properties() 139 req.add(plane, "IN_FENCE_FD", plane_props->layer->acquireFenceFd); in set_plane_properties() 141 req.add(plane, { in set_plane_properties()
|
D | hwc.cpp | 398 static void adjust_drm_plane_to_layer(hwc_layer_1_t* layer, drm_plane_props_t* plane) in adjust_drm_plane_to_layer() argument 400 if (!layer || !plane) { in adjust_drm_plane_to_layer() 406 plane->crtc_x = layer->displayFrame.left; in adjust_drm_plane_to_layer() 407 plane->crtc_y = layer->displayFrame.top; in adjust_drm_plane_to_layer() 408 plane->crtc_w = WIDTH(layer->displayFrame); in adjust_drm_plane_to_layer() 409 plane->crtc_h = HEIGHT(layer->displayFrame); in adjust_drm_plane_to_layer() 412 plane->src_x = layer->sourceCrop.left; in adjust_drm_plane_to_layer() 413 plane->src_y = layer->sourceCrop.top; in adjust_drm_plane_to_layer() 414 plane->src_w = WIDTH(layer->sourceCrop); in adjust_drm_plane_to_layer() 415 plane->src_h = HEIGHT(layer->sourceCrop); in adjust_drm_plane_to_layer() [all …]
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-m2m1shot.cpp | 152 buf.plane[i].len = (pixfmt->bit_pp[i] * width * height) / 8; in SetFormat() 158 buf.plane[0].len = y_size + (c_span * height / 2) * 2; in SetFormat() 163 buf.plane[i].len += (i == 0) ? SCALER_EXT_SIZE : SCALER_EXT_SIZE / 2; in SetFormat() 203 buf.plane[i].fd = static_cast<__s32>(reinterpret_cast<long>(addr[i])); in SetAddr() 207 buf.plane[i].userptr = reinterpret_cast<unsigned long>(addr[i]); in SetAddr() 240 addr[i] = reinterpret_cast<char *>(mmap(NULL, buf.plane[i].len, in GetBuffer() 242 buf.plane[i].fd, 0)); in GetBuffer() 244 SC_LOGE("Failed to map FD %d", buf.plane[i].fd); in GetBuffer() 246 munmap(addr[i], buf.plane[i].len); in GetBuffer() 250 addr[i] = reinterpret_cast<char *>(buf.plane[i].userptr); in GetBuffer() [all …]
|
/hardware/google/graphics/common/libhwjpeg/ |
D | LibScalerForJpeg.cpp | 174 v4l2_plane plane[SCALER_MAX_PLANES]; in queueBuffer() local 176 memset(&plane, 0, sizeof(plane)); in queueBuffer() 179 buffer.m.planes = plane; in queueBuffer() 237 v4l2_plane plane[SCALER_MAX_PLANES]; in dequeueBuffer() local 239 memset(&plane, 0, sizeof(plane)); in dequeueBuffer() 245 buffer.m.planes = plane; in dequeueBuffer()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedRequestProcessor.cpp | 274 sensor_buffer->plane.img_y_crcb.img_y = in LockSensorBuffer() 276 sensor_buffer->plane.img_y_crcb.img_cb = in LockSensorBuffer() 278 sensor_buffer->plane.img_y_crcb.img_cr = in LockSensorBuffer() 280 sensor_buffer->plane.img_y_crcb.y_stride = yuv_layout.yStride; in LockSensorBuffer() 281 sensor_buffer->plane.img_y_crcb.cbcr_stride = yuv_layout.cStride; in LockSensorBuffer() 282 sensor_buffer->plane.img_y_crcb.cbcr_step = yuv_layout.chromaStep; in LockSensorBuffer() 284 std::abs(sensor_buffer->plane.img_y_crcb.img_cb - in LockSensorBuffer() 285 sensor_buffer->plane.img_y_crcb.img_cr) != 1) { in LockSensorBuffer() 289 std::abs(sensor_buffer->plane.img_y_crcb.img_cb - in LockSensorBuffer() 290 sensor_buffer->plane.img_y_crcb.img_cr))); in LockSensorBuffer() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc1Hal.h | 261 const auto& plane = flex.planes[i]; in toYCbCrLayout() local 263 if (plane.bits_per_component != 8 || plane.bits_used != 8) { in toYCbCrLayout() 267 if (plane.component == FLEX_COMPONENT_Y) { in toYCbCrLayout() 269 if (plane.h_increment != 1) { in toYCbCrLayout() 274 if (plane.h_increment != 1 && plane.h_increment != 2) { in toYCbCrLayout() 279 if (!plane.v_increment) { in toYCbCrLayout()
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_plane.cpp | 274 unique_ptr<DRMPlane> plane(new DRMPlane(fd_, i)); in Init() local 277 plane->InitAndParse(libdrm_plane); in Init() 278 object_pool_[resource->planes[i]] = std::move(plane); in Init() 288 auto plane = GetObject(obj_id); in Perform() local 289 if (plane == nullptr) { in Perform() 295 if (plane->ConfigureScalerLUT(dir_lut_blob_id_, cir_lut_blob_id_, in Perform() 301 plane->Perform(code, req, args); in Perform() 313 for (auto &plane : object_pool_) { in GetPlanesInfo() local 314 info->push_back(std::make_pair(plane.first, plane.second->GetPlaneTypeInfo())); in GetPlanesInfo() 322 for (auto &plane : object_pool_) { in UnsetUnusedResources() local [all …]
|
/hardware/interfaces/gnss/measurement_corrections/1.0/ |
D | types.hal | 67 * Defines the reflecting plane characteristics such as location and azimuth 69 * The value is only valid if HAS_REFLECTING_PLANE flag is set. An invalid reflecting plane 120 * A struct containing the characteristics of the reflecting plane that the satellite signal has 123 * The value is only valid if HAS_REFLECTING_PLANE flag is set. An invalid reflecting plane 128 /** Represents latitude of the reflecting plane in degrees. */ 131 /** Represents longitude of the reflecting plane in degrees. */ 135 * Represents altitude of the reflecting point in the plane in meters above the WGS 84 reference 140 /** Represents azimuth clockwise from north of the reflecting plane in degrees. */
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 259 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local 323 v4l2_buf.m.planes = plane; in async_venc_message_thread() 375 v4l2_buf.m.planes = plane; in async_venc_message_thread() 2532 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_empty_buf() local 2540 memset (&plane, 0, sizeof(plane)); in venc_empty_buf() 2554 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf() 2555 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf() 2556 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf() 2557 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf() 2568 plane[0].m.userptr = index; in venc_empty_buf() [all …]
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_formats.cpp | 190 size_t halfmt_plane_length(uint32_t fmt, unsigned int plane, uint32_t width, uint32_t height) in halfmt_plane_length() argument 194 LOGASSERT(plane < __halfmt_plane_bpp[i].bufcnt, in halfmt_plane_length() 196 __halfmt_plane_bpp[i].bufcnt, plane); in halfmt_plane_length() 197 if (plane < __halfmt_plane_bpp[i].bufcnt) in halfmt_plane_length() 198 return (__halfmt_plane_bpp[i].bpp[plane] * width * height) / 8; in halfmt_plane_length() 202 LOGASSERT(1, "Unable to find HAL format %#x with plane %d", fmt, plane); in halfmt_plane_length()
|