/hardware/libhardware/modules/camera/3_4/ |
D | capture_request.cpp | 39 if (request->input_buffer) { in CaptureRequest() 40 input_buffer = in CaptureRequest() 41 std::make_unique<camera3_stream_buffer_t>(*request->input_buffer); in CaptureRequest()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | blit_engine_c2d.cpp | 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() 214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit() 218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit() 219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit() 220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit() 265 if (Is10BitFormat(layer->input_buffer.format)) { in Prepare() 284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare() 296 LayerBuffer &layer_buffer = layer->input_buffer; in Prepare() 383 layer->input_buffer.width = target_aligned_width; in PreCommit() 384 layer->input_buffer.height = target_aligned_height; in PreCommit() [all …]
|
D | hwc_tonemapper.cpp | 103 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 105 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 111 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 145 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 182 acquire_fd = dup(layer->input_buffer.acquire_fence_fd); in ToneMap() 199 session->UpdateBuffer(fence_fd, &layer->input_buffer); in ToneMap() 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
D | hwc_display_external_test.cpp | 640 layer->input_buffer.unaligned_width = var_info.x_pixels; in InitLayer() 641 layer->input_buffer.unaligned_height = var_info.y_pixels; in InitLayer() 673 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer() 674 layer->input_buffer.height = buffer_info_.alloc_buffer_info.aligned_height; in InitLayer() 675 layer->input_buffer.size = buffer_info_.alloc_buffer_info.size; in InitLayer() 676 layer->input_buffer.planes[0].fd = buffer_info_.alloc_buffer_info.fd; in InitLayer() 677 layer->input_buffer.planes[0].stride = buffer_info_.alloc_buffer_info.stride; in InitLayer() 678 layer->input_buffer.format = buffer_info_.buffer_config.format; in InitLayer() 680 DLOGI("Input buffer WxH %dx%d format %s size %d fd %d stride %d", layer->input_buffer.width, in InitLayer() 681 layer->input_buffer.height, GetFormatString(layer->input_buffer.format), in InitLayer() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | blit_engine_c2d.cpp | 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit() 214 layer_stack->layers.at(index)->input_buffer.release_fence_fd; in PostCommit() 218 layer_stack->layers.at(index)->input_buffer.release_fence_fd = -1; in PostCommit() 219 fd = layer_stack->layers.at(index)->input_buffer.acquire_fence_fd; in PostCommit() 220 layer_stack->layers.at(index)->input_buffer.acquire_fence_fd = -1; in PostCommit() 265 if (Is10BitFormat(layer->input_buffer.format)) { in Prepare() 284 LayerBuffer &layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare() 296 LayerBuffer &layer_buffer = layer->input_buffer; in Prepare() 383 layer->input_buffer.width = target_aligned_width; in PreCommit() 384 layer->input_buffer.height = target_aligned_height; in PreCommit() [all …]
|
D | hwc_tonemapper.cpp | 103 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 105 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 111 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 145 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 182 acquire_fd = dup(layer->input_buffer.acquire_fence_fd); in ToneMap() 199 session->UpdateBuffer(fence_fd, &layer->input_buffer); in ToneMap() 210 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
D | hwc_display_external_test.cpp | 640 layer->input_buffer.unaligned_width = var_info.x_pixels; in InitLayer() 641 layer->input_buffer.unaligned_height = var_info.y_pixels; in InitLayer() 673 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer() 674 layer->input_buffer.height = buffer_info_.alloc_buffer_info.aligned_height; in InitLayer() 675 layer->input_buffer.size = buffer_info_.alloc_buffer_info.size; in InitLayer() 676 layer->input_buffer.planes[0].fd = buffer_info_.alloc_buffer_info.fd; in InitLayer() 677 layer->input_buffer.planes[0].stride = buffer_info_.alloc_buffer_info.stride; in InitLayer() 678 layer->input_buffer.format = buffer_info_.buffer_config.format; in InitLayer() 680 DLOGI("Input buffer WxH %dx%d format %s size %d fd %d stride %d", layer->input_buffer.width, in InitLayer() 681 layer->input_buffer.height, GetFormatString(layer->input_buffer.format), in InitLayer() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | blit_engine_c2d.cpp | 210 LayerBuffer *layer_buffer = layer->input_buffer; in PostCommit() 214 layer_stack->layers.at(index)->input_buffer->release_fence_fd; in PostCommit() 218 layer_stack->layers.at(index)->input_buffer->release_fence_fd = -1; in PostCommit() 219 fd = layer_stack->layers.at(index)->input_buffer->acquire_fence_fd; in PostCommit() 220 layer_stack->layers.at(index)->input_buffer->acquire_fence_fd = -1; in PostCommit() 265 if (Is10BitFormat(layer->input_buffer->format)) { in Prepare() 284 LayerBuffer *layer_buffer = layer_stack->layers.at(gpu_target_index)->input_buffer; in Prepare() 296 LayerBuffer *layer_buffer = layer->input_buffer; in Prepare() 370 layer->input_buffer->width = target_width; in PreCommit() 371 layer->input_buffer->height = target_height; in PreCommit() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_base.cpp | 597 LayerBuffer *input_buffer = &hw_layer.input_buffer; in AppendDump() local 603 const char *buffer_format = GetFormatString(input_buffer->format); in AppendDump() 618 writeback_id, rotate.pipe_id, input_buffer->width, in AppendDump() 619 input_buffer->height, buffer_format, INT(src_roi.left), in AppendDump() 630 input_buffer = &hw_rotator_session.output_buffer; in AppendDump() 631 buffer_format = GetFormatString(input_buffer->format); in AppendDump() 654 ColorMetaData &color_metadata = hw_layer.input_buffer.color_metadata; in AppendDump() 659 "-", pipe.pipe_id, input_buffer->width, input_buffer->height, in AppendDump() 1291 hw_layer.input_buffer.planes[0].fd = sdm_layer->input_buffer.planes[0].fd; in CommitLayerParams() 1292 hw_layer.input_buffer.planes[0].offset = sdm_layer->input_buffer.planes[0].offset; in CommitLayerParams() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 153 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 159 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 193 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 229 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap() 256 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | display_base.cpp | 619 LayerBuffer *input_buffer = &hw_layer.input_buffer; in Dump() local 624 const char *buffer_format = GetFormatString(input_buffer->format); in Dump() 641 0, input_buffer->width, input_buffer->height, buffer_format, in Dump() 652 input_buffer = &hw_rotator_session.output_buffer; in Dump() 653 buffer_format = GetFormatString(input_buffer->format); in Dump() 700 ColorMetaData &color_metadata = hw_layer.input_buffer.color_metadata; in Dump() 706 pipe.pipe_id, input_buffer->width, input_buffer->height, in Dump() 1297 hw_layer.input_buffer.planes[0].fd = sdm_layer->input_buffer.planes[0].fd; in CommitLayerParams() 1298 hw_layer.input_buffer.planes[0].offset = sdm_layer->input_buffer.planes[0].offset; in CommitLayerParams() 1299 hw_layer.input_buffer.planes[0].stride = sdm_layer->input_buffer.planes[0].stride; in CommitLayerParams() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_external_test.cpp | 633 layer->input_buffer.unaligned_width = var_info.x_pixels; in InitLayer() 634 layer->input_buffer.unaligned_height = var_info.y_pixels; in InitLayer() 666 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer() 667 layer->input_buffer.height = buffer_info_.alloc_buffer_info.aligned_height; in InitLayer() 668 layer->input_buffer.size = buffer_info_.alloc_buffer_info.size; in InitLayer() 669 layer->input_buffer.planes[0].fd = buffer_info_.alloc_buffer_info.fd; in InitLayer() 670 layer->input_buffer.planes[0].stride = buffer_info_.alloc_buffer_info.stride; in InitLayer() 671 layer->input_buffer.format = buffer_info_.buffer_config.format; in InitLayer() 673 DLOGI("Input buffer WxH %dx%d format %s size %d fd %d stride %d", layer->input_buffer.width, in InitLayer() 674 layer->input_buffer.height, GetFormatString(layer->input_buffer.format), in InitLayer() [all …]
|
D | hwc_tonemapper.cpp | 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 153 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 159 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 194 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 231 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() 247 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap() 258 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_base.cpp | 577 LayerBuffer *input_buffer = &hw_layer.input_buffer; in AppendDump() local 583 const char *buffer_format = GetFormatString(input_buffer->format); in AppendDump() 598 writeback_id, rotate.pipe_id, input_buffer->width, in AppendDump() 599 input_buffer->height, buffer_format, INT(src_roi.left), in AppendDump() 610 input_buffer = &hw_rotator_session.output_buffer; in AppendDump() 611 buffer_format = GetFormatString(input_buffer->format); in AppendDump() 634 ColorMetaData &color_metadata = hw_layer.input_buffer.color_metadata; in AppendDump() 639 "-", pipe.pipe_id, input_buffer->width, input_buffer->height, in AppendDump() 1267 hw_layer.input_buffer.planes[0].fd = sdm_layer->input_buffer.planes[0].fd; in CommitLayerParams() 1268 hw_layer.input_buffer.planes[0].offset = sdm_layer->input_buffer.planes[0].offset; in CommitLayerParams() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_base.cpp | 594 LayerBuffer *input_buffer = &hw_layer.input_buffer; in Dump() local 600 const char *buffer_format = GetFormatString(input_buffer->format); in Dump() 616 writeback_id, rotate.pipe_id, input_buffer->width, in Dump() 617 input_buffer->height, buffer_format, INT(src_roi.left), in Dump() 628 input_buffer = &hw_rotator_session.output_buffer; in Dump() 629 buffer_format = GetFormatString(input_buffer->format); in Dump() 652 ColorMetaData &color_metadata = hw_layer.input_buffer.color_metadata; in Dump() 658 "-", pipe.pipe_id, input_buffer->width, input_buffer->height, in Dump() 1292 hw_layer.input_buffer.planes[0].fd = sdm_layer->input_buffer.planes[0].fd; in CommitLayerParams() 1293 hw_layer.input_buffer.planes[0].offset = sdm_layer->input_buffer.planes[0].offset; in CommitLayerParams() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_tonemapper.cpp | 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 151 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig() 153 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 159 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 193 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 229 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() 245 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap() 256 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_device.cpp | 187 LayerBuffer *input_buffer = layer->input_buffer; in Validate() local 199 input_buffer = &hw_rotator_session->output_buffer; in Validate() 206 mdp_buffer.width = input_buffer->width; in Validate() 207 mdp_buffer.height = input_buffer->height; in Validate() 214 error = SetFormat(input_buffer->format, &mdp_buffer.format); in Validate() 230 SetCSC(layer->input_buffer->csc, &mdp_layer.color_space); in Validate() 232 SetIGC(layer->input_buffer, mdp_layer_count); in Validate() 375 LayerBuffer *input_buffer = stack->layers.at(layer_index)->input_buffer; in Commit() local 385 input_buffer = &hw_rotator_session->output_buffer; in Commit() 391 if (input_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display_pluggable_test.cpp | 631 layer->input_buffer.unaligned_width = var_info.x_pixels; in InitLayer() 632 layer->input_buffer.unaligned_height = var_info.y_pixels; in InitLayer() 664 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer() 665 layer->input_buffer.height = buffer_info_.alloc_buffer_info.aligned_height; in InitLayer() 666 layer->input_buffer.size = buffer_info_.alloc_buffer_info.size; in InitLayer() 667 layer->input_buffer.planes[0].fd = buffer_info_.alloc_buffer_info.fd; in InitLayer() 668 layer->input_buffer.planes[0].stride = buffer_info_.alloc_buffer_info.stride; in InitLayer() 669 layer->input_buffer.format = buffer_info_.buffer_config.format; in InitLayer() 671 DLOGI("Input buffer WxH %dx%d format %s size %d fd %d stride %d", layer->input_buffer.width, in InitLayer() 672 layer->input_buffer.height, GetFormatString(layer->input_buffer.format), in InitLayer() [all …]
|
D | hwc_tonemapper.cpp | 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 152 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 154 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 160 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 195 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 232 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() 248 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap() 259 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display_external_test.cpp | 634 layer->input_buffer.unaligned_width = var_info.x_pixels; in InitLayer() 635 layer->input_buffer.unaligned_height = var_info.y_pixels; in InitLayer() 667 layer->input_buffer.width = buffer_info_.alloc_buffer_info.aligned_width; in InitLayer() 668 layer->input_buffer.height = buffer_info_.alloc_buffer_info.aligned_height; in InitLayer() 669 layer->input_buffer.size = buffer_info_.alloc_buffer_info.size; in InitLayer() 670 layer->input_buffer.planes[0].fd = buffer_info_.alloc_buffer_info.fd; in InitLayer() 671 layer->input_buffer.planes[0].stride = buffer_info_.alloc_buffer_info.stride; in InitLayer() 672 layer->input_buffer.format = buffer_info_.buffer_config.format; in InitLayer() 674 DLOGI("Input buffer WxH %dx%d format %s size %d fd %d stride %d", layer->input_buffer.width, in InitLayer() 675 layer->input_buffer.height, GetFormatString(layer->input_buffer.format), in InitLayer() [all …]
|
D | hwc_tonemapper.cpp | 88 (ctx->layer->input_buffer.buffer_id); in OnTask() 152 tone_map_config_.type = layer->input_buffer.flags.hdr ? TONEMAP_FORWARD : TONEMAP_INVERSE; in SetToneMapConfig() 154 tone_map_config_.transfer = layer->input_buffer.color_metadata.transfer; in SetToneMapConfig() 160 LayerBuffer& buffer = layer->input_buffer; in IsSameToneMapConfig() 195 fb_tone_map_session->UpdateBuffer(-1 /* acquire_fence */, &layer->input_buffer); in HandleToneMap() 232 int acquire_fd = layer->input_buffer.acquire_fence_fd; in ToneMap() 248 session->UpdateBuffer(ctx.fence_fd, &layer->input_buffer); in ToneMap() 259 LayerBuffer &layer_buffer = layer->input_buffer; in PostCommit()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_device.cpp | 210 LayerBuffer input_buffer = layer.input_buffer; in Validate() local 222 input_buffer = hw_rotator_session->output_buffer; in Validate() 229 mdp_buffer.width = input_buffer.width; in Validate() 230 mdp_buffer.height = input_buffer.height; in Validate() 237 error = SetFormat(input_buffer.format, &mdp_buffer.format); in Validate() 255 SetCSC(layer.input_buffer.color_metadata, &mdp_layer.color_space); in Validate() 257 SetIGC(&layer.input_buffer, mdp_layer_count); in Validate() 427 LayerBuffer *input_buffer = const_cast<LayerBuffer *>(&layer.input_buffer); in Commit() local 437 input_buffer = &hw_rotator_session->output_buffer; in Commit() 443 if (input_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_device.cpp | 206 LayerBuffer input_buffer = layer.input_buffer; in Validate() local 218 input_buffer = hw_rotator_session->output_buffer; in Validate() 225 mdp_buffer.width = input_buffer.width; in Validate() 226 mdp_buffer.height = input_buffer.height; in Validate() 233 error = SetFormat(input_buffer.format, &mdp_buffer.format); in Validate() 251 SetCSC(layer.input_buffer.color_metadata, &mdp_layer.color_space); in Validate() 253 SetIGC(&layer.input_buffer, mdp_layer_count); in Validate() 423 LayerBuffer *input_buffer = const_cast<LayerBuffer *>(&layer.input_buffer); in Commit() local 433 input_buffer = &hw_rotator_session->output_buffer; in Commit() 439 if (input_buffer->planes[0].fd >= 0) { in Commit() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 230 LayerBuffer *input_buffer = &layer.input_buffer; in RegisterCurrent() local 235 input_buffer = &hw_rotator_session->output_buffer; in RegisterCurrent() 238 int fd = input_buffer->planes[0].fd; in RegisterCurrent() 243 buf_info.aligned_width = layout.width = input_buffer->width; in RegisterCurrent() 244 buf_info.aligned_height = layout.height = input_buffer->height; in RegisterCurrent() 245 buf_info.format = input_buffer->format; in RegisterCurrent() 600 LayerBuffer *input_buffer = &layer.input_buffer; in SetupAtomic() local 611 input_buffer = &hw_rotator_session->output_buffer; in SetupAtomic() 615 uint32_t fb_id = registry_.GetFbId(input_buffer->planes[0].fd); in SetupAtomic() 647 SetSrcConfig(layer.input_buffer, &config); in SetupAtomic() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 230 LayerBuffer *input_buffer = &layer.input_buffer; in RegisterCurrent() local 235 input_buffer = &hw_rotator_session->output_buffer; in RegisterCurrent() 238 int fd = input_buffer->planes[0].fd; in RegisterCurrent() 243 buf_info.aligned_width = layout.width = input_buffer->width; in RegisterCurrent() 244 buf_info.aligned_height = layout.height = input_buffer->height; in RegisterCurrent() 245 buf_info.format = input_buffer->format; in RegisterCurrent() 595 LayerBuffer *input_buffer = &layer.input_buffer; in SetupAtomic() local 606 input_buffer = &hw_rotator_session->output_buffer; in SetupAtomic() 610 uint32_t fb_id = registry_.GetFbId(input_buffer->planes[0].fd); in SetupAtomic() 642 SetSrcConfig(layer.input_buffer, &config); in SetupAtomic() [all …]
|