/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 125 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 129 registry_.MapOutputBufferToFbId(output_buffer); in Commit() 130 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Commit() 134 ConfigureWbConnectorSecureMode(output_buffer->flags.secure); in Commit() 145 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 147 registry_.MapOutputBufferToFbId(output_buffer); in Validate() 148 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Validate() 152 ConfigureWbConnectorSecureMode(output_buffer->flags.secure); in Validate()
|
D | hw_peripheral_drm.cpp | 86 PostCommitConcurrentWriteback(hw_layer_info.stack->output_buffer); in Commit() 154 bool enable = hw_resource_.has_concurrent_writeback && hw_layer_info.stack->output_buffer; in SetupConcurrentWriteback() 220 LayerBuffer *output_buffer = layer_stack->output_buffer; in ConfigureConcurrentWriteback() local 221 registry_.MapOutputBufferToFbId(output_buffer); in ConfigureConcurrentWriteback() 232 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in ConfigureConcurrentWriteback() 236 bool secure = output_buffer->flags.secure; in ConfigureConcurrentWriteback() 249 void HWPeripheralDRM::PostCommitConcurrentWriteback(LayerBuffer *output_buffer) { in PostCommitConcurrentWriteback() argument 250 bool enabled = hw_resource_.has_concurrent_writeback && output_buffer; in PostCommitConcurrentWriteback() 254 int *fence = &output_buffer->release_fence_fd; in PostCommitConcurrentWriteback()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 126 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 130 registry_.MapOutputBufferToFbId(output_buffer); in Commit() 131 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Commit() 135 ConfigureWbConnectorSecureMode(output_buffer->flags.secure); in Commit() 159 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 161 registry_.MapOutputBufferToFbId(output_buffer); in Validate() 162 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in Validate() 166 ConfigureWbConnectorSecureMode(output_buffer->flags.secure); in Validate()
|
D | hw_peripheral_drm.cpp | 131 PostCommitConcurrentWriteback(hw_layer_info.stack->output_buffer); in Commit() 309 bool enable = hw_resource_.has_concurrent_writeback && hw_layer_info.stack->output_buffer; in SetupConcurrentWriteback() 326 int *fence = &hw_layer_info.stack->output_buffer->release_fence_fd; in SetupConcurrentWriteback() 382 LayerBuffer *output_buffer = layer_stack->output_buffer; in ConfigureConcurrentWriteback() local 383 registry_.MapOutputBufferToFbId(output_buffer); in ConfigureConcurrentWriteback() 394 uint32_t fb_id = registry_.GetOutputFbId(output_buffer->handle_id); in ConfigureConcurrentWriteback() 398 bool secure = output_buffer->flags.secure; in ConfigureConcurrentWriteback() 411 void HWPeripheralDRM::PostCommitConcurrentWriteback(LayerBuffer *output_buffer) { in PostCommitConcurrentWriteback() argument 412 bool enabled = hw_resource_.has_concurrent_writeback && output_buffer; in PostCommitConcurrentWriteback()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_primary.cpp | 398 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 399 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 401 mdp_out_layer_.buffer.width = output_buffer->width; in Validate() 402 mdp_out_layer_.buffer.height = output_buffer->height; in Validate() 407 SetCSC(output_buffer->csc, &mdp_out_layer_.color_space); in Validate() 409 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 424 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 426 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
D | hw_device.cpp | 199 input_buffer = &hw_rotator_session->output_buffer; in Validate() 269 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 271 mdp_out_layer_.buffer.width = output_buffer->width; in Validate() 272 mdp_out_layer_.buffer.height = output_buffer->height; in Validate() 273 if (output_buffer->flags.secure) { in Validate() 279 SetCSC(output_buffer->csc, &mdp_out_layer_.color_space); in Validate() 281 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 385 input_buffer = &hw_rotator_session->output_buffer; in Commit() 420 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 422 if (output_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_primary.cpp | 400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 401 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 403 mdp_out_layer_.buffer.width = output_buffer->unaligned_width; in Validate() 404 mdp_out_layer_.buffer.height = output_buffer->unaligned_height; in Validate() 409 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 411 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 430 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_primary.cpp | 400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 401 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 403 mdp_out_layer_.buffer.width = output_buffer->unaligned_width; in Validate() 404 mdp_out_layer_.buffer.height = output_buffer->unaligned_height; in Validate() 409 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 411 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 430 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
D | hw_device.cpp | 222 input_buffer = hw_rotator_session->output_buffer; in Validate() 294 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 296 mdp_out_layer_.buffer.width = output_buffer->width; in Validate() 297 mdp_out_layer_.buffer.height = output_buffer->height; in Validate() 298 if (output_buffer->flags.secure) { in Validate() 304 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 306 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 437 input_buffer = &hw_rotator_session->output_buffer; in Commit() 472 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 474 if (output_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_primary.cpp | 400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 401 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 403 mdp_out_layer_.buffer.width = output_buffer->unaligned_width; in Validate() 404 mdp_out_layer_.buffer.height = output_buffer->unaligned_height; in Validate() 409 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 411 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 430 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
D | hw_device.cpp | 218 input_buffer = hw_rotator_session->output_buffer; in Validate() 290 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 292 mdp_out_layer_.buffer.width = output_buffer->width; in Validate() 293 mdp_out_layer_.buffer.height = output_buffer->height; in Validate() 294 if (output_buffer->flags.secure) { in Validate() 300 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 302 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 433 input_buffer = &hw_rotator_session->output_buffer; in Commit() 468 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 470 if (output_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_primary.cpp | 400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 401 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 403 mdp_out_layer_.buffer.width = output_buffer->unaligned_width; in Validate() 404 mdp_out_layer_.buffer.height = output_buffer->unaligned_height; in Validate() 409 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 411 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 430 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
D | hw_device.cpp | 222 input_buffer = hw_rotator_session->output_buffer; in Validate() 294 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() local 296 mdp_out_layer_.buffer.width = output_buffer->width; in Validate() 297 mdp_out_layer_.buffer.height = output_buffer->height; in Validate() 298 if (output_buffer->flags.secure) { in Validate() 304 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 306 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 437 input_buffer = &hw_rotator_session->output_buffer; in Commit() 472 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 474 if (output_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_primary.cpp | 400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate() 401 LayerBuffer *output_buffer = stack->output_buffer; in Validate() local 403 mdp_out_layer_.buffer.width = output_buffer->unaligned_width; in Validate() 404 mdp_out_layer_.buffer.height = output_buffer->unaligned_height; in Validate() 409 SetCSC(output_buffer->color_metadata, &mdp_out_layer_.color_space); in Validate() 411 SetFormat(output_buffer->format, &mdp_out_layer_.buffer.format); in Validate() 430 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() local 432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit() 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() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_primary.cpp | 183 layer_stack_.output_buffer = &output_buffer_; in Prepare() 400 static void SetLayerBuffer(const BufferInfo& output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 404 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer() 405 output_buffer->height = alloc_buffer_info.aligned_height; in SetLayerBuffer() 406 output_buffer->unaligned_width = buffer_config.width; in SetLayerBuffer() 407 output_buffer->unaligned_height = buffer_config.height; in SetLayerBuffer() 408 output_buffer->format = buffer_config.format; in SetLayerBuffer() 409 output_buffer->planes[0].fd = alloc_buffer_info.fd; in SetLayerBuffer() 410 output_buffer->planes[0].stride = alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_primary.cpp | 183 layer_stack_.output_buffer = &output_buffer_; in Prepare() 400 static void SetLayerBuffer(const BufferInfo& output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 404 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer() 405 output_buffer->height = alloc_buffer_info.aligned_height; in SetLayerBuffer() 406 output_buffer->unaligned_width = buffer_config.width; in SetLayerBuffer() 407 output_buffer->unaligned_height = buffer_config.height; in SetLayerBuffer() 408 output_buffer->format = buffer_config.format; in SetLayerBuffer() 409 output_buffer->planes[0].fd = alloc_buffer_info.fd; in SetLayerBuffer() 410 output_buffer->planes[0].stride = alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 182 layer_stack_.output_buffer = &output_buffer_; in Validate() 420 static void SetLayerBuffer(const BufferInfo &output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 424 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer() 425 output_buffer->height = alloc_buffer_info.aligned_height; in SetLayerBuffer() 426 output_buffer->unaligned_width = buffer_config.width; in SetLayerBuffer() 427 output_buffer->unaligned_height = buffer_config.height; in SetLayerBuffer() 428 output_buffer->format = buffer_config.format; in SetLayerBuffer() 429 output_buffer->planes[0].fd = alloc_buffer_info.fd; in SetLayerBuffer() 430 output_buffer->planes[0].stride = alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 189 layer_stack_.output_buffer = &output_buffer_; in Validate() 417 static void SetLayerBuffer(const BufferInfo &output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 421 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer() 422 output_buffer->height = alloc_buffer_info.aligned_height; in SetLayerBuffer() 423 output_buffer->unaligned_width = buffer_config.width; in SetLayerBuffer() 424 output_buffer->unaligned_height = buffer_config.height; in SetLayerBuffer() 425 output_buffer->format = buffer_config.format; in SetLayerBuffer() 426 output_buffer->planes[0].fd = alloc_buffer_info.fd; in SetLayerBuffer() 427 output_buffer->planes[0].stride = alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_primary.cpp | 166 layer_stack_.output_buffer = &output_buffer_; in Prepare() 351 static void SetLayerBuffer(const BufferInfo& output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 352 output_buffer->width = output_buffer_info.buffer_config.width; in SetLayerBuffer() 353 output_buffer->height = output_buffer_info.buffer_config.height; in SetLayerBuffer() 354 output_buffer->format = output_buffer_info.buffer_config.format; in SetLayerBuffer() 355 output_buffer->planes[0].fd = output_buffer_info.alloc_buffer_info.fd; in SetLayerBuffer() 356 output_buffer->planes[0].stride = output_buffer_info.alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 192 layer_stack_.output_buffer = &output_buffer_; in Validate() 440 static void SetLayerBuffer(const BufferInfo &output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 444 output_buffer->width = alloc_buffer_info.aligned_width; in SetLayerBuffer() 445 output_buffer->height = alloc_buffer_info.aligned_height; in SetLayerBuffer() 446 output_buffer->unaligned_width = buffer_config.width; in SetLayerBuffer() 447 output_buffer->unaligned_height = buffer_config.height; in SetLayerBuffer() 448 output_buffer->format = buffer_config.format; in SetLayerBuffer() 449 output_buffer->planes[0].fd = alloc_buffer_info.fd; in SetLayerBuffer() 450 output_buffer->planes[0].stride = alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 182 layer_stack_.output_buffer = &output_buffer_; in Validate() 408 static void SetLayerBuffer(const BufferInfo &output_buffer_info, LayerBuffer *output_buffer) { in SetLayerBuffer() argument 409 output_buffer->width = output_buffer_info.buffer_config.width; in SetLayerBuffer() 410 output_buffer->height = output_buffer_info.buffer_config.height; in SetLayerBuffer() 411 output_buffer->format = output_buffer_info.buffer_config.format; in SetLayerBuffer() 412 output_buffer->planes[0].fd = output_buffer_info.alloc_buffer_info.fd; in SetLayerBuffer() 413 output_buffer->planes[0].stride = output_buffer_info.alloc_buffer_info.stride; in SetLayerBuffer()
|
/hardware/libhardware/modules/camera/3_4/ |
D | request_tracker.cpp | 51 for (const auto& output_buffer : request.output_buffers) { in RequestStreams() local 52 result.insert(output_buffer.stream); in RequestStreams()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | decoder_driver_test.c | 296 init_decode->output_buffer.buffer_type = VDEC_BUFFER_TYPE_OUTPUT; in init_decoder() 298 ioctl_msg.out = &init_decode->output_buffer; in init_decoder() 307 init_decode->output_buffer.buffer_size,\ in init_decoder() 308 init_decode->output_buffer.mincount,\ in init_decoder() 309 init_decode->output_buffer.actualcount); in init_decoder() 384 buffercount = decode_context->output_buffer.actualcount; in free_buffer() 454 buffercount = decode_context->output_buffer.actualcount; in allocate_buffer() 455 alignedsize = decode_context->output_buffer.alignment; in allocate_buffer() 456 buffersize = decode_context->output_buffer.buffer_size; in allocate_buffer() 587 while (i < decode_context->output_buffer.mincount) { in start_decoding()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | decoder_driver_test.c | 310 init_decode->output_buffer.buffer_type = VDEC_BUFFER_TYPE_OUTPUT; in init_decoder() 312 ioctl_msg.out = &init_decode->output_buffer; in init_decoder() 322 init_decode->output_buffer.buffer_size,\ in init_decoder() 323 init_decode->output_buffer.mincount,\ in init_decoder() 324 init_decode->output_buffer.actualcount); in init_decoder() 404 buffercount = decode_context->output_buffer.actualcount; in free_buffer() 484 buffercount = decode_context->output_buffer.actualcount; in allocate_buffer() 485 alignedsize = decode_context->output_buffer.alignment; in allocate_buffer() 486 buffersize = decode_context->output_buffer.buffer_size; in allocate_buffer() 629 while (i < decode_context->output_buffer.mincount) in start_decoding()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | video_encoder_test.c | 366 ioctl_msg.out = &init_decode->output_buffer; in init_encoder() 376 (int)init_decode->output_buffer.datasize,\ in init_encoder() 377 (int)init_decode->output_buffer.mincount,\ in init_encoder() 378 (int)init_decode->output_buffer.actualcount); in init_encoder() 458 buffercount = encoder_context->output_buffer.actualcount; in free_buffer() 523 buffercount = encoder_context->output_buffer.actualcount; in allocate_buffer() 524 alignedsize = encoder_context->output_buffer.alignment; in allocate_buffer() 525 buffersize = encoder_context->output_buffer.datasize; in allocate_buffer() 648 while (i < encoder_context->output_buffer.actualcount) in start_encoding()
|