Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 25 of 92) sorted by relevance

1234

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Divfdec.c73 size_t *bytes_read, size_t *buffer_size) { in ivf_read_frame() argument
88 if (frame_size > *buffer_size) { in ivf_read_frame()
93 *buffer_size = 2 * frame_size; in ivf_read_frame()
Dvideo_reader.c25 size_t buffer_size; member
69 &reader->buffer_size); in vpx_video_reader_read_frame()
Dvpxdec.c173 size_t *bytes_read, size_t *buffer_size) { in raw_read_frame() argument
195 if (frame_size > *buffer_size) { in raw_read_frame()
199 *buffer_size = 2 * frame_size; in raw_read_frame()
219 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument
224 buf, bytes_in_buffer, buffer_size); in read_frame()
228 buf, bytes_in_buffer, buffer_size); in read_frame()
231 buf, bytes_in_buffer, buffer_size); in read_frame()
491 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local
769 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) in main_loop()
799 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop()
Divfdec.h22 size_t *bytes_read, size_t *buffer_size);
Dwebmdec.h37 size_t *buffer_size);
/hardware/libhardware_legacy/qemu/
Dqemu.c252 int buffer_size, in qemu_command_vformat() argument
259 if (buffer_size < 6) in qemu_command_vformat()
262 len = vsnprintf(buffer+4, buffer_size-4, format, args); in qemu_command_vformat()
263 if (len >= buffer_size-4) in qemu_command_vformat()
273 int buffer_size, in qemu_command_format() argument
281 ret = qemu_command_format(buffer, buffer_size, format, args); in qemu_command_format()
/hardware/intel/img/psb_headers/DRM/cc54/inc/
Dwv_mod_drm_api.h119 uint32_t buffer_size,
126 uint32_t buffer_size,
133 uint32_t buffer_size,
140 uint32_t buffer_size,
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp1730 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 …]
Domx_vdec_hevc.cpp1242 unsigned int alignment = 0,buffer_size = 0; in component_init() local
1553 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
1557 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1558 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1577 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2753 unsigned int buffer_size; in set_parameter() local
2754 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter()
2759 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) { in set_parameter()
2761 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
2767 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter()
[all …]
Domx_vdec_msm8974.cpp1472 unsigned int alignment = 0,buffer_size = 0; in component_init() local
1838 DEBUG_PRINT_HIGH("Input Buffer Size =%d",drv_ctx.ip_buf.buffer_size); in component_init()
1843 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1844 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1862 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
3081 unsigned int buffer_size; in set_parameter() local
3112 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter()
3117 … portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) { in set_parameter()
3119 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
3122 drv_ctx.extradata_info.buffer_size; in set_parameter()
[all …]
Domx_vdec.cpp1154 unsigned int alignment = 0,buffer_size = 0; in component_init() local
1521 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size - DEVICE_SCRATCH; in component_init()
1532 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2836 if ((OMX_U32)handle->size < drv_ctx.op_buf.buffer_size) { in use_android_native_buffer()
2839 drv_ctx.op_buf.buffer_size, (OMX_U32)handle->size); in use_android_native_buffer()
2918 unsigned int buffer_size; in set_parameter() local
2920 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter()
2925 portDefn->nBufferSize >= buffer_size) { in set_parameter()
2927 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
2934 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter()
[all …]
/hardware/libhardware/modules/usbaudio/
Dalsa_device_profile.c465 const int buffer_size = ARRAY_SIZE(buffer); in profile_get_channel_count_strs() local
480 strncat(buffer, "|", buffer_size); in profile_get_channel_count_strs()
482 strncat(buffer, names_array[channel_count], buffer_size); in profile_get_channel_count_strs()
491 strncat(buffer, "|", buffer_size); in profile_get_channel_count_strs()
493 strncat(buffer, names_array[2], buffer_size); /* stereo */ in profile_get_channel_count_strs()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp1186 unsigned int alignment = 0,buffer_size = 0; in component_init() local
1549 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1550 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1560 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2968 if ((OMX_U32)handle->size < drv_ctx.op_buf.buffer_size) { in use_android_native_buffer()
2971 drv_ctx.op_buf.buffer_size, (OMX_U32)handle->size); in use_android_native_buffer()
3053 unsigned int buffer_size; in set_parameter() local
3054 if (!client_buffers.get_buffer_req(buffer_size)) { in set_parameter()
3059 portDefn->nBufferSize >= buffer_size) in set_parameter()
3071 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
[all …]
Domx_vdec_copper.cpp1192 unsigned int alignment = 0,buffer_size = 0; in component_init() local
1452 printf("Input Buffer Size =%d \n ",drv_ctx.ip_buf.buffer_size); in component_init()
1471 h264_scratch.nAllocLen = drv_ctx.ip_buf.buffer_size; in component_init()
1472 h264_scratch.pBuffer = (OMX_U8 *)malloc (drv_ctx.ip_buf.buffer_size); in component_init()
1482 m_frame_parser.mutils->allocate_rbsp_buffer (drv_ctx.ip_buf.buffer_size); in component_init()
2862 portDefn->nBufferSize >= drv_ctx.op_buf.buffer_size ) in set_parameter()
2865 drv_ctx.op_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
2873 drv_ctx.op_buf.mincount, drv_ctx.op_buf.buffer_size, in set_parameter()
2942 && portDefn->nBufferSize == drv_ctx.ip_buf.buffer_size) in set_parameter()
2945 drv_ctx.ip_buf.buffer_size = portDefn->nBufferSize; in set_parameter()
[all …]
/hardware/intel/img/psb_video/src/
Dpnw_H264ES.c157 ctx->buffer_size = 0; in pnw_H264ES_CreateContext()
303 ctx->buffer_size != 0 && ctx->initial_buffer_fullness != 0) { in pnw__H264ES_process_sequence_param()
304 ctx->sRCParams.BufferSize = ctx->buffer_size; in pnw__H264ES_process_sequence_param()
305 ctx->sRCParams.InitialLevel = ctx->buffer_size - ctx->initial_buffer_fullness; in pnw__H264ES_process_sequence_param()
309 ctx->buffer_size = ctx->sRCParams.BitsPerSecond; in pnw__H264ES_process_sequence_param()
311 ctx->sRCParams.BufferSize = ctx->buffer_size; in pnw__H264ES_process_sequence_param()
317 ctx->sRCParams.InitialDelay = ctx->buffer_size - ctx->sRCParams.InitialLevel; in pnw__H264ES_process_sequence_param()
454 90000 * (1.0 * ctx->buffer_size / ctx->sRCParams.BitsPerSecond) in pnw__H264ES_insert_SEI_buffer_period()
1207 if (hrd_param->buffer_size == 0 in pnw__H264ES_process_misc_param()
1213 if (ctx->initial_buffer_fullness > ctx->buffer_size) { in pnw__H264ES_process_misc_param()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dvp8_boolcoder_test.cc98 encrypt_buffer(bw_buffer, buffer_size); in TEST()
99 vp8dx_start_decode(&br, bw_buffer, buffer_size, in TEST()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c403 pcm->buffer_size, in pcm_avail()
412 …sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ? pcm->buffer_size/2 : pcm->buffer_size/4); in pcm_avail()
442 size = pcm->buffer_size; in mmap_buffer()
466 pcm_offset = (appl_ptr % (unsigned long)pcm->buffer_size); in dst_address()
503 pcm_offset = (tmp % (unsigned long)pcm->buffer_size); in mmap_transfer_capture()
733 if (munmap(pcm->addr, pcm->buffer_size)) in pcm_close()
744 pcm->buffer_size = 0; in pcm_close()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h142 uint32_t buffer_size; member
155 uint32_t buffer_size; member
236 uint32_t buffer_size; member
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp132 int32_t buffer_size = mStride * mSurfaceHeight * 3 / 2; in clearIfNeed() local
134 for (int32_t i = 0; i < buffer_size/RANDOM_BUFFER_SIZE; i++) { in clearIfNeed()
139 …ER_MANAGER_DEBUG, "%s: clear isv buffer %p finished, buffer size %d", __func__, this, buffer_size); in clearIfNeed()
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h152 uint32_t buffer_size; member
163 uint32_t buffer_size; member
260 uint32_t buffer_size; /* Size of buffer for capturing of member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_audio.h152 uint32_t buffer_size; member
163 uint32_t buffer_size; member
309 uint32_t buffer_size; /* Size of buffer for capturing of member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_audio.h152 uint32_t buffer_size; member
163 uint32_t buffer_size; member
309 uint32_t buffer_size; /* Size of buffer for capturing of member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_audio.h142 uint32_t buffer_size; member
155 uint32_t buffer_size; member
275 uint32_t buffer_size; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_audio.h142 uint32_t buffer_size; member
155 uint32_t buffer_size; member
275 uint32_t buffer_size; member
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
Dperf_config.h53 unsigned long buffer_size; /* log buffer size */ member

1234