/external/libvpx/libvpx/vp9/common/ |
D | vp9_idct.c | 120 int eob) { in vp9_idct4x4_add() argument 121 if (eob > 1) in vp9_idct4x4_add() 128 int eob) { in vp9_iwht4x4_add() argument 129 if (eob > 1) in vp9_iwht4x4_add() 136 int eob) { in vp9_idct8x8_add() argument 142 if (eob == 1) in vp9_idct8x8_add() 145 else if (eob <= 12) in vp9_idct8x8_add() 152 int eob) { in vp9_idct16x16_add() argument 155 if (eob == 1) /* DC only DCT coefficient. */ in vp9_idct16x16_add() 157 else if (eob <= 10) in vp9_idct16x16_add() [all …]
|
D | vp9_idct.h | 42 int eob); 44 int eob); 46 int eob); 48 int eob); 50 int eob); 53 int stride, int eob); 55 int stride, int eob); 57 int stride, int eob); 61 int eob, int bd); 63 int eob, int bd); [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | vp8_quantize_ssse3.c | 21 unsigned long eob; in bsr() local 22 _BitScanReverse(&eob, mask); in bsr() 23 eob++; in bsr() 24 if (mask == 0) eob = 0; in bsr() 25 return eob; in bsr() 29 int eob; in bsr() local 31 __asm__ __volatile__("bsr %1, %0" : "=r"(eob) : "r"(mask) : "flags"); in bsr() 33 asm volatile("bsr %1, %0" : "=r"(eob) : "r"(mask) : "flags"); in bsr() 35 eob++; in bsr() 36 if (mask == 0) eob = 0; in bsr() [all …]
|
D | quantize_sse4.c | 26 eob = i; \ 31 char eob = 0; in vp8_regular_quantize_b_sse4_1() local 125 *d->eob = eob; in vp8_regular_quantize_b_sse4_1()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | quantize.c | 25 int tmp, eob = -1; in vpx_quantize_dc() local 35 if (tmp) eob = 0; in vpx_quantize_dc() 37 *eob_ptr = eob + 1; in vpx_quantize_dc() 46 int eob = -1; in vpx_highbd_quantize_dc() local 59 if (abs_qcoeff) eob = 0; in vpx_highbd_quantize_dc() 61 *eob_ptr = eob + 1; in vpx_highbd_quantize_dc() 74 int tmp, eob = -1; in vpx_quantize_dc_32x32() local 85 if (tmp) eob = 0; in vpx_quantize_dc_32x32() 87 *eob_ptr = eob + 1; in vpx_quantize_dc_32x32() 98 int eob = -1; in vpx_highbd_quantize_dc_32x32() local [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_x86.h | 69 static INLINE int16_t accumulate_eob(__m128i eob) { in accumulate_eob() argument 71 eob_shuffled = _mm_shuffle_epi32(eob, 0xe); in accumulate_eob() 72 eob = _mm_max_epi16(eob, eob_shuffled); in accumulate_eob() 73 eob_shuffled = _mm_shufflelo_epi16(eob, 0xe); in accumulate_eob() 74 eob = _mm_max_epi16(eob, eob_shuffled); in accumulate_eob() 75 eob_shuffled = _mm_shufflelo_epi16(eob, 0x1); in accumulate_eob() 76 eob = _mm_max_epi16(eob, eob_shuffled); in accumulate_eob() 77 return _mm_extract_epi16(eob, 1); in accumulate_eob()
|
D | quantize_avx.c | 38 __m128i eob = zero, eob0; in vpx_quantize_b_avx() local 100 eob = scan_for_eob(&coeff0, &coeff1, cmp_mask0, cmp_mask1, iscan_ptr, 0, in vpx_quantize_b_avx() 146 eob = _mm_max_epi16(eob, eob0); in vpx_quantize_b_avx() 149 *eob_ptr = accumulate_eob(eob); in vpx_quantize_b_avx() 168 __m128i eob = zero, eob0; in vpx_quantize_b_32x32_avx() local 256 eob = scan_for_eob(&coeff0, &coeff1, cmp_mask0, cmp_mask1, iscan_ptr, 0, in vpx_quantize_b_32x32_avx() 311 eob = _mm_max_epi16(eob, eob0); in vpx_quantize_b_32x32_avx() 314 *eob_ptr = accumulate_eob(eob); in vpx_quantize_b_32x32_avx()
|
D | quantize_ssse3.c | 33 __m128i eob, eob0; in vpx_quantize_b_ssse3() local 77 eob = in vpx_quantize_b_ssse3() 111 eob = _mm_max_epi16(eob, eob0); in vpx_quantize_b_ssse3() 116 *eob_ptr = accumulate_eob(eob); in vpx_quantize_b_ssse3() 134 __m128i eob = zero, eob0; in vpx_quantize_b_32x32_ssse3() local 229 eob = scan_for_eob(&coeff0, &coeff1, cmp_mask0, cmp_mask1, iscan_ptr, 0, in vpx_quantize_b_32x32_ssse3() 288 eob = _mm_max_epi16(eob, eob0); in vpx_quantize_b_32x32_ssse3() 291 *eob_ptr = accumulate_eob(eob); in vpx_quantize_b_32x32_ssse3()
|
D | quantize_sse2.c | 34 __m128i eob, eob0; in vpx_quantize_b_sse2() local 84 eob = in vpx_quantize_b_sse2() 120 eob = _mm_max_epi16(eob, eob0); in vpx_quantize_b_sse2() 125 *eob_ptr = accumulate_eob(eob); in vpx_quantize_b_sse2()
|
D | highbd_quantize_intrin_sse2.c | 105 int i, eob = -1; in vpx_highbd_quantize_b_32x32_sse2() local 151 if (abs_qcoeff) eob = iscan[idx_arr[i]] > eob ? iscan[idx_arr[i]] : eob; in vpx_highbd_quantize_b_32x32_sse2() 153 *eob_ptr = eob + 1; in vpx_highbd_quantize_b_32x32_sse2()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 29 __m128i eob; in vp9_quantize_fp_sse2() local 108 eob = _mm_and_si128(iscan0, nzero_coeff0); in vp9_quantize_fp_sse2() 110 eob = _mm_max_epi16(eob, eob1); in vp9_quantize_fp_sse2() 186 eob = _mm_max_epi16(eob, eob0); in vp9_quantize_fp_sse2() 194 eob_shuffled = _mm_shuffle_epi32(eob, 0xe); in vp9_quantize_fp_sse2() 195 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_quantize_fp_sse2() 196 eob_shuffled = _mm_shufflelo_epi16(eob, 0xe); in vp9_quantize_fp_sse2() 197 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_quantize_fp_sse2() 198 eob_shuffled = _mm_shufflelo_epi16(eob, 0x1); in vp9_quantize_fp_sse2() 199 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_quantize_fp_sse2() [all …]
|
D | vp9_dct_ssse3.c | 290 __m128i eob; in vp9_fdct8x8_quant_ssse3() local 358 eob = _mm_and_si128(iscan0, nzero_coeff0); in vp9_fdct8x8_quant_ssse3() 360 eob = _mm_max_epi16(eob, eob1); in vp9_fdct8x8_quant_ssse3() 438 eob = _mm_max_epi16(eob, eob0); in vp9_fdct8x8_quant_ssse3() 447 eob_shuffled = _mm_shuffle_epi32(eob, 0xe); in vp9_fdct8x8_quant_ssse3() 448 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_fdct8x8_quant_ssse3() 449 eob_shuffled = _mm_shufflelo_epi16(eob, 0xe); in vp9_fdct8x8_quant_ssse3() 450 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_fdct8x8_quant_ssse3() 451 eob_shuffled = _mm_shufflelo_epi16(eob, 0x1); in vp9_fdct8x8_quant_ssse3() 452 eob = _mm_max_epi16(eob, eob_shuffled); in vp9_fdct8x8_quant_ssse3() [all …]
|
D | vp9_quantize_ssse3_x86_64.asm | 24 eob, scan, iscan 96 pandn m8, m6 ; m8 = max(eob) 97 pandn m13, m11 ; m13 = max(eob) 146 pandn m14, m6 ; m14 = max(eob) 147 pandn m13, m11 ; m13 = max(eob) 163 ; horizontally accumulate/max eobs and write into [eob] memory pointer
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 70 const int eob = p->eobs[block]; in vp9_optimize_b() local 106 assert(eob <= default_eob); in vp9_optimize_b() 108 for (i = 0; i < eob; i++) { in vp9_optimize_b() 122 for (i = 0; i < eob; i++) { in vp9_optimize_b() 202 (i + 1 != eob) ? vp9_get_token(qcoeff[scan[i + 1]]) : EOB_TOKEN; in vp9_optimize_b() 286 assert(final_eob <= eob); in vp9_optimize_b() 295 for (i = final_eob; i < eob; i++) { in vp9_optimize_b() 332 uint16_t *const eob = &p->eobs[block]; in vp9_xform_quant_fp() local 346 eob, scan_order->scan, scan_order->iscan); in vp9_xform_quant_fp() 351 p->quant_fp, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant_fp() [all …]
|
D | vp9_quantize.c | 30 int i, eob = -1; in vp9_quantize_fp_c() local 52 if (tmp) eob = i; in vp9_quantize_fp_c() 54 *eob_ptr = eob + 1; in vp9_quantize_fp_c() 65 int eob = -1; in vp9_highbd_quantize_fp_c() local 85 if (abs_qcoeff) eob = i; in vp9_highbd_quantize_fp_c() 87 *eob_ptr = eob + 1; in vp9_highbd_quantize_fp_c() 99 int i, eob = -1; in vp9_quantize_fp_32x32_c() local 122 if (tmp) eob = i; in vp9_quantize_fp_32x32_c() 124 *eob_ptr = eob + 1; in vp9_quantize_fp_32x32_c() 133 int i, eob = -1; in vp9_highbd_quantize_fp_32x32_c() local [all …]
|
/external/libvpx/libvpx/vp8/encoder/mips/mmi/ |
D | vp8_quantize_mmi.c | 29 eob = i; \ 46 int eob = 0; in vp8_fast_quantize_b_mmi() local 194 [inv_zig_zag] "r"((mips_reg)inv_zig_zag), [eob] "r"((mips_reg)&eob), in vp8_fast_quantize_b_mmi() 198 *d->eob = eob; in vp8_fast_quantize_b_mmi() 202 int eob = 0; in vp8_regular_quantize_b_mmi() local 261 *d->eob = (char)eob; in vp8_regular_quantize_b_mmi()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_detokenize.c | 240 int eob; in vp9_decode_block_tokens() local 251 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 253 a[0] = l[0] = (eob > 0); in vp9_decode_block_tokens() 259 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 261 *(uint16_t *)a = ((eob > 0) * 0x0101) >> ctx_shift_a; in vp9_decode_block_tokens() 262 *(uint16_t *)l = ((eob > 0) * 0x0101) >> ctx_shift_l; in vp9_decode_block_tokens() 268 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 270 *(uint32_t *)a = ((eob > 0) * 0x01010101) >> ctx_shift_a; in vp9_decode_block_tokens() 271 *(uint32_t *)l = ((eob > 0) * 0x01010101) >> ctx_shift_l; in vp9_decode_block_tokens() 280 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() [all …]
|
D | vp9_decodeframe.c | 186 int stride, int eob) { in inverse_transform_block_inter() argument 189 assert(eob > 0); in inverse_transform_block_inter() 194 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 198 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 201 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 204 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 207 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 214 vp9_iwht4x4_add(dqcoeff, dst, stride, eob); in inverse_transform_block_inter() 217 case TX_4X4: vp9_idct4x4_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter() 218 case TX_8X8: vp9_idct8x8_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodemb.c | 153 int eob; in optimize_b() local 184 eob = *d->eob; in optimize_b() 195 tokens[eob][0].rate = 0; in optimize_b() 196 tokens[eob][0].error = 0; in optimize_b() 197 tokens[eob][0].next = 16; in optimize_b() 198 tokens[eob][0].token = DCT_EOB_TOKEN; in optimize_b() 199 tokens[eob][0].qc = 0; in optimize_b() 200 *(tokens[eob] + 1) = *(tokens[eob] + 0); in optimize_b() 201 next = eob; in optimize_b() 202 for (i = eob; i-- > i0;) { in optimize_b() [all …]
|
D | tokenize.c | 115 int eob; in tokenize2nd_order_b() local 121 eob = xd->eobs[24]; in tokenize2nd_order_b() 124 if (!eob) { in tokenize2nd_order_b() 149 for (; c < eob; ++c) { in tokenize2nd_order_b() 203 const int eob = *b->eob; in tokenize1st_order_b() local 214 if (c >= eob) { in tokenize1st_order_b() 240 assert(eob <= 16); in tokenize1st_order_b() 241 for (; c < eob; ++c) { in tokenize1st_order_b() 274 const int eob = *b->eob; in tokenize1st_order_b() local 283 if (!eob) { in tokenize1st_order_b() [all …]
|
D | vp8_quantize.c | 19 int i, rc, eob; in vp8_fast_quantize_b_c() local 28 eob = -1; in vp8_fast_quantize_b_c() 42 eob = i; /* last nonzero coeffs */ in vp8_fast_quantize_b_c() 45 *d->eob = (char)(eob + 1); in vp8_fast_quantize_b_c() 49 int i, rc, eob; in vp8_regular_quantize_b_c() local 66 eob = -1; in vp8_regular_quantize_b_c() 87 eob = i; /* last nonzero coeffs */ in vp8_regular_quantize_b_c() 93 *d->eob = (char)(eob + 1); in vp8_regular_quantize_b_c()
|
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
D | quantize_msa.c | 18 int32_t cnt, eob; in fast_quantize_b_msa() local 34 eob = -1; in fast_quantize_b_msa() 68 eob = (15 - cnt); in fast_quantize_b_msa() 73 eob = (7 - (cnt - 8)); in fast_quantize_b_msa() 78 return (int8_t)(eob + 1); in fast_quantize_b_msa() 85 int32_t cnt, eob; in exact_regular_quantize_b_msa() local 104 eob = -1; in exact_regular_quantize_b_msa() 150 eob = cnt; in exact_regular_quantize_b_msa() 162 eob = cnt; in exact_regular_quantize_b_msa() 181 return (int8_t)(eob + 1); in exact_regular_quantize_b_msa() [all …]
|
/external/libvpx/libvpx/test/ |
D | vp9_quantize_test.cc | 42 uint16_t *eob, const int16_t *scan, 53 uint16_t *eob, const int16_t *scan, 61 const int16_t *dequant, uint16_t *eob, const int16_t *scan, in QuantFPWrapper() argument 66 fn(coeff, count, skip_block, round, quant, qcoeff, dqcoeff, dequant, eob, in QuantFPWrapper() 144 int i, eob = -1; in quantize_fp_nz_c() local 192 eob = i; in quantize_fp_nz_c() 195 *eob_ptr = eob + 1; in quantize_fp_nz_c() 251 uint16_t eob, ref_eob; in TEST_P() local 280 dequant_ptr_, &eob, scan_order->scan, scan_order->iscan)); in TEST_P() 285 EXPECT_EQ(eob, ref_eob); in TEST_P() [all …]
|
/external/curl/lib/ |
D | smtp.c | 1189 char *eob; in smtp_done() local 1216 eob = strdup(SMTP_EOB + 2); in smtp_done() 1220 eob = strdup(SMTP_EOB); in smtp_done() 1224 if(!eob) in smtp_done() 1228 result = Curl_write(conn, conn->writesockfd, eob, len, &bytes_written); in smtp_done() 1230 free(eob); in smtp_done() 1237 pp->sendthis = eob; in smtp_done() 1245 free(eob); in smtp_done() 1570 eob_sent = smtp->eob; in Curl_smtp_escape_eob() 1575 if(SMTP_EOB[smtp->eob] == data->req.upload_fromhere[i]) { in Curl_smtp_escape_eob() [all …]
|
D | pop3.c | 899 pop3c->eob = 2; in pop3_state_command_resp() 1441 size_t prev = pop3c->eob; in Curl_pop3_write() 1445 if(pop3c->eob == 0) { in Curl_pop3_write() 1446 pop3c->eob++; in Curl_pop3_write() 1459 else if(pop3c->eob == 3) in Curl_pop3_write() 1460 pop3c->eob++; in Curl_pop3_write() 1464 pop3c->eob = 1; in Curl_pop3_write() 1468 if(pop3c->eob == 1 || pop3c->eob == 4) in Curl_pop3_write() 1469 pop3c->eob++; in Curl_pop3_write() 1473 pop3c->eob = 0; in Curl_pop3_write() [all …]
|