/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 87 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in AllocateBuffer() local 90 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 95 data.size = buffer_size; in AllocateBuffer() 107 alloc_buffer_info->size = buffer_size; in AllocateBuffer() 181 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in GetBufferSize() local 184 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize() 186 return buffer_size; in GetBufferSize()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 91 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in AllocateBuffer() local 94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 99 data.size = buffer_size; in AllocateBuffer() 114 alloc_buffer_info->size = buffer_size; in AllocateBuffer() 193 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in GetBufferSize() local 196 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize() 198 return buffer_size; in GetBufferSize() 292 uint32_t buffer_size = 0; in GetAllocatedBufferInfo() local 293 buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in GetAllocatedBufferInfo() 299 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 91 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in AllocateBuffer() local 94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 99 data.size = buffer_size; in AllocateBuffer() 114 alloc_buffer_info->size = buffer_size; in AllocateBuffer() 193 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in GetBufferSize() local 196 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize() 198 return buffer_size; in GetBufferSize() 292 uint32_t buffer_size = 0; in GetAllocatedBufferInfo() local 293 buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags, in GetAllocatedBufferInfo() 299 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | frame_buffer.cpp | 36 AllocatedFrameBuffer::AllocatedFrameBuffer(int buffer_size) { in AllocatedFrameBuffer() argument 37 buffer_.reset(new uint8_t[buffer_size]); in AllocatedFrameBuffer() 38 buffer_size_ = buffer_size; in AllocatedFrameBuffer() 42 AllocatedFrameBuffer::AllocatedFrameBuffer(uint8_t* buffer, int buffer_size) { in AllocatedFrameBuffer() argument 44 buffer_size_ = buffer_size; in AllocatedFrameBuffer() 62 V4L2FrameBuffer::V4L2FrameBuffer(base::ScopedFD fd, int buffer_size, in V4L2FrameBuffer() argument 66 buffer_size_ = buffer_size; in V4L2FrameBuffer()
|
D | frame_buffer.h | 61 explicit AllocatedFrameBuffer(int buffer_size); 62 explicit AllocatedFrameBuffer(uint8_t* buffer, int buffer_size); 82 V4L2FrameBuffer(base::ScopedFD fd, int buffer_size, uint32_t width,
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | wifi_logger.h | 297 void (*on_ring_buffer_data) (char *ring_name, char *buffer, int buffer_size, 319 void (*on_alert) (wifi_request_id id, char *buffer, int buffer_size, int err_code); 373 void (*on_firmware_memory_dump) (char *buffer, int buffer_size); 390 wifi_error wifi_get_firmware_version(wifi_interface_handle iface, char *buffer, int buffer_size); 397 wifi_error wifi_get_driver_version(wifi_interface_handle iface, char *buffer, int buffer_size); 422 void (*on_driver_memory_dump) (char *buffer, int buffer_size);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_mpo_composer.c | 101 uint32_t buffer_size, int value, uint8_t *overflow) in mm_jpeg_mpo_write_long_little_endian() argument 103 if (buff_offset + 3 >= buffer_size) { in mm_jpeg_mpo_write_long_little_endian() 132 uint32_t buffer_size, int value, uint8_t *overflow) in mm_jpeg_mpo_write_long() argument 134 if ((buff_offset + 3) >= buffer_size) { in mm_jpeg_mpo_write_long() 160 uint8_t *mm_jpeg_mpo_get_app_marker(uint8_t *buffer_addr, int buffer_size, in mm_jpeg_mpo_get_app_marker() argument 174 (p_current_addr < (buffer_addr + (buffer_size - 1)))); in mm_jpeg_mpo_get_app_marker() 196 (p_current_addr < (buffer_addr + (buffer_size - 1)))); in mm_jpeg_mpo_get_app_marker()
|
/hardware/google/aemu/host-common/include/host-common/ |
D | address_space_graphics_types.h | 134 uint32_t buffer_size) { in asg_context_create() argument 164 (uint8_t*)res.buffer, buffer_size); in asg_context_create() 169 (uint8_t*)res.buffer, buffer_size); in asg_context_create() 237 uint32_t buffer_size; member
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 160 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local 167 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize() 168 return buffer_size; in GetBufferSize() 301 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local 308 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetAllocatedBufferInfo() 312 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 154 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local 161 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetBufferSize() 162 return buffer_size; in GetBufferSize() 295 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local 302 format, producer_usage, consumer_usage, &aligned_width, &aligned_height, &buffer_size); in GetAllocatedBufferInfo() 304 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 86 size_t buffer_size = out->frame_count * in out_get_buffer_size() local 89 ALOGV("out_get_buffer_size: %zu", buffer_size); in out_get_buffer_size() 90 return buffer_size; in out_get_buffer_size() 237 size_t buffer_size = in->frame_count * in in_get_buffer_size() local 240 ALOGV("in_get_buffer_size: %zu", buffer_size); in in_get_buffer_size() 241 return buffer_size; in in_get_buffer_size() 482 size_t buffer_size = samples_per_milliseconds( in adev_get_input_buffer_size() local 491 buffer_size *= 4; in adev_get_input_buffer_size() 493 buffer_size *= audio_bytes_per_sample(config->format); in adev_get_input_buffer_size() 495 ALOGV("adev_get_input_buffer_size: %zu", buffer_size); in adev_get_input_buffer_size() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 169 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local 176 GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetBufferSize() 177 return buffer_size; in GetBufferSize() 322 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local 329 GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetAllocatedBufferInfo() 333 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 193 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local 200 GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetBufferSize() 201 return buffer_size; in GetBufferSize() 346 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local 353 GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetAllocatedBufferInfo() 357 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | wifiloggercmd.h | 71 int buffer_size); 107 virtual void setVersionInfo(char *buffer, int buffer_size);
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | wifiloggercmd.h | 71 int buffer_size); 107 virtual void setVersionInfo(char *buffer, int buffer_size);
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 1747 unsigned int alignment = 0,buffer_size = 0; in component_init() local 1996 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init() 2036 drv_ctx.ip_buf.buffer_size, drv_ctx.interm_op_buf.buffer_size, in component_init() 2037 drv_ctx.op_buf.buffer_size); in component_init() 2039 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 2040 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 3435 unsigned int buffer_size; in set_parameter() local 3451 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 3456 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) in set_parameter() 3459 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() [all …]
|
D | omx_vdec_hevc.cpp | 1235 unsigned int alignment = 0,buffer_size = 0; in component_init() local 1530 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init() 1534 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 1535 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 1554 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init() 2730 unsigned int buffer_size; in set_parameter() local 2731 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 2736 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) { in set_parameter() 2738 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() 2744 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 1730 unsigned int alignment = 0,buffer_size = 0; in component_init() local 1973 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init() 2013 drv_ctx.ip_buf.buffer_size, drv_ctx.interm_op_buf.buffer_size, in component_init() 2014 drv_ctx.op_buf.buffer_size); in component_init() 2016 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 2017 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 3386 unsigned int buffer_size; in set_parameter() local 3387 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 3392 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) in set_parameter() 3395 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() [all …]
|
D | omx_vdec_hevc.cpp | 1240 unsigned int alignment = 0,buffer_size = 0; in component_init() local 1551 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init() 1555 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 1556 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 1575 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init() 2751 unsigned int buffer_size; in set_parameter() local 2752 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 2757 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) { in set_parameter() 2759 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() 2765 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter() [all …]
|
D | omx_vdec_msm8974.cpp | 1594 unsigned int alignment = 0,buffer_size = 0; in component_init() local 2005 DEBUG_PRINT_HIGH("Input Buffer Size =%u",(unsigned int)drv_ctx.ip_buf.buffer_size); in component_init() 2010 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 2011 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 2029 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init() 3318 unsigned int buffer_size; in set_parameter() local 3419 } else if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 3427 … portDefn->nBufferSize != drv_ctx.op_buf.buffer_size)) { in set_parameter() 3435 … portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) { in set_parameter() 3437 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() [all …]
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | JpegCompressor.cpp | 323 .output_buffer_size = job->output->plane.img.buffer_size, in CompressYUV420() 338 job->output->plane.img.buffer_size - sizeof(struct CameraBlob); in CompressYUV420() 356 size_t buffer_size; in CompressYUV420Frame() member 381 dmgr.buffer_size = frame.output_buffer_size; in CompressYUV420Frame() 388 dmgr.free_in_buffer = dmgr.buffer_size; in CompressYUV420Frame() 390 dmgr.buffer_size); in CompressYUV420Frame() 400 dmgr.encoded_size = dmgr.buffer_size - dmgr.free_in_buffer; in CompressYUV420Frame()
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 1710 DEBUG_PRINT_HIGH("Input Buffer Size =%d \n ",drv_ctx.ip_buf.buffer_size); in component_init() 2963 unsigned int buffer_size; in set_parameter() local 3032 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter() 3194 …ffer_size=%d \n", portDefn->nBufferCountActual, portDefn->nBufferSize, drv_ctx.ip_buf.buffer_size); in set_parameter() 3208 drv_ctx.ip_buf.mincount, drv_ctx.ip_buf.buffer_size, in set_parameter() 3930 if ((OMX_U32)handle->size < drv_ctx.op_buf.buffer_size) { in use_output_buffer() 3933 drv_ctx.op_buf.buffer_size, (OMX_U32)handle->size); in use_output_buffer() 3944 drv_ctx.ptr_outputbuffer[i].buffer_len = drv_ctx.op_buf.buffer_size; in use_output_buffer() 3948 drv_ctx.op_buf.buffer_size, in use_output_buffer() 3956 drv_ctx.op_buf.buffer_size,drv_ctx.op_buf.alignment, in use_output_buffer() [all …]
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_dpps_mgr_imp.cpp | 444 uint32_t buffer_size, i = 0, bpp = 0; in InitLtmBuffers() local 482 buffer_size = sizeof(struct drm_msm_ltm_stats_data) + LTM_GUARD_BYTES; in InitLtmBuffers() 488 fb_obj.width = buffer_size / (2 * fb_obj.height) + 1; in InitLtmBuffers() 528 uva = drm_mmap(0, buffers->buffer_size, PROT_READ | PROT_WRITE, MAP_SHARED, in InitLtmBuffers() 540 ltm_buffers.buffer_size = buffers->buffer_size; in InitLtmBuffers() 566 drm_munmap(ltm_buffers.uva[i], ltm_buffers.buffer_size); in DeInitLtmBuffers() 584 ltm_buffers.buffer_size = 0; in DeInitLtmBuffers()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 1192 unsigned int alignment = 0,buffer_size = 0; in component_init() local 1555 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init() 1556 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init() 1566 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init() 2974 if ((OMX_U32)handle->size < drv_ctx.op_buf.buffer_size) { in use_android_native_buffer() 2977 drv_ctx.op_buf.buffer_size, (OMX_U32)handle->size); in use_android_native_buffer() 3059 unsigned int buffer_size; in set_parameter() local 3060 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter() 3065 portDefn->nBufferSize >= buffer_size) in set_parameter() 3077 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.cpp | 298 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetBufferSize() local 300 int ret = GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetBufferSize() 304 return buffer_size; in GetBufferSize() 455 uint32_t aligned_width = 0, aligned_height = 0, buffer_size = 0; in GetAllocatedBufferInfo() local 457 int ret = GetBufferSizeAndDimensions(info, &buffer_size, &aligned_width, &aligned_height); in GetAllocatedBufferInfo() 464 allocated_buffer_info->size = UINT32(buffer_size); in GetAllocatedBufferInfo()
|