Home
last modified time | relevance | path

Searched refs:rice (Results 1 - 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dttaenc.c105 ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10); in tta_encode_frame()
111 TTARice *rice = &c->rice; in tta_encode_frame() local
137 k = rice->k0; in tta_encode_frame()
139 rice->sum0 += outval - (rice->sum0 >> 4); in tta_encode_frame()
140 if (rice->k0 > 0 && rice->sum0 < ff_tta_shift_16[rice->k0]) in tta_encode_frame()
141 rice in tta_encode_frame()
[all...]
H A Dtta.c266 ff_tta_rice_init(&s->ch_ctx[i].rice, 10, 10); in tta_decode_frame()
273 TTARice *rice = &s->ch_ctx[cur_chan].rice; in tta_decode_frame() local
281 k = rice->k0; in tta_decode_frame()
284 k = rice->k1; in tta_decode_frame()
305 rice->sum1 += value - (rice->sum1 >> 4); in tta_decode_frame()
306 if (rice->k1 > 0 && rice->sum1 < ff_tta_shift_16[rice in tta_decode_frame()
[all...]
H A Dapedec.c181 APERice riceX; ///< rice code parameters for the second channel
182 APERice riceY; ///< rice code parameters for the first channel
475 static inline void update_rice(APERice *rice, unsigned int x) in update_rice() argument
477 int lim = rice->k ? (1 << (rice->k + 4)) : 0; in update_rice()
478 rice->ksum += ((x + 1) / 2) - ((rice->ksum + 16) >> 5); in update_rice()
480 if (rice->ksum < lim) in update_rice()
481 rice->k--; in update_rice()
482 else if (rice in update_rice()
498 ape_decode_value_3860(APEContext *ctx, GetBitContext *gb, APERice *rice) ape_decode_value_3860() argument
531 ape_decode_value_3900(APEContext *ctx, APERice *rice) ape_decode_value_3900() argument
565 ape_decode_value_3990(APEContext *ctx, APERice *rice) ape_decode_value_3990() argument
611 decode_array_0000(APEContext *ctx, GetBitContext *gb, int32_t *out, APERice *rice, int blockstodecode) decode_array_0000() argument
[all...]
H A Dttadata.h41 TTARice rice; member
/third_party/ffmpeg/tests/fate/
H A Dflac.mak9 fate-flac-rice-params \
23 fate-flac-rice-params: REF = $(SAMPLES)/audio-reference/chorusnoise_2ch_44kHz_s16.wav
24 fate-flac-rice-params: CMD = enc_dec_pcm flac wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c flac
H A Dacodec.mak132 FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac fate-acodec-flac-exact-rice
136 fate-acodec-flac-exact-rice: FMT = flac
137 fate-acodec-flac-exact-rice: CODEC = flac -compression_level 2 -exact_rice_parameters 1

Completed in 4 milliseconds