/hardware/google/easel/camera/libhdrplusclient/ |
D | HdrPlusClientUtils.cpp | 37 if (streamConfig.image.planes.size() != 2) { in getRgb() 39 streamConfig.image.planes.size()); in getRgb() 44 uint32_t yIndex = y * streamConfig.image.planes[0].stride + x; in getRgb() 45 uint32_t vIndex = streamConfig.image.planes[0].scanline * in getRgb() 46 streamConfig.image.planes[0].stride + in getRgb() 47 (y / 2) * streamConfig.image.planes[1].stride + (x & ~0x1); in getRgb() 62 if (streamConfig.image.planes.size() != 1) { in getRgb() 64 streamConfig.image.planes.size()); in getRgb() 68 uint32_t offset = y * streamConfig.image.planes[0].stride + x * 3; in getRgb()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | mapper.cpp | 343 layout->planes[i].bits_per_component = 8; in ycbcr_to_flexible_layout() 344 layout->planes[i].bits_used = 8; in ycbcr_to_flexible_layout() 345 layout->planes[i].h_increment = 1; in ycbcr_to_flexible_layout() 346 layout->planes[i].v_increment = 1; in ycbcr_to_flexible_layout() 347 layout->planes[i].h_subsampling = 2; in ycbcr_to_flexible_layout() 348 layout->planes[i].v_subsampling = 2; in ycbcr_to_flexible_layout() 351 layout->planes[0].top_left = (uint8_t*)ycbcr->y; in ycbcr_to_flexible_layout() 352 layout->planes[0].component = FLEX_COMPONENT_Y; in ycbcr_to_flexible_layout() 353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; in ycbcr_to_flexible_layout() 355 layout->planes[1].top_left = (uint8_t*)ycbcr->cb; in ycbcr_to_flexible_layout() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/default/ |
D | Gralloc1Mapper.cpp | 123 const auto& plane = flex.planes[i]; in toYCbCrLayout() 146 if (flex.planes[0].component != FLEX_COMPONENT_Y || in toYCbCrLayout() 147 flex.planes[1].component != FLEX_COMPONENT_Cb || in toYCbCrLayout() 148 flex.planes[2].component != FLEX_COMPONENT_Cr) { in toYCbCrLayout() 152 const auto& y = flex.planes[0]; in toYCbCrLayout() 153 const auto& cb = flex.planes[1]; in toYCbCrLayout() 154 const auto& cr = flex.planes[2]; in toYCbCrLayout() 221 flex.planes = flexPlanes.data(); in lockBuffer()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | mapper.cpp | 343 layout->planes[i].bits_per_component = 8; in ycbcr_to_flexible_layout() 344 layout->planes[i].bits_used = 8; in ycbcr_to_flexible_layout() 345 layout->planes[i].h_increment = 1; in ycbcr_to_flexible_layout() 346 layout->planes[i].v_increment = 1; in ycbcr_to_flexible_layout() 347 layout->planes[i].h_subsampling = 2; in ycbcr_to_flexible_layout() 348 layout->planes[i].v_subsampling = 2; in ycbcr_to_flexible_layout() 351 layout->planes[0].top_left = (uint8_t*)ycbcr->y; in ycbcr_to_flexible_layout() 352 layout->planes[0].component = FLEX_COMPONENT_Y; in ycbcr_to_flexible_layout() 353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; in ycbcr_to_flexible_layout() 355 layout->planes[1].top_left = (uint8_t*)ycbcr->cb; in ycbcr_to_flexible_layout() [all …]
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_buf_mgr.cpp | 816 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 817 layout->planes[i].bits_used = 8; in GetFlexLayout() 818 layout->planes[i].h_increment = 1; in GetFlexLayout() 819 layout->planes[i].v_increment = 1; in GetFlexLayout() 820 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 821 layout->planes[i].v_subsampling = 2; in GetFlexLayout() 824 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); in GetFlexLayout() 825 layout->planes[0].component = FLEX_COMPONENT_Y; in GetFlexLayout() 826 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); in GetFlexLayout() 828 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); in GetFlexLayout() [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_mgr.cpp | 803 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 804 layout->planes[i].bits_used = 8; in GetFlexLayout() 805 layout->planes[i].h_increment = 1; in GetFlexLayout() 806 layout->planes[i].v_increment = 1; in GetFlexLayout() 807 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 808 layout->planes[i].v_subsampling = 2; in GetFlexLayout() 811 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); in GetFlexLayout() 812 layout->planes[0].component = FLEX_COMPONENT_Y; in GetFlexLayout() 813 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); in GetFlexLayout() 815 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); in GetFlexLayout() [all …]
|
/hardware/qcom/display/sdm845/libgralloc1/ |
D | gr_buf_mgr.cpp | 841 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 842 layout->planes[i].bits_used = 8; in GetFlexLayout() 843 layout->planes[i].h_increment = 1; in GetFlexLayout() 844 layout->planes[i].v_increment = 1; in GetFlexLayout() 845 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 846 layout->planes[i].v_subsampling = 2; in GetFlexLayout() 849 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); in GetFlexLayout() 850 layout->planes[0].component = FLEX_COMPONENT_Y; in GetFlexLayout() 851 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); in GetFlexLayout() 853 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); in GetFlexLayout() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_primary.cpp | 427 if (output_buffer->planes[0].fd >= 0) { in Commit() 428 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 429 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() 430 SetStride(device_type_, output_buffer->format, output_buffer->planes[0].stride, in Commit() 431 &mdp_out_layer_.buffer.planes[0].stride); in Commit() 437 mdp_out_layer_.buffer.planes[0].fd, mdp_out_layer_.buffer.planes[0].offset, in Commit() 438 mdp_out_layer_.buffer.planes[0].stride); in Commit()
|
D | hw_device.cpp | 391 if (input_buffer->planes[0].fd >= 0) { in Commit() 393 mdp_buffer.planes[0].fd = input_buffer->planes[0].fd; in Commit() 394 mdp_buffer.planes[0].offset = input_buffer->planes[0].offset; in Commit() 395 SetStride(device_type_, input_buffer->format, input_buffer->planes[0].stride, in Commit() 396 &mdp_buffer.planes[0].stride); in Commit() 410 "in_plane_count %d, in_fence %d, layer count %d", mdp_buffer.planes[0].fd, in Commit() 411 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit() 422 if (output_buffer->planes[0].fd >= 0) { in Commit() 423 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 424 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() [all …]
|
/hardware/qcom/display/sdm845/sdm/libs/core/fb/ |
D | hw_primary.cpp | 433 if (output_buffer->planes[0].fd >= 0) { in Commit() 434 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 435 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() 436 SetStride(device_type_, output_buffer->format, output_buffer->planes[0].stride, in Commit() 437 &mdp_out_layer_.buffer.planes[0].stride); in Commit() 443 mdp_out_layer_.buffer.planes[0].fd, mdp_out_layer_.buffer.planes[0].offset, in Commit() 444 mdp_out_layer_.buffer.planes[0].stride); in Commit()
|
D | hw_device.cpp | 438 if (input_buffer->planes[0].fd >= 0) { in Commit() 440 mdp_buffer.planes[0].fd = input_buffer->planes[0].fd; in Commit() 441 mdp_buffer.planes[0].offset = input_buffer->planes[0].offset; in Commit() 442 SetStride(device_type_, input_buffer->format, input_buffer->planes[0].stride, in Commit() 443 &mdp_buffer.planes[0].stride); in Commit() 457 "in_plane_count %d, in_fence %d, layer count %d", mdp_buffer.planes[0].fd, in Commit() 458 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit() 469 if (output_buffer->planes[0].fd >= 0) { in Commit() 470 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 471 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_primary.cpp | 433 if (output_buffer->planes[0].fd >= 0) { in Commit() 434 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 435 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() 436 SetStride(device_type_, output_buffer->format, output_buffer->planes[0].stride, in Commit() 437 &mdp_out_layer_.buffer.planes[0].stride); in Commit() 443 mdp_out_layer_.buffer.planes[0].fd, mdp_out_layer_.buffer.planes[0].offset, in Commit() 444 mdp_out_layer_.buffer.planes[0].stride); in Commit()
|
D | hw_device.cpp | 435 if (input_buffer->planes[0].fd >= 0) { in Commit() 437 mdp_buffer.planes[0].fd = input_buffer->planes[0].fd; in Commit() 438 mdp_buffer.planes[0].offset = input_buffer->planes[0].offset; in Commit() 439 SetStride(device_type_, input_buffer->format, input_buffer->planes[0].stride, in Commit() 440 &mdp_buffer.planes[0].stride); in Commit() 454 "in_plane_count %d, in_fence %d, layer count %d", mdp_buffer.planes[0].fd, in Commit() 455 mdp_buffer.planes[0].offset, mdp_buffer.planes[0].stride, mdp_buffer.plane_count, in Commit() 466 if (output_buffer->planes[0].fd >= 0) { in Commit() 467 mdp_out_layer_.buffer.planes[0].fd = output_buffer->planes[0].fd; in Commit() 468 mdp_out_layer_.buffer.planes[0].offset = output_buffer->planes[0].offset; in Commit() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 245 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef() 246 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef() 247 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef() 248 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef() 250 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef() 251 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef() 252 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef() 253 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef() 254 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef() 255 bufDef.planes_buf.planes[i-1].length; in getBufDef()
|
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 221 output_buffer_->planes[0].fd = output_handle->fd; in SetOutputBuffer() 222 output_buffer_->planes[0].offset = output_handle->offset; in SetOutputBuffer() 223 output_buffer_->planes[0].stride = UINT32(output_handle->width); in SetOutputBuffer()
|
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/ |
D | Android.mk | 48 ../../common/planes/DisplayPlane.cpp \ 49 ../../common/planes/DisplayPlaneManager.cpp \ 115 $(LOCAL_PATH)/../../common/planes \
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 221 output_buffer_->planes[0].fd = output_handle->fd; in SetOutputBuffer() 222 output_buffer_->planes[0].offset = output_handle->offset; in SetOutputBuffer() 223 output_buffer_->planes[0].stride = UINT32(output_handle->width); in SetOutputBuffer()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display_virtual.cpp | 214 output_buffer_->planes[0].fd = output_handle->fd; in SetOutputBuffer() 215 output_buffer_->planes[0].offset = output_handle->offset; in SetOutputBuffer() 216 output_buffer_->planes[0].stride = UINT32(output_handle->width); in SetOutputBuffer()
|
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/ |
D | Android.mk | 48 ../../common/planes/DisplayPlane.cpp \ 49 ../../common/planes/DisplayPlaneManager.cpp \ 112 $(LOCAL_PATH)/../../common/planes \
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 309 output_buffer_->planes[0].fd = output_handle->fd; in CommitOutputBufferParams() 310 output_buffer_->planes[0].offset = output_handle->offset; in CommitOutputBufferParams() 311 output_buffer_->planes[0].stride = UINT32(output_handle->width); in CommitOutputBufferParams()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ |
D | Android.mk | 54 common/planes/DisplayPlane.cpp \ 55 common/planes/DisplayPlaneManager.cpp \
|
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
D | hwc_display_virtual.cpp | 320 output_buffer_->planes[0].fd = output_handle->fd; in CommitOutputBufferParams() 321 output_buffer_->planes[0].offset = output_handle->offset; in CommitOutputBufferParams() 322 output_buffer_->planes[0].stride = UINT32(output_handle->width); in CommitOutputBufferParams()
|
/hardware/interfaces/graphics/mapper/2.0/ |
D | types.hal | 46 * y, cb, and cr point to the first byte of their respective planes. 52 * cStride is the stride of the chroma planes.
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
D | layer_buffer.h | 231 LayerBufferPlane planes[4] = {}; member
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
D | layer_buffer.h | 234 LayerBufferPlane planes[4] = {}; member
|