Home
last modified time | relevance | path

Searched refs:buffer_dim (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/sm7250/display/composer/
Dhwc_display_virtual_gpu.cpp128 BufferDim_t buffer_dim; in SetOutputBuffer() local
129 if (getMetaData(const_cast<private_handle_t *>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in SetOutputBuffer()
130 output_buffer_.unaligned_width = buffer_dim.sliceWidth; in SetOutputBuffer()
131 output_buffer_.unaligned_height = buffer_dim.sliceHeight; in SetOutputBuffer()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp491 BufferDim_t buffer_dim = {}; in SetMetaData() local
492 buffer_dim.sliceWidth = pvt_handle->width; in SetMetaData()
493 buffer_dim.sliceHeight = pvt_handle->height; in SetMetaData()
494 if (getMetaData(handle, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in SetMetaData()
496 buffer_allocator_->GetCustomWidthAndHeight(pvt_handle, &buffer_dim.sliceWidth, in SetMetaData()
497 &buffer_dim.sliceHeight); in SetMetaData()
499 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(handle, &buffer_dim.sliceWidth, in SetMetaData()
500 &buffer_dim.sliceHeight); in SetMetaData()
502 layer_buffer->width = UINT32(buffer_dim.sliceWidth); in SetMetaData()
503 layer_buffer->height = UINT32(buffer_dim.sliceHeight); in SetMetaData()
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp440 BufferDim_t buffer_dim; in GetYUVPlaneInfo() local
441 if (getMetaData(const_cast<private_handle_t *>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
442 BufferInfo info(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, usage); in GetYUVPlaneInfo()
754 BufferDim_t buffer_dim; in GetCustomDimensions() local
759 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetCustomDimensions()
760 *stride = buffer_dim.sliceWidth; in GetCustomDimensions()
761 *height = buffer_dim.sliceHeight; in GetCustomDimensions()
Dgr_device_impl.cpp691 BufferDim_t buffer_dim; in Perform() local
692 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
693 *stride = buffer_dim.sliceWidth; in Perform()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp572 BufferDim_t buffer_dim; in Perform() local
573 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
574 *stride = buffer_dim.sliceWidth; in Perform()
589 BufferDim_t buffer_dim; in Perform() local
590 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
591 *stride = buffer_dim.sliceWidth; in Perform()
592 *height = buffer_dim.sliceHeight; in Perform()
Dgr_allocator.cpp388 BufferDim_t buffer_dim = {}; in GetYUVPlaneInfo() local
389 if (getMetaData(const_cast<private_handle_t*>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
397 BufferDescriptor(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, in GetYUVPlaneInfo()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_mgr.cpp606 BufferDim_t buffer_dim; in Perform() local
607 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
608 *stride = buffer_dim.sliceWidth; in Perform()
627 BufferDim_t buffer_dim; in Perform() local
628 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
629 *stride = buffer_dim.sliceWidth; in Perform()
630 *height = buffer_dim.sliceHeight; in Perform()
Dgr_utils.cpp369 BufferDim_t buffer_dim; in GetYUVPlaneInfo() local
371 GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
377 BufferInfo info(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, in GetYUVPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp580 BufferDim_t buffer_dim; in Perform() local
581 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
582 *stride = buffer_dim.sliceWidth; in Perform()
597 BufferDim_t buffer_dim; in Perform() local
598 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
599 *stride = buffer_dim.sliceWidth; in Perform()
600 *height = buffer_dim.sliceHeight; in Perform()
Dgr_allocator.cpp387 BufferDim_t buffer_dim = {}; in GetYUVPlaneInfo() local
388 if (getMetaData(const_cast<private_handle_t*>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
396 BufferDescriptor(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, in GetYUVPlaneInfo()
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_mgr.cpp609 BufferDim_t buffer_dim; in Perform() local
610 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
611 *stride = buffer_dim.sliceWidth; in Perform()
630 BufferDim_t buffer_dim; in Perform() local
631 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
632 *stride = buffer_dim.sliceWidth; in Perform()
633 *height = buffer_dim.sliceHeight; in Perform()
Dgr_utils.cpp369 BufferDim_t buffer_dim; in GetYUVPlaneInfo() local
371 GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
377 BufferInfo info(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, in GetYUVPlaneInfo()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp580 BufferDim_t buffer_dim; in GetYUVPlaneInfo() local
581 if (getMetaData(const_cast<private_handle_t *>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
582 BufferInfo info(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, usage); in GetYUVPlaneInfo()
926 BufferDim_t buffer_dim; in GetCustomDimensions() local
931 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetCustomDimensions()
932 *stride = buffer_dim.sliceWidth; in GetCustomDimensions()
933 *height = buffer_dim.sliceHeight; in GetCustomDimensions()
Dgr_device_impl.cpp710 BufferDim_t buffer_dim; in Perform() local
711 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
712 *stride = buffer_dim.sliceWidth; in Perform()
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp615 BufferDim_t buffer_dim; in GetYUVPlaneInfo() local
616 if (getMetaData(const_cast<private_handle_t *>(hnd), GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetYUVPlaneInfo()
617 BufferInfo info(buffer_dim.sliceWidth, buffer_dim.sliceHeight, format, usage); in GetYUVPlaneInfo()
965 BufferDim_t buffer_dim; in GetCustomDimensions() local
970 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in GetCustomDimensions()
971 *stride = buffer_dim.sliceWidth; in GetCustomDimensions()
972 *height = buffer_dim.sliceHeight; in GetCustomDimensions()
Dgr_device_impl.cpp713 BufferDim_t buffer_dim; in Perform() local
714 if (getMetaData(hnd, GET_BUFFER_GEOMETRY, &buffer_dim) == 0) { in Perform()
715 *stride = buffer_dim.sliceWidth; in Perform()