Home
last modified time | relevance | path

Searched refs:buffer_info_ (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external_test.cpp226 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
227 uint32_t height = buffer_info_.alloc_buffer_info.aligned_height; in DumpInputBuffer()
228 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
230 char *buffer = reinterpret_cast<char *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in DumpInputBuffer()
232 buffer_info_.alloc_buffer_info.fd, 0)); in DumpInputBuffer()
261 fs.write(buffer, (std::streamsize)buffer_info_.alloc_buffer_info.size); in DumpInputBuffer()
272 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in DumpInputBuffer()
335 uint8_t *buffer = reinterpret_cast<uint8_t *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in FillBuffer()
337 buffer_info_.alloc_buffer_info.fd, 0)); in FillBuffer()
358 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in FillBuffer()
[all …]
Dhwc_display_external_test.h48 BufferInfo buffer_info_ = {}; variable
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external_test.cpp226 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
227 uint32_t height = buffer_info_.alloc_buffer_info.aligned_height; in DumpInputBuffer()
228 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
230 char *buffer = reinterpret_cast<char *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in DumpInputBuffer()
232 buffer_info_.alloc_buffer_info.fd, 0)); in DumpInputBuffer()
261 fs.write(buffer, (std::streamsize)buffer_info_.alloc_buffer_info.size); in DumpInputBuffer()
272 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in DumpInputBuffer()
335 uint8_t *buffer = reinterpret_cast<uint8_t *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in FillBuffer()
337 buffer_info_.alloc_buffer_info.fd, 0)); in FillBuffer()
358 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in FillBuffer()
[all …]
Dhwc_display_external_test.h48 BufferInfo buffer_info_ = {}; variable
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external_test.cpp219 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
220 uint32_t height = buffer_info_.alloc_buffer_info.aligned_height; in DumpInputBuffer()
221 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
223 char *buffer = reinterpret_cast<char *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in DumpInputBuffer()
225 buffer_info_.alloc_buffer_info.fd, 0)); in DumpInputBuffer()
254 fs.write(buffer, (std::streamsize)buffer_info_.alloc_buffer_info.size); in DumpInputBuffer()
265 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in DumpInputBuffer()
328 uint8_t *buffer = reinterpret_cast<uint8_t *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in FillBuffer()
330 buffer_info_.alloc_buffer_info.fd, 0)); in FillBuffer()
351 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in FillBuffer()
[all …]
Dhwc_tonemapper.cpp54 buffer_info_.resize(kNumIntermediateBuffers); in ToneMapSession()
60 buffer_info_.clear(); in ~ToneMapSession()
86 (buffer_info_[buffer_index].private_data); in OnTask()
106 BufferInfo &buffer_info = buffer_info_[i]; in AllocateIntermediateBuffers()
128 BufferInfo &buffer_info = buffer_info_[i]; in FreeIntermediateBuffers()
139 buffer->size = buffer_info_[current_buffer_index_].alloc_buffer_info.size; in UpdateBuffer()
140 buffer->planes[0].fd = buffer_info_[current_buffer_index_].alloc_buffer_info.fd; in UpdateBuffer()
160 private_handle_t *handle = static_cast<private_handle_t *>(buffer_info_[0].private_data); in IsSameToneMapConfig()
300 BufferInfo &buffer_info = session->buffer_info_[session->current_buffer_index_]; in DumpToneMapOutput()
Dhwc_display_external_test.h47 BufferInfo buffer_info_ = {};
Dhwc_tonemapper.h94 std::vector<BufferInfo> buffer_info_ = {}; variable
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable_test.cpp217 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
218 uint32_t height = buffer_info_.alloc_buffer_info.aligned_height; in DumpInputBuffer()
219 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
221 char *buffer = reinterpret_cast<char *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in DumpInputBuffer()
223 buffer_info_.alloc_buffer_info.fd, 0)); in DumpInputBuffer()
252 fs.write(buffer, (std::streamsize)buffer_info_.alloc_buffer_info.size); in DumpInputBuffer()
263 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in DumpInputBuffer()
326 uint8_t *buffer = reinterpret_cast<uint8_t *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in FillBuffer()
328 buffer_info_.alloc_buffer_info.fd, 0)); in FillBuffer()
349 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in FillBuffer()
[all …]
Dhwc_tonemapper.cpp54 buffer_info_.resize(kNumIntermediateBuffers); in ToneMapSession()
60 buffer_info_.clear(); in ~ToneMapSession()
86 (buffer_info_[buffer_index].private_data); in OnTask()
106 BufferInfo &buffer_info = buffer_info_[i]; in AllocateIntermediateBuffers()
128 BufferInfo &buffer_info = buffer_info_[i]; in FreeIntermediateBuffers()
139 buffer->size = buffer_info_[current_buffer_index_].alloc_buffer_info.size; in UpdateBuffer()
140 buffer->planes[0].fd = buffer_info_[current_buffer_index_].alloc_buffer_info.fd; in UpdateBuffer()
141 buffer->handle_id = buffer_info_[current_buffer_index_].alloc_buffer_info.id; in UpdateBuffer()
161 private_handle_t *handle = static_cast<private_handle_t *>(buffer_info_[0].private_data); in IsSameToneMapConfig()
301 BufferInfo &buffer_info = session->buffer_info_[session->current_buffer_index_]; in DumpToneMapOutput()
Dhwc_display_pluggable_test.h52 BufferInfo buffer_info_ = {};
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external_test.cpp219 uint32_t width = buffer_info_.alloc_buffer_info.aligned_width; in DumpInputBuffer()
220 uint32_t height = buffer_info_.alloc_buffer_info.aligned_height; in DumpInputBuffer()
221 string format_str = GetFormatString(buffer_info_.buffer_config.format); in DumpInputBuffer()
223 char *buffer = reinterpret_cast<char *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in DumpInputBuffer()
225 buffer_info_.alloc_buffer_info.fd, 0)); in DumpInputBuffer()
254 fs.write(buffer, (std::streamsize)buffer_info_.alloc_buffer_info.size); in DumpInputBuffer()
265 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in DumpInputBuffer()
328 uint8_t *buffer = reinterpret_cast<uint8_t *>(mmap(NULL, buffer_info_.alloc_buffer_info.size, in FillBuffer()
330 buffer_info_.alloc_buffer_info.fd, 0)); in FillBuffer()
351 if (munmap(buffer, buffer_info_.alloc_buffer_info.size) != 0) { in FillBuffer()
[all …]
Dhwc_tonemapper.cpp54 buffer_info_.resize(kNumIntermediateBuffers); in ToneMapSession()
60 buffer_info_.clear(); in ~ToneMapSession()
86 (buffer_info_[buffer_index].private_data); in OnTask()
106 BufferInfo &buffer_info = buffer_info_[i]; in AllocateIntermediateBuffers()
128 BufferInfo &buffer_info = buffer_info_[i]; in FreeIntermediateBuffers()
139 buffer->size = buffer_info_[current_buffer_index_].alloc_buffer_info.size; in UpdateBuffer()
140 buffer->planes[0].fd = buffer_info_[current_buffer_index_].alloc_buffer_info.fd; in UpdateBuffer()
141 buffer->handle_id = buffer_info_[current_buffer_index_].alloc_buffer_info.id; in UpdateBuffer()
161 private_handle_t *handle = static_cast<private_handle_t *>(buffer_info_[0].private_data); in IsSameToneMapConfig()
301 BufferInfo &buffer_info = session->buffer_info_[session->current_buffer_index_]; in DumpToneMapOutput()
Dhwc_display_external_test.h52 BufferInfo buffer_info_ = {};
Dhwc_tonemapper.h94 std::vector<BufferInfo> buffer_info_ = {}; variable
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp54 buffer_info_.resize(kNumIntermediateBuffers); in ToneMapSession()
60 buffer_info_.clear(); in ~ToneMapSession()
86 (buffer_info_[buffer_index].private_data); in OnTask()
106 BufferInfo &buffer_info = buffer_info_[i]; in AllocateIntermediateBuffers()
128 BufferInfo &buffer_info = buffer_info_[i]; in FreeIntermediateBuffers()
139 buffer->size = buffer_info_[current_buffer_index_].alloc_buffer_info.size; in UpdateBuffer()
140 buffer->planes[0].fd = buffer_info_[current_buffer_index_].alloc_buffer_info.fd; in UpdateBuffer()
160 private_handle_t *handle = static_cast<private_handle_t *>(buffer_info_[0].private_data); in IsSameToneMapConfig()
289 BufferInfo &buffer_info = session->buffer_info_[session->current_buffer_index_]; in DumpToneMapOutput()
Dhwc_tonemapper.h94 std::vector<BufferInfo> buffer_info_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.cpp54 buffer_info_.resize(kNumIntermediateBuffers); in ToneMapSession()
60 buffer_info_.clear(); in ~ToneMapSession()
86 (buffer_info_[buffer_index].private_data); in OnTask()
106 BufferInfo &buffer_info = buffer_info_[i]; in AllocateIntermediateBuffers()
128 BufferInfo &buffer_info = buffer_info_[i]; in FreeIntermediateBuffers()
139 buffer->size = buffer_info_[current_buffer_index_].alloc_buffer_info.size; in UpdateBuffer()
140 buffer->planes[0].fd = buffer_info_[current_buffer_index_].alloc_buffer_info.fd; in UpdateBuffer()
160 private_handle_t *handle = static_cast<private_handle_t *>(buffer_info_[0].private_data); in IsSameToneMapConfig()
297 BufferInfo &buffer_info = session->buffer_info_[session->current_buffer_index_]; in DumpToneMapOutput()
Dhwc_tonemapper.h94 std::vector<BufferInfo> buffer_info_ = {}; variable