Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dencode.c216 if (ISACencLB_obj->buffer_index == 0) { in WebRtcIsac_EncodeLb()
229 ISACencLB_obj->data_buffer_float[k + ISACencLB_obj->buffer_index] = in[k]; in WebRtcIsac_EncodeLb()
234 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) { in WebRtcIsac_EncodeLb()
235 ISACencLB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeLb()
240 ISACencLB_obj->buffer_index = 0; in WebRtcIsac_EncodeLb()
673 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], in, in WebRtcIsac_EncodeUb16()
678 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) { in WebRtcIsac_EncodeUb16()
679 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms; in WebRtcIsac_EncodeUb16()
799 ISACencUB_obj->buffer_index = LB_TOTAL_DELAY_SAMPLES; in WebRtcIsac_EncodeUb16()
865 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], in, in WebRtcIsac_EncodeUb12()
[all …]
Disac.c113 (instISAC->instLB.ISACencLB_obj.buffer_index == 0) && in UpdateBottleneck()
155 instISAC->instLB.ISACencLB_obj.buffer_index = 0; in UpdateBottleneck()
195 if ((instISAC->instLB.ISACencLB_obj.buffer_index == in GetSendBandwidthInfo()
355 instLB->ISACencLB_obj.buffer_index = 0; in EncoderInitLb()
386 instUB->ISACencUB_obj.buffer_index = LB_TOTAL_DELAY_SAMPLES; in EncoderInitUb()
388 instUB->ISACencUB_obj.buffer_index = 0; in EncoderInitUb()
1507 instISAC->instUB.ISACencUB_obj.buffer_index = in WebRtcIsac_Control()
1508 instISAC->instLB.ISACencLB_obj.buffer_index; in WebRtcIsac_Control()
1510 instISAC->instUB.ISACencUB_obj.buffer_index = in WebRtcIsac_Control()
1511 LB_TOTAL_DELAY_SAMPLES + instISAC->instLB.ISACencLB_obj.buffer_index; in WebRtcIsac_Control()
Dstructs.h321 int buffer_index; member
364 int buffer_index; member
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dencode.c67 if (ISACenc_obj->buffer_index == 0) { in WebRtcIsacfix_EncodeImpl()
79 ISACenc_obj->data_buffer_fix[k + ISACenc_obj->buffer_index] = in[k]; in WebRtcIsacfix_EncodeImpl()
83 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) { in WebRtcIsacfix_EncodeImpl()
84 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms; in WebRtcIsacfix_EncodeImpl()
88 ISACenc_obj->buffer_index = 0; in WebRtcIsacfix_EncodeImpl()
Dstructs.h312 WebRtc_Word16 buffer_index; member
Disacfix.c243 ISAC_inst->ISACenc_obj.buffer_index = 0; in WebRtcIsacfix_EncoderInit()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c57 unsigned buffer_index; member
1067 struct translate_buffer *buffer = &p->buffer[variant->buffer_index]; in init_inputs()
1169 get_offset(p, &p->buffer[variant->buffer_index].stride)); in get_buffer_ptr()
1173 get_offset(p, &p->buffer[variant->buffer_index].base_ptr)); in get_buffer_ptr()
1177 get_offset(p, &p->buffer[variant->buffer_index].max_index)); in get_buffer_ptr()
1233 … get_offset(p, &p->buffer[variant->buffer_index].stride)); in incr_inputs()
1487 if (p->buffer_variant[j].buffer_index == key->element[i].input_buffer && in translate_sse2_create()
1493 p->buffer_variant[j].buffer_index = key->element[i].input_buffer; in translate_sse2_create()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_regions.h154 int buffer_index; member
Dintel_screen.c511 index = f->planes[i].buffer_index; in intel_create_image_from_names()
538 index = f->planes[plane].buffer_index; in intel_from_planar()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c1825 unsigned buffer_index = u_bit_scan(&dirty_mask); in r600_emit_vertex_buffers() local
1827 vb = &rctx->vertex_buffer_state.vb[buffer_index]; in r600_emit_vertex_buffers()
1835 r600_write_value(cs, (320 + buffer_index) * 7); in r600_emit_vertex_buffers()
1864 unsigned buffer_index = ffs(dirty_mask) - 1; in r600_emit_constant_buffers() local
1866 cb = &state->cb[buffer_index]; in r600_emit_constant_buffers()
1872 r600_write_context_reg(cs, reg_alu_constbuf_size + buffer_index * 4, in r600_emit_constant_buffers()
1874 r600_write_context_reg(cs, reg_alu_const_cache + buffer_index * 4, offset >> 8); in r600_emit_constant_buffers()
1880 r600_write_value(cs, (buffer_id_base + buffer_index) * 7); in r600_emit_constant_buffers()
1894 dirty_mask &= ~(1 << buffer_index); in r600_emit_constant_buffers()
Devergreen_state.c1962 unsigned buffer_index = u_bit_scan(&dirty_mask); in evergreen_emit_vertex_buffers() local
1964 vb = &state->vb[buffer_index]; in evergreen_emit_vertex_buffers()
1973 r600_write_value(cs, (resource_offset + buffer_index) * 8); in evergreen_emit_vertex_buffers()
2020 unsigned buffer_index = ffs(dirty_mask) - 1; in evergreen_emit_constant_buffers() local
2022 cb = &state->cb[buffer_index]; in evergreen_emit_constant_buffers()
2029 r600_write_context_reg(cs, reg_alu_constbuf_size + buffer_index * 4, in evergreen_emit_constant_buffers()
2031 r600_write_context_reg(cs, reg_alu_const_cache + buffer_index * 4, va >> 8); in evergreen_emit_constant_buffers()
2037 r600_write_value(cs, (buffer_id_base + buffer_index) * 8); in evergreen_emit_constant_buffers()
2057 dirty_mask &= ~(1 << buffer_index); in evergreen_emit_constant_buffers()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c511 index = f->planes[i].buffer_index; in intel_create_image_from_names()
538 index = f->planes[plane].buffer_index; in intel_from_planar()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c511 index = f->planes[i].buffer_index; in intel_create_image_from_names()
538 index = f->planes[plane].buffer_index; in intel_from_planar()