Home
last modified time | relevance | path

Searched refs:last_dc_val (Results 1 – 25 of 50) sorted by relevance

12

/third_party/libjpeg-turbo/
Djdphuff.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
55 (dest).last_dc_val[0] = (src).last_dc_val[0], \
56 (dest).last_dc_val[1] = (src).last_dc_val[1], \
57 (dest).last_dc_val[2] = (src).last_dc_val[2], \
58 (dest).last_dc_val[3] = (src).last_dc_val[3])
188 entropy->saved.last_dc_val[ci] = 0; in start_pass_phuff_decoder()
258 entropy->saved.last_dc_val[ci] = 0; in process_restart()
347 if ((state.last_dc_val[ci] >= 0 && in decode_mcu_DC_first()
348 s > INT_MAX - state.last_dc_val[ci]) || in decode_mcu_DC_first()
349 (state.last_dc_val[ci] < 0 && s < INT_MIN - state.last_dc_val[ci])) in decode_mcu_DC_first()
[all …]
Djchuff.c71 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
86 (dest).last_dc_val[0] = (src).last_dc_val[0], \
87 (dest).last_dc_val[1] = (src).last_dc_val[1], \
88 (dest).last_dc_val[2] = (src).last_dc_val[2], \
89 (dest).last_dc_val[3] = (src).last_dc_val[3])
200 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff()
492 encode_one_block_simd(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block_simd() argument
500 buffer = jsimd_huff_encode_one_block(state, buffer, block, last_dc_val, in encode_one_block_simd()
509 encode_one_block(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block() argument
526 temp = temp2 = block[0] - last_dc_val; in encode_one_block()
[all …]
Djdhuff.c39 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
52 ((dest).last_dc_val[0] = (src).last_dc_val[0], \
53 (dest).last_dc_val[1] = (src).last_dc_val[1], \
54 (dest).last_dc_val[2] = (src).last_dc_val[2], \
55 (dest).last_dc_val[3] = (src).last_dc_val[3])
120 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff_decoder()
543 entropy->saved.last_dc_val[ci] = 0; in process_restart()
596 s = (int)((unsigned int)s + (unsigned int)state.last_dc_val[ci]); in decode_mcu_slow()
597 state.last_dc_val[ci] = s; in decode_mcu_slow()
691 s = (int)((unsigned int)s + (unsigned int)state.last_dc_val[ci]); in decode_mcu_fast()
[all …]
Djdarith.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
215 entropy->last_dc_val[ci] = 0; in process_restart()
312 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu_DC_first()
316 (*block)[0] = (JCOEF)LEFT_SHIFT(entropy->last_dc_val[ci], cinfo->Al); in decode_mcu_DC_first()
570 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu()
574 (*block)[0] = (JCOEF)entropy->last_dc_val[ci]; in decode_mcu()
712 entropy->last_dc_val[ci] = 0; in start_pass()
Djcarith.c40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
343 entropy->last_dc_val[ci] = 0; in emit_restart()
405 if ((v = m - entropy->last_dc_val[ci]) == 0) { in encode_mcu_DC_first()
409 entropy->last_dc_val[ci] = m; in encode_mcu_DC_first()
720 if ((v = (*block)[0] - entropy->last_dc_val[ci]) == 0) { in encode_mcu()
724 entropy->last_dc_val[ci] = (*block)[0]; in encode_mcu()
872 entropy->last_dc_val[ci] = 0; in start_pass()
Djcphuff.c98 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
249 entropy->last_dc_val[ci] = 0; in start_pass_phuff()
459 entropy->last_dc_val[ci] = 0; in emit_restart()
505 temp = temp2 - entropy->last_dc_val[ci]; in encode_mcu_DC_first()
506 entropy->last_dc_val[ci] = temp2; in encode_mcu_DC_first()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdphuff.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
55 (dest).last_dc_val[0] = (src).last_dc_val[0], \
56 (dest).last_dc_val[1] = (src).last_dc_val[1], \
57 (dest).last_dc_val[2] = (src).last_dc_val[2], \
58 (dest).last_dc_val[3] = (src).last_dc_val[3])
188 entropy->saved.last_dc_val[ci] = 0; in start_pass_phuff_decoder()
258 entropy->saved.last_dc_val[ci] = 0; in process_restart()
347 if ((state.last_dc_val[ci] >= 0 && in decode_mcu_DC_first()
348 s > INT_MAX - state.last_dc_val[ci]) || in decode_mcu_DC_first()
349 (state.last_dc_val[ci] < 0 && s < INT_MIN - state.last_dc_val[ci])) in decode_mcu_DC_first()
[all …]
Djchuff.c71 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
86 (dest).last_dc_val[0] = (src).last_dc_val[0], \
87 (dest).last_dc_val[1] = (src).last_dc_val[1], \
88 (dest).last_dc_val[2] = (src).last_dc_val[2], \
89 (dest).last_dc_val[3] = (src).last_dc_val[3])
200 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff()
488 encode_one_block_simd(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block_simd() argument
496 buffer = jsimd_huff_encode_one_block(state, buffer, block, last_dc_val, in encode_one_block_simd()
505 encode_one_block(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block() argument
522 temp = temp2 = block[0] - last_dc_val; in encode_one_block()
[all …]
Djdhuff.c39 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
52 ((dest).last_dc_val[0] = (src).last_dc_val[0], \
53 (dest).last_dc_val[1] = (src).last_dc_val[1], \
54 (dest).last_dc_val[2] = (src).last_dc_val[2], \
55 (dest).last_dc_val[3] = (src).last_dc_val[3])
120 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff_decoder()
543 entropy->saved.last_dc_val[ci] = 0; in process_restart()
592 s += state.last_dc_val[ci]; in decode_mcu_slow()
593 state.last_dc_val[ci] = s; in decode_mcu_slow()
687 s += state.last_dc_val[ci]; in decode_mcu_fast()
[all …]
Djdarith.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
215 entropy->last_dc_val[ci] = 0; in process_restart()
312 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu_DC_first()
316 (*block)[0] = (JCOEF)LEFT_SHIFT(entropy->last_dc_val[ci], cinfo->Al); in decode_mcu_DC_first()
570 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu()
574 (*block)[0] = (JCOEF)entropy->last_dc_val[ci]; in decode_mcu()
712 entropy->last_dc_val[ci] = 0; in start_pass()
Djcarith.c40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
343 entropy->last_dc_val[ci] = 0; in emit_restart()
405 if ((v = m - entropy->last_dc_val[ci]) == 0) { in encode_mcu_DC_first()
409 entropy->last_dc_val[ci] = m; in encode_mcu_DC_first()
720 if ((v = (*block)[0] - entropy->last_dc_val[ci]) == 0) { in encode_mcu()
724 entropy->last_dc_val[ci] = (*block)[0]; in encode_mcu()
872 entropy->last_dc_val[ci] = 0; in start_pass()
Djcphuff.c98 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
249 entropy->last_dc_val[ci] = 0; in start_pass_phuff()
459 entropy->last_dc_val[ci] = 0; in emit_restart()
505 temp = temp2 - entropy->last_dc_val[ci]; in encode_mcu_DC_first()
506 entropy->last_dc_val[ci] = temp2; in encode_mcu_DC_first()
Djsimd.h103 JCOEFPTR block, int last_dc_val,
/third_party/skia/third_party/externals/libjpeg-turbo/
Djchuff.c108 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
218 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff()
547 encode_one_block_simd(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block_simd() argument
555 buffer = jsimd_huff_encode_one_block(state, buffer, block, last_dc_val, in encode_one_block_simd()
564 encode_one_block(working_state *state, JCOEFPTR block, int last_dc_val, in encode_one_block() argument
578 temp = block[0] - last_dc_val; in encode_one_block()
672 state->cur.last_dc_val[ci] = 0; in emit_restart()
712 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
717 state.cur.last_dc_val[ci] = MCU_data[blkn][0][0]; in encode_mcu_huff()
724 MCU_data[blkn][0], state.cur.last_dc_val[ci], in encode_mcu_huff()
[all …]
Djdphuff.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
176 entropy->saved.last_dc_val[ci] = 0; in start_pass_phuff_decoder()
246 entropy->saved.last_dc_val[ci] = 0; in process_restart()
335 if ((state.last_dc_val[ci] >= 0 && in decode_mcu_DC_first()
336 s > INT_MAX - state.last_dc_val[ci]) || in decode_mcu_DC_first()
337 (state.last_dc_val[ci] < 0 && s < INT_MIN - state.last_dc_val[ci])) in decode_mcu_DC_first()
339 s += state.last_dc_val[ci]; in decode_mcu_DC_first()
340 state.last_dc_val[ci] = s; in decode_mcu_DC_first()
Djdarith.c41 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
215 entropy->last_dc_val[ci] = 0; in process_restart()
312 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu_DC_first()
316 (*block)[0] = (JCOEF)LEFT_SHIFT(entropy->last_dc_val[ci], cinfo->Al); in decode_mcu_DC_first()
570 entropy->last_dc_val[ci] = (entropy->last_dc_val[ci] + v) & 0xffff; in decode_mcu()
574 (*block)[0] = (JCOEF)entropy->last_dc_val[ci]; in decode_mcu()
720 entropy->last_dc_val[ci] = 0; in start_pass()
Djdhuff.c40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
103 entropy->saved.last_dc_val[ci] = 0; in start_pass_huff_decoder()
526 entropy->saved.last_dc_val[ci] = 0; in process_restart()
589 s += state.last_dc_val[ci]; in decode_mcu_slow()
590 state.last_dc_val[ci] = s; in decode_mcu_slow()
684 s += state.last_dc_val[ci]; in decode_mcu_fast()
685 state.last_dc_val[ci] = s; in decode_mcu_fast()
Djcarith.c40 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
343 entropy->last_dc_val[ci] = 0; in emit_restart()
405 if ((v = m - entropy->last_dc_val[ci]) == 0) { in encode_mcu_DC_first()
409 entropy->last_dc_val[ci] = m; in encode_mcu_DC_first()
720 if ((v = (*block)[0] - entropy->last_dc_val[ci]) == 0) { in encode_mcu()
724 entropy->last_dc_val[ci] = (*block)[0]; in encode_mcu()
872 entropy->last_dc_val[ci] = 0; in start_pass()
Djcphuff.c103 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
256 entropy->last_dc_val[ci] = 0; in start_pass_phuff()
466 entropy->last_dc_val[ci] = 0; in emit_restart()
512 temp = temp2 - entropy->last_dc_val[ci]; in encode_mcu_DC_first()
513 entropy->last_dc_val[ci] = temp2; in encode_mcu_DC_first()
/third_party/libjpeg-turbo/simd/arm64/
Djsimd.c762 int last_dc_val, c_derived_tbl *dctbl, in jsimd_huff_encode_one_block() argument
766 return jsimd_huff_encode_one_block_neon(state, buffer, block, last_dc_val, in jsimd_huff_encode_one_block()
770 last_dc_val, dctbl, actbl); in jsimd_huff_encode_one_block()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/arm64/
Djsimd.c762 int last_dc_val, c_derived_tbl *dctbl, in jsimd_huff_encode_one_block() argument
766 return jsimd_huff_encode_one_block_neon(state, buffer, block, last_dc_val, in jsimd_huff_encode_one_block()
770 last_dc_val, dctbl, actbl); in jsimd_huff_encode_one_block()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djchuff.h29 int last_dc_val[MAX_COMPS_IN_SCAN]; /* last DC coef for each component */ member
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
Djsimd.c995 int last_dc_val, c_derived_tbl *dctbl, in jsimd_huff_encode_one_block() argument
1001 return jsimd_huff_encode_one_block_neon(state, buffer, block, last_dc_val, in jsimd_huff_encode_one_block()
1006 last_dc_val, dctbl, actbl); in jsimd_huff_encode_one_block()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djsimd.c688 int last_dc_val, c_derived_tbl *dctbl, in jsimd_huff_encode_one_block() argument
691 return jsimd_huff_encode_one_block_neon(state, buffer, block, last_dc_val, in jsimd_huff_encode_one_block()
/third_party/libjpeg-turbo/simd/arm/
Djsimd.c689 int last_dc_val, c_derived_tbl *dctbl, in jsimd_huff_encode_one_block() argument
692 return jsimd_huff_encode_one_block_neon(state, buffer, block, last_dc_val, in jsimd_huff_encode_one_block()

12