Home
last modified time | relevance | path

Searched refs:buf_idx (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/common/
Dcras_shm.h177 unsigned buf_idx = shm->area->read_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_readable_frames() local
184 shm->area->read_offset[buf_idx]); in cras_shm_get_readable_frames()
187 shm->area->write_offset[buf_idx]); in cras_shm_get_readable_frames()
192 buf_idx = (buf_idx + 1) & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_readable_frames()
194 shm, shm->area->write_offset[buf_idx]); in cras_shm_get_readable_frames()
202 return cras_shm_buff_for_idx(shm, buf_idx) + final_offset; in cras_shm_get_readable_frames()
239 size_t buf_idx = shm->area->read_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_frames_in_curr_buffer() local
243 read_offset = MIN(shm->area->read_offset[buf_idx], used_size); in cras_shm_get_frames_in_curr_buffer()
244 write_offset = MIN(shm->area->write_offset[buf_idx], used_size); in cras_shm_get_frames_in_curr_buffer()
255 size_t buf_idx = shm->area->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_is_buffer_available() local
[all …]
/external/adhd/cras/src/server/
Dcras_fmt_conv.c810 size_t buf_idx = 0; in cras_fmt_conv_convert_frames() local
878 buffers[buf_idx], in cras_fmt_conv_convert_frames()
880 buffers[buf_idx + 1], in cras_fmt_conv_convert_frames()
882 buf_idx++; in cras_fmt_conv_convert_frames()
887 conv->in_format_converter(buffers[buf_idx], in cras_fmt_conv_convert_frames()
889 (uint8_t *)buffers[buf_idx + 1]); in cras_fmt_conv_convert_frames()
890 buf_idx++; in cras_fmt_conv_convert_frames()
896 (int16_t *)buffers[buf_idx], in cras_fmt_conv_convert_frames()
898 (int16_t *)buffers[buf_idx + 1]); in cras_fmt_conv_convert_frames()
899 buf_idx++; in cras_fmt_conv_convert_frames()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_streamout.c94 unsigned buf_idx = info->output[i].output_buffer; in svga_create_stream_output() local
98 assert(buf_idx <= PIPE_MAX_SO_BUFFERS); in svga_create_stream_output()
126 decls[i].outputSlot = buf_idx; in svga_create_stream_output()
135 strides[buf_idx] = info->stride[buf_idx] * sizeof(float); in svga_create_stream_output()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h952 const int buf_idx = get_ref_frame_buf_idx(cpi, ref_frame); in get_ref_frame_buffer() local
953 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
Dvp9_encoder.c3225 int buf_idx; local
3229 buf_idx = cpi->scaled_ref_idx[ref_frame - 1];
3230 if (buf_idx != INVALID_IDX) {
3231 buf = &pool->frame_bufs[buf_idx];
3236 buf_idx = get_ref_frame_buf_idx(cpi, ref_frame);
3237 buf = &pool->frame_bufs[buf_idx];
3240 cpi->scaled_ref_idx[ref_frame - 1] = buf_idx;
3603 const int buf_idx = get_ref_frame_buf_idx(cpi, ref_frame); local
3605 ref_buf->idx = buf_idx;
3607 if (buf_idx != INVALID_IDX) {
[all …]
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h206 unsigned char cmd_type, buf_idx, pad0, pad1; member
270 unsigned char cmd_type, buf_idx, pad0, pad1; member
/external/libdrm/include/drm/
Dradeon_drm.h206 unsigned char cmd_type, buf_idx, pad0, pad1; member
270 unsigned char cmd_type, buf_idx, pad0, pad1; member
/external/perfetto/src/tracing/core/
Dtracing_service_impl.cc1472 for (size_t buf_idx = 0; in ReadBuffers() local
1473 buf_idx < tracing_session->num_buffers() && !did_hit_threshold; in ReadBuffers()
1474 buf_idx++) { in ReadBuffers()
1475 auto tbuf_iter = buffers_.find(tracing_session->buffers_index[buf_idx]); in ReadBuffers()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c1027 idx = header.dma.buf_idx; in radeonSanityCmdBuffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c1394 idx = header.dma.buf_idx; in r200SanityCmdBuffer()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c5128 int buf_idx = get_free_fb(cm); in read_uncompressed_header() local
5129 if (buf_idx == INVALID_IDX) { in read_uncompressed_header()
5133 buf = &frame_bufs[buf_idx]; in read_uncompressed_header()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c2708 unsigned buf_idx = stream_out->output_buffer; in emit_streamout_output() local
2742 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf_idx], in emit_streamout_output()
2744 so_write_offsets[buf_idx], in emit_streamout_output()