Home
last modified time | relevance | path

Searched refs:predict (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpredictor_enc.c150 static uint8_t NearLosslessComponent(uint8_t value, uint8_t predict, in NearLosslessComponent() argument
152 const int residual = (value - predict) & 0xff; in NearLosslessComponent()
153 const int boundary_residual = (boundary - predict) & 0xff; in NearLosslessComponent()
187 // value and predict have undergone subtract green, which means that red and
189 static uint32_t NearLossless(uint32_t value, uint32_t predict, in NearLossless() argument
197 return VP8LSubPixels(value, predict); in NearLossless()
205 a = NearLosslessDiff((value >> 24) & 0xff, (predict >> 24) & 0xff); in NearLossless()
207 a = NearLosslessComponent(value >> 24, predict >> 24, 0xff, quantization); in NearLossless()
209 g = NearLosslessComponent((value >> 8) & 0xff, (predict >> 8) & 0xff, 0xff, in NearLossless()
214 new_green = ((predict >> in NearLossless()
245 uint32_t predict; GetResidual() local
[all...]
H A Dvp8l_enc.c94 uint32_t predict = 0x000000; in PaletteHasNonMonotonousDeltas() local
98 const uint32_t diff = VP8LSubPixels(palette[i], predict); in PaletteHasNonMonotonousDeltas()
111 predict = palette[i]; in PaletteHasNonMonotonousDeltas()
118 uint32_t predict = 0x00000000; in PaletteSortMinimizeDeltas() local
129 const uint32_t cur_score = PaletteColorDistance(palette[k], predict); in PaletteSortMinimizeDeltas()
136 predict = palette[i]; in PaletteSortMinimizeDeltas()
/third_party/libsnd/src/
H A Dms_adpcm.c221 int predict ; in msadpcm_decode_block() local
304 predict = ((pms->samples [k - pms->channels] * AdaptCoeff1 [bpred [chan]]) in msadpcm_decode_block()
306 current = (bytecode * idelta) + predict ; in msadpcm_decode_block()
529 int chan, k, predict, bpred [2] = { 0 }, idelta [2] = { 0 }, in msadpcm_encode_block() local
551 { predict = (pms->samples [k-1] * AdaptCoeff1 [bpred [0]] + pms->samples [k-2] * AdaptCoeff2 [bpred [0]]) >> 8 ; in msadpcm_encode_block()
552 errordelta = (pms->samples [k] - predict) / idelta [0] ; in msadpcm_encode_block()
557 newsamp = predict + (idelta [0] * errordelta) ; in msadpcm_encode_block()
604 predict = (pms->samples [k-2] * AdaptCoeff1 [bpred [chan]] + pms->samples [k-4] * AdaptCoeff2 [bpred [chan]]) >> 8 ; in msadpcm_encode_block()
605 errordelta = (pms->samples [k] - predict) / idelta [chan] ; in msadpcm_encode_block()
612 newsamp = predict in msadpcm_encode_block()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmagicyuvenc.c72 void (*predict)(struct MagicYUVContext *s, const uint8_t *src, uint8_t *dst, member
216 case LEFT: s->predict = left_predict; break; in magy_encode_init()
217 case GRADIENT: s->predict = gradient_predict; break; in magy_encode_init()
218 case MEDIAN: s->predict = median_predict; break; in magy_encode_init()
485 s->predict(s, data[i], s->slices[i], linesize[i], in magy_encode_frame()
492 s->predict(s, frame->data[i], s->slices[i], frame->linesize[i], in magy_encode_frame()
H A Dffv1dec_template.c97 sample[1][x] = RENAME(predict)(sample[1] + x, sample[0] + x); in decode_line()
122 sample[1][x] = av_mod_uintp2(RENAME(predict)(sample[1] + x, sample[0] + x) + (SUINT)diff, bits); in decode_line()
H A Dffv1_template.c23 static inline int RENAME(predict)(TYPE *src, TYPE *last) in predict() function
H A Ddstdec.c352 const int16_t predict = F( 0) + F( 1) + F( 2) + F( 3) + in decode_frame() local
360 unsigned index = FFABS(predict) >> 3; in decode_frame()
367 v = ((predict >> 15) ^ residual) & 1; in decode_frame()
H A Daacenc_pred.c64 static inline void predict(PredictorState *ps, float *coef, float *rcoef, int set) in predict() function
127 predict(&sce->predictor_state[k], &sce->coeffs[k], &sce->prcoeffs[k], in ff_aac_apply_main_pred()
H A Ddca_lbr.c1469 static void predict(float *samples, const float *coeff, int nsamples) in predict() function
1493 predict(samples, s->lpc_coeff[f^1][ch][sb][1], 16); in synth_lpc()
1494 predict(samples + 16, s->lpc_coeff[f ][ch][sb][0], 64); in synth_lpc()
1495 predict(samples + 80, s->lpc_coeff[f ][ch][sb][1], 48); in synth_lpc()
1497 predict(samples, s->lpc_coeff[f^1][ch][sb][0], 16); in synth_lpc()
1498 predict(samples + 16, s->lpc_coeff[f ][ch][sb][0], 112); in synth_lpc()
H A Dffv1enc_template.c62 diff = sample[0][x] - RENAME(predict)(sample[0] + x, sample[1] + x); in encode_line()
H A Daacdec.c178 static av_always_inline void predict(PredictorState *ps, float *coef, in predict() function
H A Daacdec_fixed.c281 static av_always_inline void predict(PredictorState *ps, int *coef, in predict() function
H A Dmobiclip.c993 int x, int y, int predict) in decode_macroblock()
1005 if (predict) { in decode_macroblock()
992 decode_macroblock(AVCodecContext *avctx, AVFrame *frame, int x, int y, int predict) decode_macroblock() argument
H A Daacdec_template.c2079 predict(&sce->predictor_state[k], &sce->coeffs[k], in apply_prediction()

Completed in 20 milliseconds