Home
last modified time | relevance | path

Searched refs:buffer_config (Results 1 – 25 of 60) sorted by relevance

123

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp52 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
67 if (buffer_config.secure_camera) { in AllocateBuffer()
71 } else if (buffer_config.secure) { in AllocateBuffer()
79 if (buffer_config.cache == false) { in AllocateBuffer()
84 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer()
100 data.uncached = !buffer_config.cache; in AllocateBuffer()
164 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
[all …]
Dhwc_display_primary.cpp401 const BufferConfig& buffer_config = output_buffer_info.buffer_config; in SetLayerBuffer() local
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()
474 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
475 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
476 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
477 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
516 if (post_processed_output && (output_buffer_info.buffer_config.width < panel_width || in FrameCaptureAsync()
517 output_buffer_info.buffer_config.height < panel_height)) { in FrameCaptureAsync()
[all …]
Dhwc_display_external_test.cpp228 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
385 LayerBufferFormat format = buffer_info_.buffer_config.format; in PixelCopy()
419 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorRamp()
420 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorRamp()
421 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateColorRamp()
513 uint32_t width = buffer_info_.buffer_config.width; in GenerateBWVertical()
514 uint32_t height = buffer_info_.buffer_config.height; in GenerateBWVertical()
515 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateBWVertical()
559 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorSquare()
560 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorSquare()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp52 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
67 if (buffer_config.secure_camera) { in AllocateBuffer()
71 } else if (buffer_config.secure) { in AllocateBuffer()
79 if (buffer_config.cache == false) { in AllocateBuffer()
84 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer()
100 data.uncached = !buffer_config.cache; in AllocateBuffer()
164 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
[all …]
Dhwc_display_primary.cpp401 const BufferConfig& buffer_config = output_buffer_info.buffer_config; in SetLayerBuffer() local
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()
474 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
475 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
476 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
477 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
516 if (post_processed_output && (output_buffer_info.buffer_config.width < panel_width || in FrameCaptureAsync()
517 output_buffer_info.buffer_config.height < panel_height)) { in FrameCaptureAsync()
[all …]
Dhwc_display_external_test.cpp228 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
385 LayerBufferFormat format = buffer_info_.buffer_config.format; in PixelCopy()
419 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorRamp()
420 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorRamp()
421 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateColorRamp()
513 uint32_t width = buffer_info_.buffer_config.width; in GenerateBWVertical()
514 uint32_t height = buffer_info_.buffer_config.height; in GenerateBWVertical()
515 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateBWVertical()
559 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorSquare()
560 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorSquare()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp62 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
64 uint32_t width = buffer_config.width; in AllocateBuffer()
65 uint32_t height = buffer_config.height; in AllocateBuffer()
68 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
73 if (buffer_config.secure) { in AllocateBuffer()
77 if (!buffer_config.cache) { in AllocateBuffer()
82 if (buffer_config.gfx_client) { in AllocateBuffer()
140 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
143 int width = INT(buffer_config.width); in GetBufferSize()
144 int height = INT(buffer_config.height); in GetBufferSize()
[all …]
Dhwc_display_primary.cpp421 const BufferConfig& buffer_config = output_buffer_info.buffer_config; in SetLayerBuffer() local
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()
494 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
495 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
496 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
497 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
535 if (post_processed_output && (output_buffer_info_.buffer_config.width < panel_width || in FrameCaptureAsync()
536 output_buffer_info_.buffer_config.height < panel_height)) { in FrameCaptureAsync()
[all …]
Dhwc_color_manager.cpp206 hwc_display->GetPanelResolution(&buffer_info.buffer_config.width, in SetFrameCapture()
207 &buffer_info.buffer_config.height); in SetFrameCapture()
209 buffer_info.buffer_config.format = kFormatRGB888; in SetFrameCapture()
211 buffer_info.buffer_config.format = kFormatRGBA1010102; in SetFrameCapture()
217 buffer_info.buffer_config.buffer_count = 1; in SetFrameCapture()
237 frame_capture_data->buffer_stride = buffer_info.buffer_config.width; in SetFrameCapture()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp62 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
64 uint32_t width = buffer_config.width; in AllocateBuffer()
65 uint32_t height = buffer_config.height; in AllocateBuffer()
68 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
73 if (buffer_config.secure) { in AllocateBuffer()
77 if (!buffer_config.cache) { in AllocateBuffer()
134 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
137 int width = INT(buffer_config.width); in GetBufferSize()
138 int height = INT(buffer_config.height); in GetBufferSize()
141 if (buffer_config.secure) { in GetBufferSize()
[all …]
Dhwc_display_primary.cpp409 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()
477 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
478 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
479 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
480 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
518 if (post_processed_output && (output_buffer_info_.buffer_config.width < panel_width || in FrameCaptureAsync()
519 output_buffer_info_.buffer_config.height < panel_height)) { in FrameCaptureAsync()
522 } else if (!post_processed_output && (output_buffer_info_.buffer_config.width < fb_width || in FrameCaptureAsync()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp52 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
67 if (buffer_config.secure) { in AllocateBuffer()
75 if (buffer_config.cache == false) { in AllocateBuffer()
80 error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
90 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer()
96 data.uncached = !buffer_config.cache; in AllocateBuffer()
156 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
160 int width = INT(buffer_config.width); in GetBufferSize()
[all …]
Dhwc_display_primary.cpp352 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()
420 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
421 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
422 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
423 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
462 if (post_processed_output && (output_buffer_info_.buffer_config.width < panel_width || in FrameCaptureAsync()
463 output_buffer_info_.buffer_config.height < panel_height)) { in FrameCaptureAsync()
466 } else if (!post_processed_output && (output_buffer_info_.buffer_config.width < fb_width || in FrameCaptureAsync()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp86 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
88 uint32_t width = buffer_config.width; in AllocateBuffer()
89 uint32_t height = buffer_config.height; in AllocateBuffer()
92 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
97 if (buffer_config.secure) { in AllocateBuffer()
101 if (buffer_config.secure_camera) { in AllocateBuffer()
105 if (!buffer_config.cache) { in AllocateBuffer()
110 if (buffer_config.gfx_client) { in AllocateBuffer()
173 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
176 int width = INT(buffer_config.width); in GetBufferSize()
[all …]
Dhwc_display_external_test.cpp221 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
378 LayerBufferFormat format = buffer_info_.buffer_config.format; in PixelCopy()
412 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorRamp()
413 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorRamp()
414 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateColorRamp()
506 uint32_t width = buffer_info_.buffer_config.width; in GenerateBWVertical()
507 uint32_t height = buffer_info_.buffer_config.height; in GenerateBWVertical()
508 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateBWVertical()
552 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorSquare()
553 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorSquare()
[all …]
Dhwc_display_primary.cpp441 const BufferConfig& buffer_config = output_buffer_info.buffer_config; in SetLayerBuffer() local
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()
514 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
515 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
516 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
517 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
556 if (post_processed_output && (output_buffer_info.buffer_config.width < panel_width || in FrameCaptureAsync()
557 output_buffer_info.buffer_config.height < panel_height)) { in FrameCaptureAsync()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp68 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
70 uint32_t width = buffer_config.width; in AllocateBuffer()
71 uint32_t height = buffer_config.height; in AllocateBuffer()
74 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
79 if (buffer_config.secure) { in AllocateBuffer()
83 if (!buffer_config.cache) { in AllocateBuffer()
88 if (buffer_config.gfx_client) { in AllocateBuffer()
149 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
152 int width = INT(buffer_config.width); in GetBufferSize()
153 int height = INT(buffer_config.height); in GetBufferSize()
[all …]
Dhwc_display_primary.cpp418 const BufferConfig& buffer_config = output_buffer_info.buffer_config; in SetLayerBuffer() local
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()
491 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
492 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
493 output_buffer_info_.buffer_config.format = kFormatRGB888; in SetFrameDumpConfig()
494 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
533 if (post_processed_output && (output_buffer_info.buffer_config.width < panel_width || in FrameCaptureAsync()
534 output_buffer_info.buffer_config.height < panel_height)) { in FrameCaptureAsync()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp71 const BufferConfig &buffer_config = buffer_info->buffer_config; in AllocateBuffer() local
75 int error = SetBufferInfo(buffer_config.format, &format, &alloc_flags); in AllocateBuffer()
80 if (buffer_config.secure) { in AllocateBuffer()
84 if (buffer_config.secure_camera) { in AllocateBuffer()
88 if (!buffer_config.cache) { in AllocateBuffer()
93 if (buffer_config.gfx_client) { in AllocateBuffer()
100 descriptor_info.width = buffer_config.width; in AllocateBuffer()
101 descriptor_info.height = buffer_config.height; in AllocateBuffer()
192 const BufferConfig &buffer_config = buffer_info->buffer_config; in GetBufferSize() local
195 int width = INT(buffer_config.width); in GetBufferSize()
[all …]
Dhwc_display_external_test.cpp221 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
378 LayerBufferFormat format = buffer_info_.buffer_config.format; in PixelCopy()
412 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorRamp()
413 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorRamp()
414 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateColorRamp()
506 uint32_t width = buffer_info_.buffer_config.width; in GenerateBWVertical()
507 uint32_t height = buffer_info_.buffer_config.height; in GenerateBWVertical()
508 LayerBufferFormat format = buffer_info_.buffer_config.format; in GenerateBWVertical()
552 uint32_t width = buffer_info_.buffer_config.width; in GenerateColorSquare()
553 uint32_t height = buffer_info_.buffer_config.height; in GenerateColorSquare()
[all …]
Dhwc_display_primary.cpp733 GetPanelResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
734 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
737 GetFrameBufferResolution(&output_buffer_info_.buffer_config.width, in SetFrameDumpConfig()
738 &output_buffer_info_.buffer_config.height); in SetFrameDumpConfig()
741 output_buffer_info_.buffer_config.format = GetSDMFormat(format, 0); in SetFrameDumpConfig()
742 output_buffer_info_.buffer_config.buffer_count = 1; in SetFrameDumpConfig()
782 if (post_processed_output && (output_buffer_info.buffer_config.width < panel_width || in FrameCaptureAsync()
783 output_buffer_info.buffer_config.height < panel_height)) { in FrameCaptureAsync()
786 } else if (!post_processed_output && (output_buffer_info.buffer_config.width < fb_width || in FrameCaptureAsync()
787 output_buffer_info.buffer_config.height < fb_height)) { in FrameCaptureAsync()
/hardware/qcom/display/msm8998/sdm/include/core/
Dbuffer_allocator.h82 BufferConfig buffer_config; //!< Specifies configuration of a buffer to be allocated. member
141 virtual DisplayError GetAllocatedBufferInfo(const BufferConfig &buffer_config,
/hardware/qcom/display/msm8909/sdm/include/core/
Dbuffer_allocator.h81 BufferConfig buffer_config; //!< Specifies configuration of a buffer to be allocated. member
140 virtual DisplayError GetAllocatedBufferInfo(const BufferConfig &buffer_config,
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dbuffer_allocator.h81 BufferConfig buffer_config; //!< Specifies configuration of a buffer to be allocated. member
140 virtual DisplayError GetAllocatedBufferInfo(const BufferConfig &buffer_config,
/hardware/qcom/sdm845/display/sdm/include/core/
Dbuffer_allocator.h82 BufferConfig buffer_config; //!< Specifies configuration of a buffer to be allocated. member
141 virtual DisplayError GetAllocatedBufferInfo(const BufferConfig &buffer_config,

123