Home
last modified time | relevance | path

Searched refs:state_ptr (Results 1 – 11 of 11) sorted by relevance

/third_party/libsnd/src/G72x/
Dg72x.c113 void private_init_state (G72x_STATE *state_ptr) in private_init_state() argument
117 state_ptr->yl = 34816 ; in private_init_state()
118 state_ptr->yu = 544 ; in private_init_state()
119 state_ptr->dms = 0 ; in private_init_state()
120 state_ptr->dml = 0 ; in private_init_state()
121 state_ptr->ap = 0 ; in private_init_state()
123 { state_ptr->a [cnta] = 0 ; in private_init_state()
124 state_ptr->pk [cnta] = 0 ; in private_init_state()
125 state_ptr->sr [cnta] = 32 ; in private_init_state()
128 { state_ptr->b [cnta] = 0 ; in private_init_state()
[all …]
Dg72x_priv.h83 int predictor_zero (G72x_STATE *state_ptr) ;
85 int predictor_pole (G72x_STATE *state_ptr) ;
87 int step_size (G72x_STATE *state_ptr) ;
93 void update (int code_size, int y, int wi, int fi, int dq, int sr, int dqsez, G72x_STATE *state_ptr
95 int g721_encoder (int sample, G72x_STATE *state_ptr) ;
96 int g721_decoder (int code, G72x_STATE *state_ptr) ;
98 int g723_16_encoder (int sample, G72x_STATE *state_ptr) ;
99 int g723_16_decoder (int code, G72x_STATE *state_ptr) ;
101 int g723_24_encoder (int sample, G72x_STATE *state_ptr) ;
102 int g723_24_decoder (int code, G72x_STATE *state_ptr) ;
[all …]
Dg723_40.c87 int g723_40_encoder (int sl, G72x_STATE *state_ptr) in g723_40_encoder() argument
99 sezi = predictor_zero (state_ptr) ; in g723_40_encoder()
101 sei = sezi + predictor_pole (state_ptr) ; in g723_40_encoder()
107 y = step_size (state_ptr) ; /* adaptive quantizer step size */ in g723_40_encoder()
116 update (5, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_40_encoder()
128 int g723_40_decoder (int i, G72x_STATE *state_ptr) in g723_40_decoder() argument
137 sezi = predictor_zero (state_ptr) ; in g723_40_decoder()
139 sei = sezi + predictor_pole (state_ptr) ; in g723_40_decoder()
142 y = step_size (state_ptr) ; /* adaptive quantizer step size */ in g723_40_decoder()
149 update (5, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_40_decoder()
Dg723_16.c85 G72x_STATE *state_ptr) in g723_16_encoder() argument
97 sezi = predictor_zero (state_ptr) ; in g723_16_encoder()
99 sei = sezi + predictor_pole (state_ptr) ; in g723_16_encoder()
105 y = step_size (state_ptr) ; /* quantizer step size */ in g723_16_encoder()
121 update (2, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_16_encoder()
136 G72x_STATE *state_ptr) in g723_16_decoder() argument
145 sezi = predictor_zero (state_ptr) ; in g723_16_decoder()
147 sei = sezi + predictor_pole (state_ptr) ; in g723_16_decoder()
150 y = step_size (state_ptr) ; /* adaptive quantizer step size */ in g723_16_decoder()
157 update (2, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_16_decoder()
Dg723_24.c71 G72x_STATE *state_ptr) in g723_24_encoder() argument
83 sezi = predictor_zero (state_ptr) ; in g723_24_encoder()
85 sei = sezi + predictor_pole (state_ptr) ; in g723_24_encoder()
91 y = step_size (state_ptr) ; /* quantizer step size */ in g723_24_encoder()
99 update (3, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_24_encoder()
114 G72x_STATE *state_ptr) in g723_24_decoder() argument
123 sezi = predictor_zero (state_ptr) ; in g723_24_decoder()
125 sei = sezi + predictor_pole (state_ptr) ; in g723_24_decoder()
128 y = step_size (state_ptr) ; /* adaptive quantizer step size */ in g723_24_decoder()
135 update (3, y, _witab [i], _fitab [i], dq, sr, dqsez, state_ptr) ; in g723_24_decoder()
Dg721.c83 G72x_STATE *state_ptr) in g721_encoder() argument
95 sezi = predictor_zero (state_ptr) ; in g721_encoder()
97 se = (sezi + predictor_pole (state_ptr)) >> 1 ; /* estimated signal */ in g721_encoder()
102 y = step_size (state_ptr) ; /* quantizer step size */ in g721_encoder()
111 update (4, y, arith_shift_left (_witab [i], 5), _fitab [i], dq, sr, dqsez, state_ptr) ; in g721_encoder()
128 G72x_STATE *state_ptr) in g721_decoder() argument
137 sezi = predictor_zero (state_ptr) ; in g721_decoder()
139 sei = sezi + predictor_pole (state_ptr) ; in g721_decoder()
142 y = step_size (state_ptr) ; /* dynamic quantizer step size */ in g721_decoder()
150 update (4, y, arith_shift_left (_witab [i], 5), _fitab [i], dq, sr, dqsez, state_ptr) ; in g721_decoder()
/third_party/glslang/glslang/MachineIndependent/
DpropagateNoContraction.cpp193 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() argument
194 : state_ptr_(state_ptr), previous_state_(*state_ptr) in StateSettingGuard()
196 *state_ptr = new_state_value; in StateSettingGuard()
198 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() argument
/third_party/ffmpeg/libavcodec/
Dsonic.c474 *state_ptr = &(state[order-2]); in predictor_calc_error() local
475 for (i = order-2; i >= 0; i--, k_ptr--, state_ptr--) in predictor_calc_error()
477 int k_value = *k_ptr, state_value = *state_ptr; in predictor_calc_error()
479 state_ptr[1] = state_value + shift_down(k_value * (unsigned)x, LATTICE_SHIFT); in predictor_calc_error()
517 int *state_ptr = &(state[0]); in modified_levinson_durbin() local
519 for (;j>0;j--,x_ptr++,state_ptr++) in modified_levinson_durbin()
522 double state_value = *state_ptr; in modified_levinson_durbin()
552 state_ptr = &(state[0]); in modified_levinson_durbin()
554 for (;j>0;j--,x_ptr++,state_ptr++) in modified_levinson_durbin()
557 int state_value = *state_ptr; in modified_levinson_durbin()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
Djchuff-neon.c263 working_state *state_ptr = (working_state *)state; in jsimd_huff_encode_one_block_neon() local
264 int free_bits = state_ptr->cur.free_bits; in jsimd_huff_encode_one_block_neon()
265 size_t put_buffer = state_ptr->cur.put_buffer; in jsimd_huff_encode_one_block_neon()
330 state_ptr->cur.put_buffer = put_buffer; in jsimd_huff_encode_one_block_neon()
331 state_ptr->cur.free_bits = free_bits; in jsimd_huff_encode_one_block_neon()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
Djchuff-neon.c238 working_state *state_ptr = (working_state *)state; in jsimd_huff_encode_one_block_neon() local
239 int free_bits = state_ptr->cur.free_bits; in jsimd_huff_encode_one_block_neon()
240 size_t put_buffer = state_ptr->cur.put_buffer; in jsimd_huff_encode_one_block_neon()
399 state_ptr->cur.put_buffer = put_buffer; in jsimd_huff_encode_one_block_neon()
400 state_ptr->cur.free_bits = free_bits; in jsimd_huff_encode_one_block_neon()
/third_party/node/deps/v8/src/compiler/
Dmemory-lowering.cc137 AllowLargeObjects allow_large_objects, AllocationState const** state_ptr) { in ReduceAllocateRaw() argument
140 state_ptr != nullptr); in ReduceAllocateRaw()
239 AllocationState const* state = *state_ptr; in ReduceAllocateRaw()
277 *state_ptr = in ReduceAllocateRaw()
326 *state_ptr = in ReduceAllocateRaw()
365 if (state_ptr) { in ReduceAllocateRaw()
369 *state_ptr = AllocationState::Closed(group, effect, zone()); in ReduceAllocateRaw()