/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display.cpp | 425 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams() local 429 if (pvt_handle) { in PrepareLayerParams() 430 layer_buffer.planes[0].fd = pvt_handle->fd; in PrepareLayerParams() 431 layer_buffer.format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams() 435 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(pvt_handle, aligned_width, in PrepareLayerParams() 437 AdrenoMemInfo::getInstance().getUnalignedWidthAndHeight(pvt_handle, unaligned_width, in PrepareLayerParams() 445 if (SetMetaData(pvt_handle, layer) != kErrorNone) { in PrepareLayerParams() 449 if (pvt_handle->bufferType == BUFFER_TYPE_VIDEO) { in PrepareLayerParams() 454 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in PrepareLayerParams() 457 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_CAMERA_WRITE) { in PrepareLayerParams() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display.cpp | 425 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams() local 429 if (pvt_handle) { in PrepareLayerParams() 430 layer_buffer.planes[0].fd = pvt_handle->fd; in PrepareLayerParams() 431 layer_buffer.format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams() 435 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(pvt_handle, aligned_width, in PrepareLayerParams() 437 AdrenoMemInfo::getInstance().getUnalignedWidthAndHeight(pvt_handle, unaligned_width, in PrepareLayerParams() 445 if (SetMetaData(pvt_handle, layer) != kErrorNone) { in PrepareLayerParams() 449 if (pvt_handle->bufferType == BUFFER_TYPE_VIDEO) { in PrepareLayerParams() 454 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in PrepareLayerParams() 457 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_CAMERA_WRITE) { in PrepareLayerParams() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display.cpp | 343 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer->handle); in PrepareLayerParams() local 347 if (pvt_handle) { in PrepareLayerParams() 348 layer_buffer->format = GetSDMFormat(pvt_handle->format, pvt_handle->flags); in PrepareLayerParams() 349 layer_buffer->width = UINT32(pvt_handle->width); in PrepareLayerParams() 350 layer_buffer->height = UINT32(pvt_handle->height); in PrepareLayerParams() 352 if (SetMetaData(pvt_handle, layer) != kErrorNone) { in PrepareLayerParams() 356 if (pvt_handle->bufferType == BUFFER_TYPE_VIDEO) { in PrepareLayerParams() 361 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in PrepareLayerParams() 366 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_PROTECTED_BUFFER) { in PrepareLayerParams() 369 if (pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_DISPLAY) { in PrepareLayerParams() [all …]
|
/hardware/qcom/sdm845/display/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 137 EGLImageBuffer *EGLImageWrapper::wrap(const void *pvt_handle) in wrap() argument 140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap()
|
D | EGLImageWrapper.h | 44 EGLImageBuffer* wrap(const void *pvt_handle);
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 137 EGLImageBuffer *EGLImageWrapper::wrap(const void *pvt_handle) in wrap() argument 140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap()
|
D | EGLImageWrapper.h | 44 EGLImageBuffer* wrap(const void *pvt_handle);
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 137 EGLImageBuffer *EGLImageWrapper::wrap(const void *pvt_handle) in wrap() argument 140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap()
|
D | EGLImageWrapper.h | 44 EGLImageBuffer* wrap(const void *pvt_handle);
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | EGLImageWrapper.cpp | 137 EGLImageBuffer *EGLImageWrapper::wrap(const void *pvt_handle) in wrap() argument 140 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap()
|
D | EGLImageWrapper.h | 44 EGLImageBuffer* wrap(const void *pvt_handle);
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | EGLImageWrapper.h | 57 EGLImageBuffer* wrap(const void *pvt_handle);
|
D | EGLImageWrapper.cpp | 178 EGLImageBuffer *EGLImageWrapper::wrap(const void *pvt_handle) in wrap() argument 181 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_layers.h | 42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 116 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_layers.cpp | 36 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata) { in SetCSC() argument 37 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_METADATA, in SetCSC() 40 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, in SetCSC() 560 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument 570 if (sdm::SetCSC(pvt_handle, &layer_buffer->color_metadata) != kErrorNone) { in SetMetaData() 575 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 487 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument 489 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData() 492 buffer_dim.sliceWidth = pvt_handle->width; in SetMetaData() 493 buffer_dim.sliceHeight = pvt_handle->height; in SetMetaData() 496 buffer_allocator_->GetCustomWidthAndHeight(pvt_handle, &buffer_dim.sliceWidth, in SetMetaData() 507 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, &csc) == 0) { in SetMetaData()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_layers.h | 42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 122 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_display.cpp | 1477 const private_handle_t *pvt_handle = in BuildLayerStack() local 1482 DisplayError error = buffer_allocator_->MapBuffer(pvt_handle, acquire_fence_fd); in BuildLayerStack() 1489 pvt_handle, pvt_handle? pvt_handle->base : 0); in BuildLayerStack() 1491 if (!pvt_handle) { in BuildLayerStack() 1496 if (!pvt_handle->base) { in BuildLayerStack() 1497 DisplayError error = buffer_allocator_->MapBuffer(pvt_handle, -1); in BuildLayerStack() 1508 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack() 1509 qdutils::GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in BuildLayerStack() 1513 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in BuildLayerStack() 1518 DisplayError error = buffer_allocator_->UnmapBuffer(pvt_handle, &release_fence); in BuildLayerStack()
|
D | hwc_layers.cpp | 36 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata) { in SetCSC() argument 37 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_METADATA, in SetCSC() 40 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, in SetCSC() 667 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument 669 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_layers.h | 42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 123 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_layers.cpp | 36 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata) { in SetCSC() argument 37 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_METADATA, in SetCSC() 40 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, in SetCSC() 668 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument 670 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_layers.h | 48 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 150 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_display.cpp | 1815 const private_handle_t *pvt_handle = in DumpInputBuffers() local 1828 pvt_handle, pvt_handle? pvt_handle->base : 0); in DumpInputBuffers() 1830 if (!pvt_handle) { in DumpInputBuffers() 1835 if (!pvt_handle->base) { in DumpInputBuffers() 1836 DisplayError error = buffer_allocator_->MapBuffer(pvt_handle, -1); in DumpInputBuffers() 1847 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers() 1848 qdutils::GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in DumpInputBuffers() 1852 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in DumpInputBuffers() 1857 DisplayError error = buffer_allocator_->UnmapBuffer(pvt_handle, &release_fence); in DumpInputBuffers()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_layers.h | 48 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 153 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_display.cpp | 1648 const private_handle_t *pvt_handle = in DumpInputBuffers() local 1661 pvt_handle, pvt_handle? pvt_handle->base : 0); in DumpInputBuffers() 1663 if (!pvt_handle) { in DumpInputBuffers() 1668 if (!pvt_handle->base) { in DumpInputBuffers() 1669 DisplayError error = buffer_allocator_->MapBuffer(pvt_handle, -1); in DumpInputBuffers() 1680 dir_path, i, pvt_handle->width, pvt_handle->height, in DumpInputBuffers() 1681 qdutils::GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in DumpInputBuffers() 1685 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in DumpInputBuffers() 1690 DisplayError error = buffer_allocator_->UnmapBuffer(pvt_handle, &release_fence); in DumpInputBuffers()
|