HomeSort by relevance Sort by last modified time
    Searched refs:quant (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/tensorflow/tensorflow/contrib/lite/examples/label_image/
bitmap_helpers_impl.h 54 TfLiteQuantizationParams quant; local
57 {1, image_height, image_width, image_channels}, quant);
59 quant);
62 {1, wanted_height, wanted_width, wanted_channels}, quant);
  /external/libvpx/libvpx/vpx_dsp/x86/
quantize_sse2.c 30 __m128i zbin, round, quant, dequant, shift; local
41 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant,
58 calculate_qcoeff(&qcoeff0, round, quant, shift);
61 quant = _mm_unpackhi_epi64(quant, quant);
64 calculate_qcoeff(&qcoeff1, round, quant, shift);
100 calculate_qcoeff(&qcoeff0, round, quant, shift);
101 calculate_qcoeff(&qcoeff1, round, quant, shift);
quantize_avx.c 33 __m128i zbin, round, quant, dequant, shift; local
46 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant,
72 quant = _mm_unpackhi_epi64(quant, quant);
76 calculate_qcoeff(&qcoeff0, round, quant, shift);
78 quant = _mm_unpackhi_epi64(quant, quant);
80 calculate_qcoeff(&qcoeff1, round, quant, shift)
163 __m128i zbin, round, quant, dequant, shift; local
    [all...]
quantize_ssse3.c 29 __m128i zbin, round, quant, dequant, shift; local
39 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant,
53 calculate_qcoeff(&qcoeff0, round, quant, shift);
55 quant = _mm_unpackhi_epi64(quant, quant);
57 calculate_qcoeff(&qcoeff1, round, quant, shift);
91 calculate_qcoeff(&qcoeff0, round, quant, shift);
92 calculate_qcoeff(&qcoeff1, round, quant, shift);
129 __m128i zbin, round, quant, dequant, shift local
    [all...]
quantize_x86.h 19 const int16_t *quant_ptr, __m128i *quant,
24 *quant = _mm_load_si128((const __m128i *)quant_ptr);
37 const __m128i quant, const __m128i shift) {
40 tmp = _mm_mulhi_epi16(qcoeff, quant);
  /external/libxaac/decoder/
ixheaacd_arith_dec.h 31 WORD32 *quant, ia_usac_data_struct *usac_data,
ixheaacd_bit_extract.h 72 VOID ixheaacd_tcx_coding(ia_usac_data_struct *usac_data, WORD32 *quant,
  /external/libvpx/libvpx/vp9/encoder/
vp9_quantize.c 180 x->skip_block, p->zbin, p->round, p->quant,
187 p->zbin, p->round, p->quant, p->quant_shift, qcoeff, dqcoeff,
191 static void invert_quant(int16_t *quant, int16_t *shift, int d) {
197 *quant = (int16_t)(m - (1 << 16));
202 const int quant = vp9_dc_quant(q, 0, bit_depth); local
205 case VPX_BITS_8: return q == 0 ? 64 : (quant < 148 ? 84 : 80);
206 case VPX_BITS_10: return q == 0 ? 64 : (quant < 592 ? 84 : 80);
207 case VPX_BITS_12: return q == 0 ? 64 : (quant < 2368 ? 84 : 80);
214 return q == 0 ? 64 : (quant < 148 ? 84 : 80);
221 int i, q, quant; local
    [all...]
  /external/libvpx/libvpx/vp9/encoder/x86/
vp9_quantize_sse2.c 30 __m128i round, quant, dequant; local
49 quant = _mm_load_si128((const __m128i *)quant_ptr);
72 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
73 quant = _mm_unpackhi_epi64(quant, quant);
74 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
142 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
143 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
vp9_dct_ssse3.c 291 __m128i round, quant, dequant, thr; local
299 quant = _mm_load_si128((const __m128i *)quant_ptr);
322 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
323 quant = _mm_unpackhi_epi64(quant, quant);
324 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
393 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
394 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_zscan.h 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
vl_zscan.c 182 struct ureg_dst quant, fragment; local
202 quant = ureg_DECL_temporary(shader);
209 * fragment = tex(tmp, 0) * quant
219 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant);
222 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f));
223 ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant));
503 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl);
505 if (!buffer->quant)
518 pipe_sampler_view_reference(&buffer->quant, NULL)
    [all...]
  /external/libvpx/libvpx/vpx_dsp/arm/
quantize_neon.c 37 const int16x8_t quant = vld1q_s16(quant_ptr); local
53 // (round * quant * 2) >> 16 >> 1 == (round * quant) >> 16
54 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1);
87 const int16x8_t quant = vdupq_n_s16(quant_ptr[1]); local
105 // (round * quant * 2) >> 16 >> 1 == (round * quant) >> 16
106 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1);
173 const int16x8_t quant = vld1q_s16(quant_ptr); local
189 // (round * quant * 2) >> 16 >> 1 == (round * quant) >> 1
231 const int16x8_t quant = vdupq_n_s16(quant_ptr[1]); local
    [all...]
  /external/tensorflow/tensorflow/contrib/quantize/python/
quantize.py 256 """Inserts a quant op between a producer op and (multiple) consumer ops.
287 quant = (
299 quant = (
315 quant = control_flow_ops.cond(
317 lambda: quant,
322 [quant], [inputs], can_modify=consumers)
  /external/v4l2_codec2/vda/
vp9_parser.cc 563 size_t Vp9Parser::GetQIndex(const Vp9QuantizationParams& quant,
573 : quant.base_q_idx + feature_data;
577 return quant.base_q_idx;
582 const Vp9QuantizationParams& quant = curr_frame_header_.quant_params; local
594 const size_t q_index = GetQIndex(quant, i);
596 kDcQLookup[bit_depth_index][ClampQ(q_index + quant.delta_q_y_dc)];
600 kDcQLookup[bit_depth_index][ClampQ(q_index + quant.delta_q_uv_dc)];
602 kAcQLookup[bit_depth_index][ClampQ(q_index + quant.delta_q_uv_ac)];
605 const size_t q_index = quant.base_q_idx;
607 kDcQLookup[bit_depth_index][ClampQ(q_index + quant.delta_q_y_dc)]
    [all...]
  /external/libvpx/libvpx/vpx_dsp/
quantize.c 18 const int16_t *round_ptr, const int16_t quant,
32 tmp = (tmp * quant) >> 16;
43 const int16_t quant, tran_low_t *qcoeff_ptr,
56 const int abs_qcoeff = (int)((tmp * quant) >> 16);
66 const int16_t *round_ptr, const int16_t quant,
82 tmp = (tmp * quant) >> 15;
92 const int16_t *round_ptr, const int16_t quant,
108 const int abs_qcoeff = (int)((tmp * quant) >> 15);
  /external/mesa3d/src/gallium/state_trackers/omx/
vid_enc.h 83 OMX_VIDEO_PARAM_QUANTIZATIONTYPE quant; \
  /external/tensorflow/tensorflow/contrib/lite/
interpreter_test.cc 118 TfLiteQuantizationParams quant; local
120 interpreter.SetTensorParametersReadWrite(0, test.type, "", {3}, quant);
121 interpreter.SetTensorParametersReadWrite(1, test.type, "", {4}, quant);
153 TfLiteQuantizationParams quant; local
156 interpreter.SetTensorParametersReadWrite(0, test.type, "", {3}, quant),
159 1, test.type, "", {2}, quant, test.array, 2 * test.size),
168 1, test.type, "", {2}, quant, test.array, 1 * test.size),
192 TfLiteQuantizationParams quant; local
194 quant);
208 TfLiteQuantizationParams quant; local
731 TfLiteQuantizationParams quant; local
    [all...]
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
viddec_mp4_videoobjectlayer.c 236 mp4_VOLQuant_mat_t *quant = &(vidObjLay->quant_mat_info); local
241 quant->load_intra_quant_mat = code;
242 if (quant->load_intra_quant_mat)
244 mp4_Parse_QuantMatrix(parent, &(quant->intra_quant_mat[0]));
248 mp4_copy_default_table((const uint8_t *)&mp4_DefaultIntraQuantMatrix[0], (uint8_t *)&(quant->intra_quant_mat[0]), 64);
253 quant->load_nonintra_quant_mat = code;
254 if (quant->load_nonintra_quant_mat)
256 mp4_Parse_QuantMatrix(parent, &(quant->nonintra_quant_mat[0]));
260 mp4_copy_default_table((const uint8_t *)&mp4_DefaultNonIntraQuantMatrix[0], (uint8_t *)&(quant->nonintra_quant_mat[0]), 64);
  /external/libvpx/libvpx/test/
vp9_quantize_test.cc 39 const int16_t *round, const int16_t *quant,
51 const int16_t *quant, tran_low_t *qcoeff,
59 const int16_t *quant, const int16_t *quant_shift,
66 fn(coeff, count, skip_block, round, quant, qcoeff, dqcoeff, dequant, eob,
199 int16_t *quant, int16_t *quant_shift,
219 // quant ranges from 1 to -32703
220 quant[j] = static_cast<int>(rnd->RandRange(32704)) - 32703;
231 quant[j] = quant[1];
  /external/libvpx/libvpx/vp8/encoder/x86/
quantize_sse4.c 45 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
46 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
  /external/libvpx/libvpx/vp8/encoder/
block.h 39 short *quant; member in struct:block
46 /* Zbin Over Quant value */
vp8_quantize.c 56 short *quant_ptr = b->quant;
162 static void invert_quant(int improved_quant, short *quant, short *shift,
170 *quant = (short)(m - (1 << 16));
175 *quant = (1 << 16) / d;
346 x->block[i].quant = cpi->Y1quant[QIndex];
359 x->block[i].quant = cpi->UVquant[QIndex];
372 x->block[24].quant = cpi->Y2quant[QIndex];
  /external/libvpx/libvpx/vp9/encoder/arm/neon/
vp9_quantize_neon.c 131 const int16x8_t quant = vld1q_s16(quant_ptr); local
155 qcoeff = vqdmulhq_s16(qcoeff, quant);
185 const int16x8_t quant = vmovq_n_s16(quant_ptr[1]); local
203 qcoeff = vqdmulhq_s16(qcoeff, quant);
  /external/libvpx/libvpx/vp8/encoder/mips/msa/
quantize_msa.c 16 int16_t *quant, int16_t *de_quant,
41 LD_SH2(quant, 8, coeff0, coeff1);
83 int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in,
111 LD_SH2(quant, 8, coeff0, coeff1);
201 int16_t *quant_ptr = b->quant;

Completed in 861 milliseconds

1 2 3