/hardware/google/gchips/gralloc4/src/core/ |
D | exynos_format_allocation.h | 56 int setup_sbwc_420_sp(int w, int h, int fd_count, plane_info_t *plane) in setup_sbwc_420_sp() argument 58 std::tie(plane[0].size, plane[1].size) = sbwc_sizes<8>(w, h); in setup_sbwc_420_sp() 60 plane[0].alloc_width = GRALLOC_ALIGN(w, 32); in setup_sbwc_420_sp() 61 plane[0].alloc_height = __ALIGN_UP(h, 16); in setup_sbwc_420_sp() 62 plane[0].byte_stride = SBWC_8B_STRIDE(w); in setup_sbwc_420_sp() 63 plane[0].fd_idx = 0; in setup_sbwc_420_sp() 65 plane[1].alloc_width = GRALLOC_ALIGN(w, 32); in setup_sbwc_420_sp() 66 plane[1].alloc_height = __ALIGN_UP(h, 16) / 2; in setup_sbwc_420_sp() 67 plane[1].byte_stride = SBWC_8B_STRIDE(w); in setup_sbwc_420_sp() 71 plane[1].fd_idx = 1; in setup_sbwc_420_sp() [all …]
|
D | mali_gralloc_bufferallocation.cpp | 140 static rect_t get_afbc_sb_size(alloc_type_t alloc_type, const uint8_t plane) in get_afbc_sb_size() argument 142 if (plane > 0 && alloc_type.is_afbc() && alloc_type.is_multi_plane) in get_afbc_sb_size() 317 const uint8_t plane, in get_pixel_w_h() argument 320 const rect_t sb = get_afbc_sb_size(alloc_type, plane); in get_pixel_w_h() 321 const bool is_primary_plane = (plane == 0 || !format.planes_contiguous); in get_pixel_w_h() 337 if (plane > 0) in get_pixel_w_h() 371 afbc_tile.width = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.width : 8 * afbc_tile.width; in get_pixel_w_h() 372 afbc_tile.height = format.bpp_afbc[plane] > 32 ? 4 * afbc_tile.height : 8 * afbc_tile.height; in get_pixel_w_h() 375 …MALI_GRALLOC_LOGV("Plane[%hhu]: [SUB-SAMPLE] w:%" PRIu64 ", h:%" PRIu64 "\n", plane, *width, *heig… in get_pixel_w_h() 376 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/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/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/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/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/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/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 <= 0 || (plane.bits_per_component % 8) != 0) { in toYCbCrLayout() 267 if (plane.bits_used < 1 || plane.bits_used > plane.bits_per_component) { in toYCbCrLayout() 270 if (plane.component == FLEX_COMPONENT_Y) { in toYCbCrLayout() 272 if (plane.h_increment != 1 && plane.h_increment != 2) { in toYCbCrLayout() 277 if (plane.h_increment != 1 && plane.h_increment != 2 && plane.h_increment != 4) { in toYCbCrLayout() 282 if (!plane.v_increment) { in toYCbCrLayout()
|
/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()
|
/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/gfxstream/host/gl/ |
D | YUVConverter.cpp | 87 GLint getGlTextureFormat(FrameworkFormat format, bool yuv420888ToNv21, YUVPlane plane) { in getGlTextureFormat() argument 90 switch (plane) { in getGlTextureFormat() 101 switch (plane) { in getGlTextureFormat() 112 switch (plane) { in getGlTextureFormat() 123 switch (plane) { in getGlTextureFormat() 134 switch (plane) { in getGlTextureFormat() 150 GLenum getGlPixelFormat(FrameworkFormat format, bool yuv420888ToNv21, YUVPlane plane) { in getGlPixelFormat() argument 153 switch (plane) { in getGlPixelFormat() 164 switch (plane) { in getGlPixelFormat() 175 switch (plane) { in getGlPixelFormat() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterface.cpp | 769 auto &plane = mDrmDevice->planes().at(i); in initDrmDevice() local 770 uint32_t plane_id = plane->id(); in initDrmDevice() 772 if (!plane->zpos_property().isImmutable()) { in initDrmDevice() 802 auto &plane = mDrmDevice->planes().front(); in initDrmDevice() local 803 parseBlendEnums(plane->blend_property()); in initDrmDevice() 804 parseStandardEnums(plane->standard_property()); in initDrmDevice() 805 parseTransferEnums(plane->transfer_property()); in initDrmDevice() 806 parseRangeEnums(plane->range_property()); in initDrmDevice() 1687 const std::unique_ptr<DrmPlane> &plane, in setupCommitFromDisplayConfig() argument 1701 if ((ret = drmReq.atomicAddProperty(plane->id(), in setupCommitFromDisplayConfig() [all …]
|
/hardware/google/graphics/common/libhwjpeg/ |
D | LibScalerForJpeg.cpp | 157 v4l2_plane plane[SCALER_MAX_PLANES]; in queueBuffer() local 159 memset(&plane, 0, sizeof(plane)); in queueBuffer() 162 buffer.m.planes = plane; in queueBuffer() 222 v4l2_plane plane[SCALER_MAX_PLANES]; in dequeueBuffer() local 224 memset(&plane, 0, sizeof(plane)); in dequeueBuffer() 230 buffer.m.planes = plane; in dequeueBuffer()
|
/hardware/google/gfxstream/guest/mesa/include/CL/ |
D | cl_va_api_media_sharing_intel.h | 40 cl_uint plane, 50 cl_uint plane, 114 cl_uint plane, 121 cl_uint plane,
|
D | cl_dx9_media_sharing.h | 106 …cl_uint plane, … 191 UINT plane, 199 UINT plane, 248 cl_uint plane, 258 cl_uint plane,
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_plane.cpp | 311 unique_ptr<DRMPlane> plane(new DRMPlane(fd_, i)); in Init() local 314 plane->InitAndParse(libdrm_plane); in Init() 315 object_pool_[resource->planes[i]] = std::move(plane); in Init() 326 auto plane = GetObject(obj_id); in Perform() local 327 if (plane == nullptr) { in Perform() 333 if (plane->ConfigureScalerLUT(dir_lut_blob_id_, cir_lut_blob_id_, in Perform() 339 plane->Perform(code, req, args); in Perform() 343 for (auto &plane : object_pool_) { in GetPlanesInfo() local 344 info->push_back(std::make_pair(plane.first, plane.second->GetPlaneTypeInfo())); in GetPlanesInfo() 352 for (auto &plane : object_pool_) { in UnsetUnusedResources() local [all …]
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedRequestProcessor.cpp | 305 sensor_buffer->plane.img_y_crcb.img_y = in LockSensorBuffer() 307 sensor_buffer->plane.img_y_crcb.img_cb = in LockSensorBuffer() 309 sensor_buffer->plane.img_y_crcb.img_cr = in LockSensorBuffer() 311 sensor_buffer->plane.img_y_crcb.y_stride = yuv_layout.ystride; in LockSensorBuffer() 312 sensor_buffer->plane.img_y_crcb.cbcr_stride = yuv_layout.cstride; in LockSensorBuffer() 313 sensor_buffer->plane.img_y_crcb.cbcr_step = yuv_layout.chroma_step; in LockSensorBuffer() 315 std::abs(sensor_buffer->plane.img_y_crcb.img_cb - in LockSensorBuffer() 316 sensor_buffer->plane.img_y_crcb.img_cr) != 1) { in LockSensorBuffer() 321 std::abs(sensor_buffer->plane.img_y_crcb.img_cb - in LockSensorBuffer() 322 sensor_buffer->plane.img_y_crcb.img_cr))); in LockSensorBuffer() [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/google/graphics/gs101/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterfaceModule.cpp | 243 const std::unique_ptr<DrmPlane> &plane, in setPlaneColorBlob() argument 258 if (mOldDppBlobs[ix].planeId == plane->id()) { in setPlaneColorBlob() 263 HWC_LOGE(mExynosDisplay, "%s: could not find plane %d", __func__, plane->id()); in setPlaneColorBlob() 298 if ((ret = drmReq.atomicAddProperty(plane->id(), prop, blobId)) < 0) { in setPlaneColorBlob() 312 const std::unique_ptr<DrmPlane> &plane, in setPlaneColorSetting() argument 370 bool planeChanged = colorManager->checkAndSaveLayerPlaneId(mppSource, plane->id()); in setPlaneColorSetting() 377 if ((ret = setPlaneColorBlob(plane, plane->eotf_lut_property(), in setPlaneColorSetting() 384 if ((ret = setPlaneColorBlob(plane, plane->gammut_matrix_property(), in setPlaneColorSetting() 391 if ((ret = setPlaneColorBlob(plane, plane->tone_mapping_property(), in setPlaneColorSetting() 398 if ((ret = setPlaneColorBlob(plane, plane->oetf_lut_property(), in setPlaneColorSetting()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_display/ |
D | display.adoc | 155 [open,refpage='vkGetPhysicalDeviceDisplayPlanePropertiesKHR',desc='Query the plane properties',type… 160 Devices must: support at least one plane on each display. 191 [open,refpage='VkDisplayPlanePropertiesKHR',desc='Structure describing display plane properties',ty… 197 * pname:currentDisplay is the handle of the display the plane is currently 199 If the plane is not currently attached to any displays, this will be 201 * pname:currentStackIndex is the current z-order of the plane. 233 [open,refpage='VkDisplayPlaneProperties2KHR',desc='Structure describing an available display plane'… 249 [open,refpage='vkGetDisplayPlaneSupportedDisplaysKHR',desc='Query the list of displays a plane supp… 253 To determine which displays a plane is usable with, call 258 * pname:planeIndex is the plane which the application wishes to use, and [all …]
|