Home
last modified time | relevance | path

Searched refs:number_of_available_bits (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/siren/
Ddecoder.c95 int number_of_available_bits; in Siren7_DecodeFrame() local
141 number_of_available_bits = bits_per_frame - sample_rate_bits - checksum_bits; in Siren7_DecodeFrame()
148 number_of_available_bits -= envelope_bits; in Siren7_DecodeFrame()
155 number_of_available_bits -= rate_control_bits; in Siren7_DecodeFrame()
157 categorize_regions (number_of_regions, number_of_available_bits, in Siren7_DecodeFrame()
164 number_of_available_bits = in Siren7_DecodeFrame()
165 decode_vector (decoder, number_of_regions, number_of_available_bits, in Siren7_DecodeFrame()
170 if (number_of_available_bits > 0) { in Siren7_DecodeFrame()
171 for (i = 0; i < number_of_available_bits; i++) { in Siren7_DecodeFrame()
175 } else if (number_of_available_bits < 0 in Siren7_DecodeFrame()
Dcommon.c100 categorize_regions (int number_of_regions, int number_of_available_bits, in categorize_regions() argument
118 if (number_of_available_bits > 320) in categorize_regions()
119 number_of_available_bits = in categorize_regions()
120 ((number_of_available_bits - 320) * 5 / 8) + 320; in categorize_regions()
123 if (number_of_regions == 28 && number_of_available_bits > 640) in categorize_regions()
124 number_of_available_bits = in categorize_regions()
125 ((number_of_available_bits - 640) * 5 / 8) + 640; in categorize_regions()
142 if (expected_number_of_code_bits >= number_of_available_bits - 32) in categorize_regions()
163 if (min + max > number_of_available_bits * 2) { in categorize_regions()
Dhuffman.c220 int number_of_available_bits, float *coefs, in quantize_mlt() argument
243 while (mlt_bits < number_of_available_bits && rate_control > 0) { in quantize_mlt()
264 while (mlt_bits > number_of_available_bits in quantize_mlt()
307 int number_of_available_bits, float *decoder_standard_deviation, in decode_vector() argument
334 if (number_of_available_bits <= 0) { in decode_vector()
340 number_of_available_bits--; in decode_vector()
345 if (error == 0 && number_of_available_bits >= 0) { in decode_vector()
356 number_of_available_bits--; in decode_vector()
432 return error == 1 ? -1 : number_of_available_bits; in decode_vector()
Dhuffman.h28 …_mlt(int number_of_regions, int rate_control_possibilities, int number_of_available_bits, float *c…
30 extern int decode_vector(SirenDecoder decoder, int number_of_regions, int number_of_available_bits,…
Dencoder.c109 int number_of_available_bits; in Siren7_EncodeFrame() local
138 number_of_available_bits = in Siren7_EncodeFrame()
142 categorize_regions (number_of_regions, number_of_available_bits, in Siren7_EncodeFrame()
152 number_of_available_bits, coefs, absolute_region_power_index, in Siren7_EncodeFrame()
Dcommon.h104 extern int categorize_regions(int number_of_regions, int number_of_available_bits, int *absolute_re…
/third_party/ffmpeg/libavcodec/
Dsiren.c448 static int categorize_regions(int number_of_regions, int number_of_available_bits, in categorize_regions() argument
474 if (expected_number_of_code_bits >= number_of_available_bits - 32) in categorize_regions()
491 if (min + max > number_of_available_bits * 2) { in categorize_regions()
559 int number_of_available_bits, float *decoder_standard_deviation, in decode_vector() argument