Home
last modified time | relevance | path

Searched refs:plane (Results 1 – 25 of 73) sorted by relevance

123

/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_scale_drm.cpp84 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/drm/
Dhw_scale_drm.cpp84 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/fb/
Dhw_scale.cpp64 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/msm8909w_3100/sdm/libs/core/fb/
Dhw_scale.cpp64 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/
Dhw_scale.cpp64 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/
Dhw_scale.cpp64 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/
Dhw_scale.cpp64 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/
Dhw_scale.cpp64 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/
Dhw_scale_drm.cpp91 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/
Dhw_scale_drm.cpp91 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/camera/msm8998/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c211 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/ti/am57x/libhwcomposer/
Ddisplay.cpp46 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()
Dhwc.cpp398 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/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp76 const C2PlaneInfo &plane = layout.planes[i]; in _ImageCopy() local
77 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
78 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()
79 || plane.allocatedDepth != img->mBitDepthAllocated in _ImageCopy()
80 || plane.allocatedDepth < plane.bitDepth in _ImageCopy()
82 || plane.rightShift != plane.allocatedDepth - plane.bitDepth in _ImageCopy()
83 || (bpp > 1 && plane.endianness != plane.NATIVE)) { in _ImageCopy()
87 uint32_t planeW = img->mWidth / plane.colSampling; in _ImageCopy()
88 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy()
90 bool canCopyByRow = (plane.colInc == 1) && (img->mPlane[i].mColInc == 1); in _ImageCopy()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp272 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
273 ssize_t minOffset = plane.minOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
274 ssize_t maxOffset = plane.maxOffset(mWidth, mHeight); in GraphicView2MediaImageConverter()
281 planeSize += std::abs(plane.rowInc) * align(mHeight, 64) in GraphicView2MediaImageConverter()
282 … / plane.rowSampling / plane.colSampling * divUp(mAllocatedDepth, 8u); in GraphicView2MediaImageConverter()
290 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter() local
292 mediaImage->mPlane[i].mColInc = plane.colInc; in GraphicView2MediaImageConverter()
293 mediaImage->mPlane[i].mRowInc = plane.rowInc; in GraphicView2MediaImageConverter()
294 mediaImage->mPlane[i].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
295 mediaImage->mPlane[i].mVertSubsampling = plane.rowSampling; in GraphicView2MediaImageConverter()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc1Hal.h261 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/interfaces/gnss/measurement_corrections/1.0/
Dtypes.hal67 * 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/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp303 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local
367 v4l2_buf.m.planes = plane; in async_venc_message_thread()
421 v4l2_buf.m.planes = plane; in async_venc_message_thread()
3605 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_use_buf() local
3625 plane[0].length = pmem_tmp->size; in venc_use_buf()
3626 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
3627 plane[0].reserved[0] = pmem_tmp->fd; in venc_use_buf()
3628 plane[0].reserved[1] = 0; in venc_use_buf()
3629 plane[0].data_offset = pmem_tmp->offset; in venc_use_buf()
3630 buf.m.planes = plane; in venc_use_buf()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp168 struct v4l2_plane plane; in async_venc_message_thread() local
189 v4l2_buf.m.planes = &plane; in async_venc_message_thread()
206 v4l2_buf.m.planes = &plane; in async_venc_message_thread()
1439 struct v4l2_plane plane; in venc_use_buf() local
1452 plane.length = pmem_tmp->size; in venc_use_buf()
1453 plane.m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
1454 plane.reserved[0] = pmem_tmp->fd; in venc_use_buf()
1455 plane.reserved[1] = 0; in venc_use_buf()
1456 plane.data_offset = pmem_tmp->offset; in venc_use_buf()
1457 buf.m.planes = &plane; in venc_use_buf()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp288 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local
342 v4l2_buf.m.planes = plane; in async_venc_message_thread()
389 v4l2_buf.m.planes = plane; in async_venc_message_thread()
2507 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_use_buf() local
2518 plane[0].length = pmem_tmp->size; in venc_use_buf()
2519 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
2520 plane[0].reserved[0] = pmem_tmp->fd; in venc_use_buf()
2521 plane[0].reserved[1] = 0; in venc_use_buf()
2522 plane[0].data_offset = pmem_tmp->offset; in venc_use_buf()
2523 buf.m.planes = plane; in venc_use_buf()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp225 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local
289 v4l2_buf.m.planes = plane; in async_venc_message_thread()
343 v4l2_buf.m.planes = plane; in async_venc_message_thread()
3829 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_empty_buf() local
3836 memset (&plane, 0, sizeof(plane)); in venc_empty_buf()
3852 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
3853 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf()
3854 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf()
3855 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf()
3866 plane[0].m.userptr = index; in venc_empty_buf()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp327 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local
391 v4l2_buf.m.planes = plane; in async_venc_message_thread()
445 v4l2_buf.m.planes = plane; in async_venc_message_thread()
3209 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_use_buf() local
3221 plane[0].length = pmem_tmp->size; in venc_use_buf()
3222 plane[0].m.userptr = (unsigned long)pmem_tmp->buffer; in venc_use_buf()
3223 plane[0].reserved[0] = pmem_tmp->fd; in venc_use_buf()
3224 plane[0].reserved[1] = 0; in venc_use_buf()
3225 plane[0].data_offset = pmem_tmp->offset; in venc_use_buf()
3226 buf.m.planes = plane; in venc_use_buf()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp254 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_venc_message_thread() local
318 v4l2_buf.m.planes = plane; in async_venc_message_thread()
370 v4l2_buf.m.planes = plane; in async_venc_message_thread()
4099 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in venc_empty_buf() local
4107 memset (&plane, 0, sizeof(plane)); in venc_empty_buf()
4123 plane[0].m.userptr = (unsigned long)pmem_data_buf; in venc_empty_buf()
4124 plane[0].data_offset = bufhdr->nOffset; in venc_empty_buf()
4125 plane[0].length = bufhdr->nAllocLen; in venc_empty_buf()
4126 plane[0].bytesused = bufhdr->nFilledLen; in venc_empty_buf()
4137 plane[0].m.userptr = index; in venc_empty_buf()
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssConfiguration.hal51 /** Enable LTE Positioning Protocol user plane */
54 /** Enable LTE Positioning Protocol Control plane */
63 /** Radio Resource Control(RRC) control-plane. */
66 /** Radio Resource Location user-plane. */
69 /** LTE Positioning Protocol User plane */
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp133 struct v4l2_plane plane[VIDEO_MAX_PLANES]; in async_message_thread() local
159 v4l2_buf.m.planes = plane; in async_message_thread()
164 vdec_msg.msgdata.output_frame.len=plane[0].bytesused; in async_message_thread()
165 vdec_msg.msgdata.output_frame.bufferaddr=(void*)plane[0].m.userptr; in async_message_thread()
169 vdec_msg.msgdata.output_frame.framesize.left = plane[0].reserved[2]; in async_message_thread()
170 vdec_msg.msgdata.output_frame.framesize.top = plane[0].reserved[3]; in async_message_thread()
171 vdec_msg.msgdata.output_frame.framesize.right = plane[0].reserved[4]; in async_message_thread()
172 vdec_msg.msgdata.output_frame.framesize.bottom = plane[0].reserved[5]; in async_message_thread()
185 v4l2_buf.m.planes = plane; in async_message_thread()
248 v4l2_buf.m.planes = plane; in async_message_thread()
[all …]

123