/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 …]
|
D | hwc_display.h | 201 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_session.cpp | 1667 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/ |
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 …]
|
D | hwc_display.h | 201 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
/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 …]
|
D | hwc_display.h | 161 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_session.cpp | 1529 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/ |
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/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/msm8996/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 460 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()
|
D | hwc_display.cpp | 1116 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()
|
D | hwc_layers.h | 109 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
/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()
|
D | hwc_display.cpp | 1406 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/ |
D | hwc_layers.h | 42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 120 DisplayError SetMetaData(const private_handle_t *pvt_handle, Layer *layer);
|
D | hwc_display.cpp | 1464 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()
|
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() 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/ |
D | hwc_layers.h | 42 DisplayError SetCSC(const private_handle_t *pvt_handle, ColorMetaData *color_metadata); 119 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() 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()
|