Home
last modified time | relevance | path

Searched refs:pvt_handle (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp425 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 …]
Dhwc_display.h201 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
Dhwc_session.cpp1667 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer.handle); in HandleSecureDisplaySession() local
1668 if (pvt_handle && pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_DISPLAY) { in HandleSecureDisplaySession()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp425 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 …]
Dhwc_display.h201 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp343 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 …]
Dhwc_display.h161 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
Dhwc_session.cpp1529 const private_handle_t *pvt_handle = static_cast<const private_handle_t *>(hwc_layer.handle); in HandleSecureDisplaySession() local
1530 if (pvt_handle && pvt_handle->flags & private_handle_t::PRIV_FLAGS_SECURE_DISPLAY) { in HandleSecureDisplaySession()
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
DEGLImageWrapper.cpp137 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()
DEGLImageWrapper.h44 EGLImageBuffer* wrap(const void *pvt_handle);
/hardware/qcom/display/msm8909/gpu_tonemapper/
DEGLImageWrapper.cpp137 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()
DEGLImageWrapper.h44 EGLImageBuffer* wrap(const void *pvt_handle);
/hardware/qcom/display/msm8998/gpu_tonemapper/
DEGLImageWrapper.cpp137 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()
DEGLImageWrapper.h44 EGLImageBuffer* wrap(const void *pvt_handle);
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp460 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument
462 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()
465 buffer_dim.sliceWidth = pvt_handle->width; in SetMetaData()
466 buffer_dim.sliceHeight = pvt_handle->height; in SetMetaData()
469 buffer_allocator_->GetCustomWidthAndHeight(pvt_handle, &buffer_dim.sliceWidth, in SetMetaData()
480 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, &csc) == 0) { in SetMetaData()
Dhwc_display.cpp1116 const private_handle_t *pvt_handle = in BuildLayerStack() local
1128 if (pvt_handle && pvt_handle->base) { in BuildLayerStack()
1133 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1134 GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in BuildLayerStack()
1138 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in BuildLayerStack()
Dhwc_layers.h109 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.h42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata);
116 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
Dhwc_layers.cpp36 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()
Dhwc_display.cpp1406 const private_handle_t *pvt_handle = in BuildLayerStack() local
1418 if (pvt_handle && pvt_handle->base) { in BuildLayerStack()
1423 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1424 qdutils::GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in BuildLayerStack()
1428 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in BuildLayerStack()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.h42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata);
120 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
Dhwc_display.cpp1464 const private_handle_t *pvt_handle = in BuildLayerStack() local
1477 pvt_handle, pvt_handle? pvt_handle->base : 0); in BuildLayerStack()
1479 if (!pvt_handle) { in BuildLayerStack()
1484 if (!pvt_handle->base) { in BuildLayerStack()
1485 DisplayError error = buffer_allocator_->MapBuffer(pvt_handle, -1); in BuildLayerStack()
1496 dir_path, i, pvt_handle->width, pvt_handle->height, in BuildLayerStack()
1497 qdutils::GetHALPixelFormatString(pvt_handle->format), dump_frame_index_); in BuildLayerStack()
1501 result = fwrite(reinterpret_cast<void *>(pvt_handle->base), pvt_handle->size, 1, fp); in BuildLayerStack()
1506 DisplayError error = buffer_allocator_->UnmapBuffer(pvt_handle, &release_fence); in BuildLayerStack()
Dhwc_layers.cpp36 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()
660 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument
662 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.h42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata);
119 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
Dhwc_layers.cpp36 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()
656 DisplayError HWCLayer::SetMetaData(const private_handle_t *pvt_handle, Layer *layer) { in SetMetaData() argument
658 private_handle_t *handle = const_cast<private_handle_t *>(pvt_handle); in SetMetaData()

12