Home
last modified time | relevance | path

Searched refs:INT (Results 1 – 25 of 138) sorted by relevance

123456

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp60 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in AllocateBuffer()
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
72 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AllocateBuffer()
73 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
166 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize()
168 int width = INT(buffer_config.width); in GetBufferSize()
169 int height = INT(buffer_config.height); in GetBufferSize()
177 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in GetBufferSize()
178 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
[all …]
Dblit_engine_c2d.cpp77 r.end = INT(rect.count); in RegionIterator()
90 rect->l = INT(me->rect_array.rect[me->r.current].left); in iterate()
91 rect->t = INT(me->rect_array.rect[me->r.current].top); in iterate()
92 rect->r = INT(me->rect_array.rect[me->r.current].right); in iterate()
93 rect->b = INT(me->rect_array.rect[me->r.current].bottom); in iterate()
148 if (INT(width) != blit_target_buffer_[0]->width || in AllocateBlitTargetBuffers()
149 INT(height) != blit_target_buffer_[0]->height) { in AllocateBlitTargetBuffers()
185 copybit_rect_t clear_rect = {INT(rect.left), INT(rect.top), INT(rect.right), INT(rect.bottom)}; in ClearTargetBuffer()
285 int fbwidth = INT(layer_buffer.unaligned_width); in Prepare()
286 int fbheight = INT(layer_buffer.unaligned_height); in Prepare()
[all …]
Dhwc_tonemapper.cpp146 fb_tone_map_session->layer_index_ = INT(i); in HandleToneMap()
166 session->layer_index_ = INT(i); in HandleToneMap()
276 grid_size = INT(layer->lut_3d.gridSize); in AcquireToneMapSession()
317 int usage = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP | GRALLOC_USAGE_HW_TEXTURE); in AcquireToneMapSession()
320 usage = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AcquireToneMapSession()
321 usage |= INT(GRALLOC_USAGE_PROTECTED); in AcquireToneMapSession()
325 error = session->AllocateIntermediateBuffers(INT(layer->request.width), in AcquireToneMapSession()
326 INT(layer->request.height), format, usage); in AcquireToneMapSession()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp60 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in AllocateBuffer()
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
72 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AllocateBuffer()
73 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
166 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize()
168 int width = INT(buffer_config.width); in GetBufferSize()
169 int height = INT(buffer_config.height); in GetBufferSize()
177 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in GetBufferSize()
178 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
[all …]
Dblit_engine_c2d.cpp77 r.end = INT(rect.count); in RegionIterator()
90 rect->l = INT(me->rect_array.rect[me->r.current].left); in iterate()
91 rect->t = INT(me->rect_array.rect[me->r.current].top); in iterate()
92 rect->r = INT(me->rect_array.rect[me->r.current].right); in iterate()
93 rect->b = INT(me->rect_array.rect[me->r.current].bottom); in iterate()
148 if (INT(width) != blit_target_buffer_[0]->width || in AllocateBlitTargetBuffers()
149 INT(height) != blit_target_buffer_[0]->height) { in AllocateBlitTargetBuffers()
185 copybit_rect_t clear_rect = {INT(rect.left), INT(rect.top), INT(rect.right), INT(rect.bottom)}; in ClearTargetBuffer()
285 int fbwidth = INT(layer_buffer.unaligned_width); in Prepare()
286 int fbheight = INT(layer_buffer.unaligned_height); in Prepare()
[all …]
Dhwc_tonemapper.cpp146 fb_tone_map_session->layer_index_ = INT(i); in HandleToneMap()
166 session->layer_index_ = INT(i); in HandleToneMap()
276 grid_size = INT(layer->lut_3d.gridSize); in AcquireToneMapSession()
317 int usage = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP | GRALLOC_USAGE_HW_TEXTURE); in AcquireToneMapSession()
320 usage = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AcquireToneMapSession()
321 usage |= INT(GRALLOC_USAGE_PROTECTED); in AcquireToneMapSession()
325 error = session->AllocateIntermediateBuffers(INT(layer->request.width), in AcquireToneMapSession()
326 INT(layer->request.height), format, usage); in AcquireToneMapSession()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_allocator.cpp60 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in AllocateBuffer()
63 int width = INT(buffer_config.width); in AllocateBuffer()
64 int height = INT(buffer_config.height); in AllocateBuffer()
68 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in AllocateBuffer()
69 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in AllocateBuffer()
158 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize()
160 int width = INT(buffer_config.width); in GetBufferSize()
161 int height = INT(buffer_config.height); in GetBufferSize()
165 alloc_flags = INT(GRALLOC_USAGE_PRIVATE_MM_HEAP); in GetBufferSize()
166 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
Dblit_engine_c2d.cpp77 r.end = INT(rect.count); in RegionIterator()
90 rect->l = INT(me->rect_array.rect[me->r.current].left); in iterate()
91 rect->t = INT(me->rect_array.rect[me->r.current].top); in iterate()
92 rect->r = INT(me->rect_array.rect[me->r.current].right); in iterate()
93 rect->b = INT(me->rect_array.rect[me->r.current].bottom); in iterate()
148 if (INT(width) != blit_target_buffer_[0]->width || in AllocateBlitTargetBuffers()
149 INT(height) != blit_target_buffer_[0]->height) { in AllocateBlitTargetBuffers()
185 copybit_rect_t clear_rect = {INT(rect.left), INT(rect.top), INT(rect.right), INT(rect.bottom)}; in ClearTargetBuffer()
285 int fbwidth = INT(layer_buffer->width); in Prepare()
286 int fbheight = INT(layer_buffer->height); in Prepare()
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_ion_alloc.cpp82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
195 if (ioctl(ion_dev_fd_, INT(ION_IOC_CUSTOM), &d)) { in CleanBuffer()
Dgr_utils.cpp295 y_meta_stride = VENUS_Y_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
296 y_meta_height = VENUS_Y_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
299 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
300 y_height = VENUS_Y_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
303 c_meta_stride = VENUS_UV_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
304 c_meta_height = VENUS_UV_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
311 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
325 uv_stride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcInterlacedSPPlaneInfo()
326 uv_height = VENUS_UV_SCANLINES(color_format, INT(height)); in GetYuvUbwcInterlacedSPPlaneInfo()
365 format = INT(linear_format); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_ion_alloc.cpp82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
195 if (ioctl(ion_dev_fd_, INT(ION_IOC_CUSTOM), &d)) { in CleanBuffer()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_ion_alloc.cpp82 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer()
90 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
93 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
119 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
148 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
195 if (ioctl(ion_dev_fd_, INT(ION_IOC_CUSTOM), &d)) { in CleanBuffer()
Dgr_utils.cpp295 y_meta_stride = VENUS_Y_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
296 y_meta_height = VENUS_Y_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
299 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
300 y_height = VENUS_Y_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
303 c_meta_stride = VENUS_UV_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
304 c_meta_height = VENUS_UV_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
311 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
325 uv_stride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcInterlacedSPPlaneInfo()
326 uv_height = VENUS_UV_SCANLINES(color_format, INT(height)); in GetYuvUbwcInterlacedSPPlaneInfo()
365 format = INT(linear_format); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp141 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize()
143 int width = INT(buffer_config.width); in GetBufferSize()
144 int height = INT(buffer_config.height); in GetBufferSize()
148 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
282 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetAllocatedBufferInfo()
284 int width = INT(buffer_config.width); in GetAllocatedBufferInfo()
285 int height = INT(buffer_config.height); in GetAllocatedBufferInfo()
289 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp135 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetBufferSize()
137 int width = INT(buffer_config.width); in GetBufferSize()
138 int height = INT(buffer_config.height); in GetBufferSize()
142 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
276 int alloc_flags = INT(GRALLOC_USAGE_PRIVATE_IOMMU_HEAP); in GetAllocatedBufferInfo()
278 int width = INT(buffer_config.width); in GetAllocatedBufferInfo()
279 int height = INT(buffer_config.height); in GetAllocatedBufferInfo()
283 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()
/hardware/qcom/sdm845/display/gralloc/
Dgr_ion_alloc.cpp88 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer()
98 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
101 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
128 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
157 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
204 if (ioctl(ion_dev_fd_, INT(ION_IOC_CUSTOM), &d)) { in CleanBuffer()
Dgr_utils.cpp367 y_meta_stride = VENUS_Y_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
368 y_meta_height = VENUS_Y_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
371 y_stride = VENUS_Y_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
372 y_height = VENUS_Y_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
375 c_meta_stride = VENUS_UV_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
376 c_meta_height = VENUS_UV_META_SCANLINES(color_format, INT(height)); in GetYuvUbwcSPPlaneInfo()
383 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
397 uv_stride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcInterlacedSPPlaneInfo()
398 uv_height = VENUS_UV_SCANLINES(color_format, INT(height)); in GetYuvUbwcInterlacedSPPlaneInfo()
436 format = INT(linear_format); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_ion_alloc.cpp93 if (ioctl(ion_dev_fd_, INT(ION_IOC_ALLOC), &ion_alloc_data)) { in AllocBuffer()
103 if (ioctl(ion_dev_fd_, INT(ION_IOC_MAP), &fd_data)) { in AllocBuffer()
106 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in AllocBuffer()
133 ioctl(ion_dev_fd_, INT(ION_IOC_FREE), &handle_data); in FreeBuffer()
162 if (ioctl(ion_dev_fd_, INT(ION_IOC_IMPORT), &fd_data)) { in ImportBuffer()
209 if (ioctl(ion_dev_fd_, INT(ION_IOC_CUSTOM), &d)) { in CleanBuffer()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp553 os << " " << it.first << " " << std::setw(35 - INT(it.first.length())) << in Dump()
558 std::setw(6 - INT(attr_it.second.length())) << " "; in Dump()
590 os << "\nROI(LTRB)#" << i << " LEFT(" << INT(l_roi.left) << " " << INT(l_roi.top) << " " << in Dump()
591 INT(l_roi.right) << " " << INT(l_roi.bottom) << ")"; in Dump()
593 os << " RIGHT(" << INT(r_roi.left) << " " << INT(r_roi.top) << " " << INT(r_roi.right) << " " in Dump()
594 << INT(r_roi.bottom) << ")"; in Dump()
600 os << "\nPartial FB ROI(LTRB):(" << INT(fb_roi.left) << " " << INT(fb_roi.top) << " " << in Dump()
601 INT(fb_roi.right) << " " << INT(fb_roi.bottom) << ")"; in Dump()
642 INT(src_roi.left), INT(src_roi.top), INT(src_roi.right), INT(src_roi.bottom), in Dump()
643 INT(dst_roi.left), INT(dst_roi.top), INT(dst_roi.right), INT(dst_roi.bottom), in Dump()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp531 state_, INT(vsync_enable_), max_mixer_stages_); in AppendDump()
562 DumpImpl::AppendString(buffer, length, "\nROI(L T R B) : LEFT(%d %d %d %d)", INT(l_roi.left), in AppendDump()
563 INT(l_roi.top), INT(l_roi.right), INT(l_roi.bottom)); in AppendDump()
566 DumpImpl::AppendString(buffer, length, ", RIGHT(%d %d %d %d)", INT(r_roi.left), in AppendDump()
567 INT(r_roi.top), INT(r_roi.right), INT(r_roi.bottom)); in AppendDump()
610 input_buffer->height, buffer_format, INT(src_roi.left), in AppendDump()
611 INT(src_roi.top), INT(src_roi.right), INT(src_roi.bottom), in AppendDump()
612 INT(dst_roi.left), INT(dst_roi.top), INT(dst_roi.right), in AppendDump()
613 INT(dst_roi.bottom), "-", "- ", "- ", "-"); in AppendDump()
648 buffer_format, INT(src_roi.left), INT(src_roi.top), in AppendDump()
[all …]
/hardware/google/av/media/codecs/aac/
DDrcPresModeWrap.h54 INT mStreamNrAACChan;
55 INT mStreamNrOutChan;
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp514 state_, INT(vsync_enable_), max_mixer_stages_); in AppendDump()
549 INT(l_roi.left), INT(l_roi.top), INT(l_roi.right), INT(l_roi.bottom)); in AppendDump()
551 DumpImpl::AppendString(buffer, length, ", RIGHT(%d %d %d %d)", INT(r_roi.left), in AppendDump()
552 INT(r_roi.top), INT(r_roi.right), INT(r_roi.bottom)); in AppendDump()
559 INT(fb_roi.left), INT(fb_roi.top), INT(fb_roi.right), INT(fb_roi.bottom)); in AppendDump()
599 input_buffer->height, buffer_format, INT(src_roi.left), in AppendDump()
600 INT(src_roi.top), INT(src_roi.right), INT(src_roi.bottom), in AppendDump()
601 INT(dst_roi.left), INT(dst_roi.top), INT(dst_roi.right), in AppendDump()
602 INT(dst_roi.bottom), "-", "- ", "- ", "-", "-"); in AppendDump()
640 buffer_format, INT(src_roi.left), INT(src_roi.top), in AppendDump()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp529 state_, INT(vsync_enable_), max_mixer_stages_); in AppendDump()
563 INT(l_roi.left), INT(l_roi.top), INT(l_roi.right), INT(l_roi.bottom)); in AppendDump()
567 DumpImpl::AppendString(buffer, length, ", RIGHT(%d %d %d %d)", INT(r_roi.left), in AppendDump()
568 INT(r_roi.top), INT(r_roi.right), INT(r_roi.bottom)); in AppendDump()
576 INT(fb_roi.left), INT(fb_roi.top), INT(fb_roi.right), INT(fb_roi.bottom)); in AppendDump()
619 input_buffer->height, buffer_format, INT(src_roi.left), in AppendDump()
620 INT(src_roi.top), INT(src_roi.right), INT(src_roi.bottom), in AppendDump()
621 INT(dst_roi.left), INT(dst_roi.top), INT(dst_roi.right), in AppendDump()
622 INT(dst_roi.bottom), "-", "- ", "- ", "-", "-"); in AppendDump()
660 buffer_format, INT(src_roi.left), INT(src_roi.top), in AppendDump()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp566 os << "\nROI(LTRB)#" << i << " LEFT(" << INT(l_roi.left) << " " << INT(l_roi.top) << " " << in Dump()
567 INT(l_roi.right) << " " << INT(l_roi.bottom) << ")"; in Dump()
569 os << " RIGHT(" << INT(r_roi.left) << " " << INT(r_roi.top) << " " << INT(r_roi.right) << " " in Dump()
570 << INT(r_roi.bottom) << ")"; in Dump()
576 os << "\nPartial FB ROI(LTRB):(" << INT(fb_roi.left) << " " << INT(fb_roi.top) << " " << in Dump()
577 INT(fb_roi.right) << " " << INT(fb_roi.bottom) << ")"; in Dump()
617 input_buffer->height, buffer_format, INT(src_roi.left), in Dump()
618 INT(src_roi.top), INT(src_roi.right), INT(src_roi.bottom), in Dump()
619 INT(dst_roi.left), INT(dst_roi.top), INT(dst_roi.right), in Dump()
620 INT(dst_roi.bottom), "-", "- ", "- ", "-", "-"); in Dump()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp187 *aligned_width = INT(aligned_w); in GetAlignedWidthAndHeight()
188 *aligned_height = INT(aligned_h); in GetAlignedWidthAndHeight()
195 int width = INT(buffer_config.width); in GetBufferSize()
196 int height = INT(buffer_config.height); in GetBufferSize()
200 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetBufferSize()
346 int width = INT(buffer_config.width); in GetAllocatedBufferInfo()
347 int height = INT(buffer_config.height); in GetAllocatedBufferInfo()
351 alloc_flags |= INT(GRALLOC_USAGE_PROTECTED); in GetAllocatedBufferInfo()

123456