Home
last modified time | relevance | path

Searched refs:last_non_zero (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Danalysis_enc.c118 const int last_non_zero = histo->last_non_zero; in GetAlpha() local
120 (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()
126 histo->last_non_zero = 1; in InitHistogram()
134 if (in->last_non_zero > out->last_non_zero) { in MergeHistograms()
135 out->last_non_zero = in->last_non_zero; in MergeHistograms()
/third_party/ffmpeg/libavcodec/
Dspeedhqenc.c199 int alevel, level, last_non_zero, dc, i, j, run, last_index, sign; in encode_block() local
211 last_non_zero = 0; in encode_block()
220 run = i - last_non_zero - 1; in encode_block()
238 last_non_zero = i; in encode_block()
Ddnxhdenc.c119 int i, j, level, last_non_zero, start_i; in dnxhd_10bit_dct_quantize_444() local
130 last_non_zero = 0; in dnxhd_10bit_dct_quantize_444()
141 last_non_zero = i; in dnxhd_10bit_dct_quantize_444()
148 for (i = start_i; i <= last_non_zero; i++) { in dnxhd_10bit_dct_quantize_444()
170 scantable, last_non_zero); in dnxhd_10bit_dct_quantize_444()
172 return last_non_zero; in dnxhd_10bit_dct_quantize_444()
180 int last_non_zero = 0; in dnxhd_10bit_dct_quantize() local
195 last_non_zero = i; in dnxhd_10bit_dct_quantize()
201 scantable, last_non_zero); in dnxhd_10bit_dct_quantize()
203 return last_non_zero; in dnxhd_10bit_dct_quantize()
[all …]
Dh261enc.c173 int level, run, i, j, last_index, last_non_zero, sign, slevel, code; in h261_encode_block() local
206 last_non_zero = i - 1; in h261_encode_block()
211 run = i - last_non_zero - 1; in h261_encode_block()
231 last_non_zero = i; in h261_encode_block()
Dituh263enc.c301 int level, run, last, i, j, last_index, last_non_zero, sign, slevel, code; in h263_encode_block() local
335 last_non_zero = i - 1; in h263_encode_block()
340 run = i - last_non_zero - 1; in h263_encode_block()
358 last_non_zero = i; in h263_encode_block()
369 last_non_zero = i - 1; in h263_encode_block()
374 run = i - last_non_zero - 1; in h263_encode_block()
404 last_non_zero = i; in h263_encode_block()
Dmpegvideo_enc.c4031 int qmul, qadd, start_i, last_non_zero, i, dc; in dct_quantize_trellis_c() local
4067 last_non_zero = 0; in dct_quantize_trellis_c()
4084 last_non_zero = -1; in dct_quantize_trellis_c()
4100 last_non_zero = i; in dct_quantize_trellis_c()
4105 for(i=start_i; i<=last_non_zero; i++) { in dct_quantize_trellis_c()
4134 if(last_non_zero < start_i){ in dct_quantize_trellis_c()
4136 return last_non_zero; in dct_quantize_trellis_c()
4143 for(i=start_i; i<=last_non_zero; i++){ in dct_quantize_trellis_c()
4236 if(last_non_zero <= 27){ in dct_quantize_trellis_c()
4253 for(i= survivor[0]; i<=last_non_zero + 1; i++){ in dct_quantize_trellis_c()
[all …]
Dmpeg4videoenc.c288 int i, last_non_zero; in mpeg4_encode_block() local
310 last_non_zero = i - 1; in mpeg4_encode_block()
314 int run = i - last_non_zero - 1; in mpeg4_encode_block()
325 last_non_zero = i; in mpeg4_encode_block()
330 int run = i - last_non_zero - 1; in mpeg4_encode_block()
348 int i, last_non_zero; in mpeg4_get_block_length() local
368 last_non_zero = i - 1; in mpeg4_get_block_length()
372 int run = i - last_non_zero - 1; in mpeg4_get_block_length()
380 last_non_zero = i; in mpeg4_get_block_length()
385 int run = i - last_non_zero - 1; in mpeg4_get_block_length()
Dmsmpeg4enc.c573 int last_non_zero, sign, slevel; in ff_msmpeg4_encode_block() local
607 last_non_zero = i - 1; in ff_msmpeg4_encode_block()
612 run = i - last_non_zero - 1; in ff_msmpeg4_encode_block()
685 last_non_zero = i; in ff_msmpeg4_encode_block()
Dmpeg12enc.c675 int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign; in mpeg1_encode_block() local
701 last_non_zero = -1; in mpeg1_encode_block()
707 last_non_zero = i - 1; in mpeg1_encode_block()
716 run = i - last_non_zero - 1; in mpeg1_encode_block()
745 last_non_zero = i; in mpeg1_encode_block()
/third_party/skia/third_party/externals/libwebp/src/enc/
Danalysis_enc.c118 const int last_non_zero = histo->last_non_zero; in GetAlpha() local
120 (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()
126 histo->last_non_zero = 1; in InitHistogram()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc.c48 int max_value = 0, last_non_zero = 1; in VP8SetHistogramData() local
54 last_non_zero = k; in VP8SetHistogramData()
58 histo->last_non_zero = last_non_zero; in VP8SetHistogramData()
Ddsp.h332 int last_non_zero; member
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc.c48 int max_value = 0, last_non_zero = 1; in VP8SetHistogramData() local
54 last_non_zero = k; in VP8SetHistogramData()
58 histo->last_non_zero = last_non_zero; in VP8SetHistogramData()
Ddsp.h295 int last_non_zero; member
/third_party/ffmpeg/libavfilter/
Daf_astats.c65 double last_non_zero; member
313 p->zero_runs += FFSIGN(d) != FFSIGN(p->last_non_zero); in update_stat()
314 p->last_non_zero = d; in update_stat()
/third_party/harfbuzz/src/
Dhb-ot-layout-gsubgpos.hh3084 auto last_non_zero = c->serializer->snapshot (); in subset() local
3101 last_non_zero = c->serializer->snapshot (); in subset()
3112 c->serializer->revert (last_non_zero); in subset()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsubgpos.hh3105 auto last_non_zero = c->serializer->snapshot (); in subset() local
3122 last_non_zero = c->serializer->snapshot (); in subset()
3133 c->serializer->revert (last_non_zero); in subset()