/external/adhd/cras/src/common/ |
D | cras_shm.h | 177 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/ |
D | cras_fmt_conv.c | 810 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/ |
D | svga_pipe_streamout.c | 94 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/ |
D | vp9_encoder.h | 952 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()
|
D | vp9_encoder.c | 3225 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/ |
D | radeon_drm.h | 206 unsigned char cmd_type, buf_idx, pad0, pad1; member 270 unsigned char cmd_type, buf_idx, pad0, pad1; member
|
/external/libdrm/include/drm/ |
D | radeon_drm.h | 206 unsigned char cmd_type, buf_idx, pad0, pad1; member 270 unsigned char cmd_type, buf_idx, pad0, pad1; member
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 1472 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/ |
D | radeon_sanity.c | 1027 idx = header.dma.buf_idx; in radeonSanityCmdBuffer()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_sanity.c | 1394 idx = header.dma.buf_idx; in r200SanityCmdBuffer()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 5128 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/ |
D | si_shader.c | 2708 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()
|