/external/adhd/cras/src/common/ |
D | cras_shm.h | 165 uint32_t buf_idx) in cras_shm_get_checked_buffer_offset() argument 167 unsigned buffer_offset = shm->header->buffer_offset[buf_idx]; in cras_shm_get_checked_buffer_offset() 186 uint32_t buf_idx) in cras_shm_get_checked_read_offset() argument 189 cras_shm_get_checked_buffer_offset(shm, buf_idx); in cras_shm_get_checked_read_offset() 190 unsigned read_offset = shm->header->read_offset[buf_idx]; in cras_shm_get_checked_read_offset() 205 uint32_t buf_idx) in cras_shm_get_checked_write_offset() argument 207 unsigned write_offset = shm->header->write_offset[buf_idx]; in cras_shm_get_checked_write_offset() 209 cras_shm_get_checked_buffer_offset(shm, buf_idx); in cras_shm_get_checked_write_offset() 227 unsigned buf_idx = shm->header->read_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_curr_read_frames() local 230 read_offset = cras_shm_get_checked_read_offset(shm, buf_idx); in cras_shm_get_curr_read_frames() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.c | 662 size_t buf_idx = 0; in cras_fmt_conv_convert_frames() local 727 conv->resampler, buffers[buf_idx], &linear_resample_fr, in cras_fmt_conv_convert_frames() 728 buffers[buf_idx + 1], resample_limit); in cras_fmt_conv_convert_frames() 729 buf_idx++; in cras_fmt_conv_convert_frames() 734 conv->in_format_converter(buffers[buf_idx], in cras_fmt_conv_convert_frames() 736 (uint8_t *)buffers[buf_idx + 1]); in cras_fmt_conv_convert_frames() 737 buf_idx++; in cras_fmt_conv_convert_frames() 742 conv->channel_converter(conv, buffers[buf_idx], fr_in, in cras_fmt_conv_convert_frames() 743 buffers[buf_idx + 1]); in cras_fmt_conv_convert_frames() 744 buf_idx++; in cras_fmt_conv_convert_frames() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_streamout.c | 188 unsigned buf_idx = info->output[i].output_buffer; in svga_create_stream_output() local 192 assert(buf_idx <= PIPE_MAX_SO_BUFFERS); in svga_create_stream_output() 194 numStreamStrides = MAX2(numStreamStrides, buf_idx); in svga_create_stream_output() 198 i, reg_idx, buf_idx, info->output[i].stream); in svga_create_stream_output() 206 streamout->buffer_stream |= info->output[i].stream << (buf_idx * 4); in svga_create_stream_output() 215 while (info->output[i].dst_offset > dstOffset[buf_idx]) { in svga_create_stream_output() 218 dstOffset[buf_idx];; in svga_create_stream_output() 227 decls[numDecls].outputSlot = buf_idx, in svga_create_stream_output() 232 dstOffset[buf_idx] += numComponents; in svga_create_stream_output() 263 decls[numDecls].outputSlot = buf_idx; in svga_create_stream_output() [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_stress.c | 427 unsigned tile, buf_idx, x, y; in fan_out() local 431 buf_idx = tile / options.tiles_per_buf; in fan_out() 434 tile2xy(&buffers[current_set][buf_idx], tile, &x, &y); in fan_out() 440 set_to_cpu_domain(&buffers[current_set][buf_idx], 1); in fan_out() 443 buffers[current_set][buf_idx].data, in fan_out() 444 buffers[current_set][buf_idx].stride / sizeof(uint32_t), in fan_out() 455 unsigned tile, buf_idx, x, y; in fan_in_and_check() local 459 buf_idx = tile / options.tiles_per_buf; in fan_in_and_check() 462 tile2xy(&buffers[current_set][buf_idx], tile, &x, &y); in fan_in_and_check() 465 set_to_cpu_domain(&buffers[current_set][buf_idx], 0); in fan_in_and_check() [all …]
|
/external/adhd/cras/src/tests/ |
D | shm_unittest.cc | 133 uint32_t buf_idx = CRAS_NUM_SHM_BUFFERS - 1; in TEST_F() local 135 shm_.header->read_buf_idx = buf_idx; in TEST_F() 136 shm_.header->write_offset[buf_idx] = (used_size / 2); in TEST_F() 137 shm_.header->read_offset[buf_idx] = (used_size / 4); in TEST_F() 141 EXPECT_EQ(cras_shm_buff_for_idx(&shm_, buf_idx) + (used_size / 4), in TEST_F() 149 EXPECT_EQ(0, shm_.header->read_offset[buf_idx]); in TEST_F()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.h | 963 const int buf_idx = get_ref_frame_buf_idx(cpi, ref_frame); in get_ref_frame_buffer() local 964 return buf_idx != INVALID_IDX ? &cm->buffer_pool->frame_bufs[buf_idx].buf in get_ref_frame_buffer()
|
D | vp9_encoder.c | 3425 int buf_idx; local 3429 buf_idx = cpi->scaled_ref_idx[ref_frame - 1]; 3430 if (buf_idx != INVALID_IDX) { 3431 buf = &pool->frame_bufs[buf_idx]; 3436 buf_idx = get_ref_frame_buf_idx(cpi, ref_frame); 3437 buf = &pool->frame_bufs[buf_idx]; 3440 cpi->scaled_ref_idx[ref_frame - 1] = buf_idx; 3786 const int buf_idx = get_ref_frame_buf_idx(cpi, ref_frame); local 3788 ref_buf->idx = buf_idx; 3790 if (buf_idx != INVALID_IDX) { [all …]
|
/external/igt-gpu-tools/include/drm-uapi/ |
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/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/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 1397 const int buf_idx = sl_idx * num_temporal_refs + kRefBufIdx[gof_idx]; in SetReferences() local 1401 RTC_DCHECK_LT(buf_idx, kNumVp9Buffers - 1); in SetReferences() 1403 const int pid_diff = curr_pic_num - ref_buf_[buf_idx].pic_num; in SetReferences() 1406 ref_buf_[buf_idx].spatial_layer_id == sl_idx; in SetReferences() 1417 ref_config.lst_fb_idx[sl_idx] = buf_idx; in SetReferences()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_vs.c | 249 unsigned buf_idx = stream_out->output_buffer; in si_llvm_streamout_store_output() local 286 ac_build_buffer_store_dword(&ctx->ac, so_buffers[buf_idx], vdata, num_comps, in si_llvm_streamout_store_output() 287 so_write_offsets[buf_idx], ctx->ac.i32_0, stream_out->dst_offset * 4, in si_llvm_streamout_store_output()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_sanity.c | 1027 idx = header.dma.buf_idx; in radeonSanityCmdBuffer()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 2029 for (size_t buf_idx = 0; in ReadBuffers() local 2030 buf_idx < tracing_session->num_buffers() && !did_hit_threshold; in ReadBuffers() 2031 buf_idx++) { in ReadBuffers() 2032 auto tbuf_iter = buffers_.find(tracing_session->buffers_index[buf_idx]); in ReadBuffers()
|
/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 | 4729 int buf_idx = get_free_fb(cm); in read_uncompressed_header() local 4730 if (buf_idx == INVALID_IDX) { in read_uncompressed_header() 4734 buf = &frame_bufs[buf_idx]; in read_uncompressed_header()
|