Home
last modified time | relevance | path

Searched refs:DCTSIZE (Results 1 – 25 of 161) sorted by relevance

1234567

/third_party/ffmpeg/libavcodec/
Djfdctfst.c74 #define DCTSIZE 8 macro
82 #if DCTSIZE != 8
155 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) {
199 dataptr += DCTSIZE; /* advance pointer to next row */
221 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { in ff_fdct_ifast()
222 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; in ff_fdct_ifast()
223 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7]; in ff_fdct_ifast()
224 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6]; in ff_fdct_ifast()
225 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6]; in ff_fdct_ifast()
226 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5]; in ff_fdct_ifast()
[all …]
Djfdctint_template.c67 #define DCTSIZE 8 macro
79 #if DCTSIZE != 8
195 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { in FUNC()
251 dataptr += DCTSIZE; /* advance pointer to next row */ in FUNC()
276 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { in FUNC()
277 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; in FUNC()
278 tmp7 = dataptr[DCTSIZE*0] - dataptr[DCTSIZE*7]; in FUNC()
279 tmp1 = dataptr[DCTSIZE*1] + dataptr[DCTSIZE*6]; in FUNC()
280 tmp6 = dataptr[DCTSIZE*1] - dataptr[DCTSIZE*6]; in FUNC()
281 tmp2 = dataptr[DCTSIZE*2] + dataptr[DCTSIZE*5]; in FUNC()
[all …]
/third_party/libjpeg-turbo/
Djidctred.c38 #if DCTSIZE != 8
133 int workspace[DCTSIZE * 4]; /* buffers data between passes */
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE - 4)
145 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
146 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 5] == 0 &&
147 inptr[DCTSIZE * 6] == 0 && inptr[DCTSIZE * 7] == 0) {
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE * 0],
150 quantptr[DCTSIZE * 0]), PASS1_BITS);
152 wsptr[DCTSIZE * 0] = dcval;
[all …]
Djidctflt.c55 #if DCTSIZE != 8
93 for (ctr = DCTSIZE; ctr > 0; ctr--) {
103 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
104 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
105 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
106 inptr[DCTSIZE * 7] == 0) {
108 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE * 0],
109 quantptr[DCTSIZE * 0] * _0_125);
111 wsptr[DCTSIZE * 0] = dcval;
112 wsptr[DCTSIZE * 1] = dcval;
[all …]
Djidctfst.c50 #if DCTSIZE != 8
193 for (ctr = DCTSIZE; ctr > 0; ctr--) {
203 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
204 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
205 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
206 inptr[DCTSIZE * 7] == 0) {
208 int dcval = (int)DEQUANTIZE(inptr[DCTSIZE * 0], quantptr[DCTSIZE * 0]);
210 wsptr[DCTSIZE * 0] = dcval;
211 wsptr[DCTSIZE * 1] = dcval;
212 wsptr[DCTSIZE * 2] = dcval;
[all …]
Djfdctflt.c50 #if DCTSIZE != 8
71 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
115 dataptr += DCTSIZE; /* advance pointer to next row */
121 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
122 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
123 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
124 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
125 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
126 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
127 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctfst.c48 #if DCTSIZE != 8
129 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
173 dataptr += DCTSIZE; /* advance pointer to next row */
179 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
180 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
181 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
182 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
183 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
184 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
185 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctint.c41 #if DCTSIZE != 8
157 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
213 dataptr += DCTSIZE; /* advance pointer to next row */
222 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
223 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
224 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
225 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
226 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
227 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
228 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djdmaster.c113 if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) { in jpeg_core_output_dimensions()
116 jdiv_round_up((long)cinfo->image_width, (long)DCTSIZE); in jpeg_core_output_dimensions()
118 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
121 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) { in jpeg_core_output_dimensions()
124 jdiv_round_up((long)cinfo->image_width * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
126 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
129 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) { in jpeg_core_output_dimensions()
132 jdiv_round_up((long)cinfo->image_width * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
134 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
137 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 4) { in jpeg_core_output_dimensions()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Djidctred.c38 #if DCTSIZE != 8
133 int workspace[DCTSIZE * 4]; /* buffers data between passes */
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE - 4)
145 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
146 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 5] == 0 &&
147 inptr[DCTSIZE * 6] == 0 && inptr[DCTSIZE * 7] == 0) {
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE * 0],
150 quantptr[DCTSIZE * 0]), PASS1_BITS);
152 wsptr[DCTSIZE * 0] = dcval;
[all …]
Djidctflt.c55 #if DCTSIZE != 8
93 for (ctr = DCTSIZE; ctr > 0; ctr--) {
103 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
104 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
105 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
106 inptr[DCTSIZE * 7] == 0) {
108 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE * 0],
109 quantptr[DCTSIZE * 0] * _0_125);
111 wsptr[DCTSIZE * 0] = dcval;
112 wsptr[DCTSIZE * 1] = dcval;
[all …]
Djidctfst.c50 #if DCTSIZE != 8
193 for (ctr = DCTSIZE; ctr > 0; ctr--) {
203 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
204 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
205 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
206 inptr[DCTSIZE * 7] == 0) {
208 int dcval = (int)DEQUANTIZE(inptr[DCTSIZE * 0], quantptr[DCTSIZE * 0]);
210 wsptr[DCTSIZE * 0] = dcval;
211 wsptr[DCTSIZE * 1] = dcval;
212 wsptr[DCTSIZE * 2] = dcval;
[all …]
Djfdctflt.c50 #if DCTSIZE != 8
71 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
115 dataptr += DCTSIZE; /* advance pointer to next row */
121 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
122 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
123 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
124 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
125 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
126 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
127 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctfst.c48 #if DCTSIZE != 8
129 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
173 dataptr += DCTSIZE; /* advance pointer to next row */
179 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
180 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
181 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
182 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
183 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
184 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
185 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctint.c41 #if DCTSIZE != 8
157 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
213 dataptr += DCTSIZE; /* advance pointer to next row */
222 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
223 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
224 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
225 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
226 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
227 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
228 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djdmaster.c101 if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom) { in jpeg_core_output_dimensions()
104 jdiv_round_up((long)cinfo->image_width, (long)DCTSIZE); in jpeg_core_output_dimensions()
106 jdiv_round_up((long)cinfo->image_height, (long)DCTSIZE); in jpeg_core_output_dimensions()
109 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 2) { in jpeg_core_output_dimensions()
112 jdiv_round_up((long)cinfo->image_width * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
114 jdiv_round_up((long)cinfo->image_height * 2L, (long)DCTSIZE); in jpeg_core_output_dimensions()
117 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 3) { in jpeg_core_output_dimensions()
120 jdiv_round_up((long)cinfo->image_width * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
122 jdiv_round_up((long)cinfo->image_height * 3L, (long)DCTSIZE); in jpeg_core_output_dimensions()
125 } else if (cinfo->scale_num * DCTSIZE <= cinfo->scale_denom * 4) { in jpeg_core_output_dimensions()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djidctred.c38 #if DCTSIZE != 8
133 int workspace[DCTSIZE * 4]; /* buffers data between passes */
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE - 4)
145 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
146 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 5] == 0 &&
147 inptr[DCTSIZE * 6] == 0 && inptr[DCTSIZE * 7] == 0) {
149 int dcval = LEFT_SHIFT(DEQUANTIZE(inptr[DCTSIZE * 0],
150 quantptr[DCTSIZE * 0]), PASS1_BITS);
152 wsptr[DCTSIZE * 0] = dcval;
[all …]
Djidctflt.c55 #if DCTSIZE != 8
93 for (ctr = DCTSIZE; ctr > 0; ctr--) {
103 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
104 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
105 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
106 inptr[DCTSIZE * 7] == 0) {
108 FAST_FLOAT dcval = DEQUANTIZE(inptr[DCTSIZE * 0],
109 quantptr[DCTSIZE * 0] * _0_125);
111 wsptr[DCTSIZE * 0] = dcval;
112 wsptr[DCTSIZE * 1] = dcval;
[all …]
Djidctfst.c50 #if DCTSIZE != 8
193 for (ctr = DCTSIZE; ctr > 0; ctr--) {
203 if (inptr[DCTSIZE * 1] == 0 && inptr[DCTSIZE * 2] == 0 &&
204 inptr[DCTSIZE * 3] == 0 && inptr[DCTSIZE * 4] == 0 &&
205 inptr[DCTSIZE * 5] == 0 && inptr[DCTSIZE * 6] == 0 &&
206 inptr[DCTSIZE * 7] == 0) {
208 int dcval = (int)DEQUANTIZE(inptr[DCTSIZE * 0], quantptr[DCTSIZE * 0]);
210 wsptr[DCTSIZE * 0] = dcval;
211 wsptr[DCTSIZE * 1] = dcval;
212 wsptr[DCTSIZE * 2] = dcval;
[all …]
Djfdctflt.c50 #if DCTSIZE != 8
71 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
115 dataptr += DCTSIZE; /* advance pointer to next row */
121 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
122 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
123 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
124 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
125 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
126 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
127 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctfst.c48 #if DCTSIZE != 8
129 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
173 dataptr += DCTSIZE; /* advance pointer to next row */
179 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
180 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
181 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
182 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
183 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
184 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
185 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
Djfdctint.c41 #if DCTSIZE != 8
157 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
213 dataptr += DCTSIZE; /* advance pointer to next row */
222 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) {
223 tmp0 = dataptr[DCTSIZE * 0] + dataptr[DCTSIZE * 7];
224 tmp7 = dataptr[DCTSIZE * 0] - dataptr[DCTSIZE * 7];
225 tmp1 = dataptr[DCTSIZE * 1] + dataptr[DCTSIZE * 6];
226 tmp6 = dataptr[DCTSIZE * 1] - dataptr[DCTSIZE * 6];
227 tmp2 = dataptr[DCTSIZE * 2] + dataptr[DCTSIZE * 5];
228 tmp5 = dataptr[DCTSIZE * 2] - dataptr[DCTSIZE * 5];
[all …]
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dsmokecodec.c162 newinfo->line[0] = malloc (DCTSIZE * 2 * sizeof (char *)); in smokecodec_encode_new()
163 newinfo->line[1] = malloc (DCTSIZE * sizeof (char *)); in smokecodec_encode_new()
164 newinfo->line[2] = malloc (DCTSIZE * sizeof (char *)); in smokecodec_encode_new()
165 base[0] = newinfo->compbuf[0] = malloc (256 * 2 * DCTSIZE * 2 * DCTSIZE); in smokecodec_encode_new()
166 base[1] = newinfo->compbuf[1] = malloc (256 * DCTSIZE * DCTSIZE); in smokecodec_encode_new()
167 base[2] = newinfo->compbuf[2] = malloc (256 * DCTSIZE * DCTSIZE); in smokecodec_encode_new()
169 for (i = 0, j = 0; i < 2 * DCTSIZE; i += 2, j++) { in smokecodec_encode_new()
171 base[0] += 2 * DCTSIZE * 256; in smokecodec_encode_new()
173 base[0] += 2 * DCTSIZE * 256; in smokecodec_encode_new()
175 base[1] += DCTSIZE * 256; in smokecodec_encode_new()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
Djchuff-neon.c72 vld1q_u8_x4(jsimd_huff_encode_one_block_consts + 0 * DCTSIZE); in jsimd_huff_encode_one_block_neon()
74 vld1q_u8_x4(jsimd_huff_encode_one_block_consts + 8 * DCTSIZE); in jsimd_huff_encode_one_block_neon()
78 vld1q_u8(jsimd_huff_encode_one_block_consts + 0 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
79 vld1q_u8(jsimd_huff_encode_one_block_consts + 2 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
80 vld1q_u8(jsimd_huff_encode_one_block_consts + 4 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
81 vld1q_u8(jsimd_huff_encode_one_block_consts + 6 * DCTSIZE) in jsimd_huff_encode_one_block_neon()
84 vld1q_u8(jsimd_huff_encode_one_block_consts + 8 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
85 vld1q_u8(jsimd_huff_encode_one_block_consts + 10 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
86 vld1q_u8(jsimd_huff_encode_one_block_consts + 12 * DCTSIZE), in jsimd_huff_encode_one_block_neon()
87 vld1q_u8(jsimd_huff_encode_one_block_consts + 14 * DCTSIZE) in jsimd_huff_encode_one_block_neon()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djquanti-neon.c74 vst1q_s16(workspace + 0 * DCTSIZE, row0); in jsimd_convsamp_neon()
75 vst1q_s16(workspace + 1 * DCTSIZE, row1); in jsimd_convsamp_neon()
76 vst1q_s16(workspace + 2 * DCTSIZE, row2); in jsimd_convsamp_neon()
77 vst1q_s16(workspace + 3 * DCTSIZE, row3); in jsimd_convsamp_neon()
78 vst1q_s16(workspace + 4 * DCTSIZE, row4); in jsimd_convsamp_neon()
79 vst1q_s16(workspace + 5 * DCTSIZE, row5); in jsimd_convsamp_neon()
80 vst1q_s16(workspace + 6 * DCTSIZE, row6); in jsimd_convsamp_neon()
81 vst1q_s16(workspace + 7 * DCTSIZE, row7); in jsimd_convsamp_neon()
103 for (i = 0; i < DCTSIZE; i += DCTSIZE / 2) { in jsimd_quantize_neon()
105 int16x8_t row0 = vld1q_s16(workspace + (i + 0) * DCTSIZE); in jsimd_quantize_neon()
[all …]

1234567