Home
last modified time | relevance | path

Searched refs:fixed_index (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Damrnbdec.c453 static void decode_8_pulses_31bits(const int16_t *fixed_index, in decode_8_pulses_31bits() argument
459 decode_10bit_pulse(fixed_index[4], pulse_position, 0, 4, 1); in decode_8_pulses_31bits()
460 decode_10bit_pulse(fixed_index[5], pulse_position, 2, 6, 5); in decode_8_pulses_31bits()
464 temp = ((fixed_index[6] >> 2) * 25 + 12) >> 5; in decode_8_pulses_31bits()
469 pulse_position[3] = (pulse_position[3] << 1) + ( fixed_index[6] & 1); in decode_8_pulses_31bits()
470 pulse_position[7] = (pulse_position[7] << 1) + ((fixed_index[6] >> 1) & 1); in decode_8_pulses_31bits()
476 const float sign = fixed_index[i] ? -1.0 : 1.0; in decode_8_pulses_31bits()
511 const int fixed_index = pulses[0]; in decode_fixed_sparse() local
514 pulse_subset = ((fixed_index >> 3) & 8) + (subframe << 1); in decode_fixed_sparse()
515 pulse_position[0] = ( fixed_index & 7) * 5 + track_position[pulse_subset]; in decode_fixed_sparse()
[all …]
Dacelp_vectors.c141 void ff_decode_10_pulses_35bits(const int16_t *fixed_index, in ff_decode_10_pulses_35bits() argument
152 const int pos1 = gray_decode[fixed_index[2*i+1] & mask] + i; in ff_decode_10_pulses_35bits()
153 const int pos2 = gray_decode[fixed_index[2*i ] & mask] + i; in ff_decode_10_pulses_35bits()
154 const float sign = (fixed_index[2*i+1] & (1 << bits)) ? -1.0 : 1.0; in ff_decode_10_pulses_35bits()
Devrcdec.c431 static void decode_8_pulses_35bits(const uint16_t *fixed_index, float *cod) in decode_8_pulses_35bits() argument
435 offset = (fixed_index[3] >> 9) & 3; in decode_8_pulses_35bits()
438 pos1 = ((fixed_index[i] & 0x7f) / 11) * 5 + ((i + offset) % 5); in decode_8_pulses_35bits()
439 pos2 = ((fixed_index[i] & 0x7f) % 11) * 5 + ((i + offset) % 5); in decode_8_pulses_35bits()
441 cod[pos1] = (fixed_index[i] & 0x80) ? -1.0 : 1.0; in decode_8_pulses_35bits()
449 pos1 = ((fixed_index[3] & 0x7f) / 11) * 5 + ((3 + offset) % 5); in decode_8_pulses_35bits()
450 pos2 = ((fixed_index[3] & 0x7f) % 11) * 5 + ((4 + offset) % 5); in decode_8_pulses_35bits()
452 cod[pos1] = (fixed_index[3] & 0x100) ? -1.0 : 1.0; in decode_8_pulses_35bits()
453 cod[pos2] = (fixed_index[3] & 0x80 ) ? -1.0 : 1.0; in decode_8_pulses_35bits()
456 static void decode_3_pulses_10bits(uint16_t fixed_index, float *cod) in decode_3_pulses_10bits() argument
[all …]
Dacelp_vectors.h192 void ff_decode_10_pulses_35bits(const int16_t *fixed_index,
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_esgs_io_to_mem.c192 unsigned fixed_index; in gs_get_vertex_offset() local
195 fixed_index = (vertex_index + 4) % 6; in gs_get_vertex_offset()
200 fixed_index = (vertex_index + 2) % 3; in gs_get_vertex_offset()
202 nir_ssa_def *fixed = nir_build_load_gs_vertex_offset_amd(b, .base = fixed_index); in gs_get_vertex_offset()
/third_party/mesa3d/src/mesa/main/
Dvarray.h129 _mesa_get_prim_restart_index(bool fixed_index, unsigned restart_index, in _mesa_get_prim_restart_index() argument
140 if (fixed_index) { in _mesa_get_prim_restart_index()