Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 228) sorted by relevance

12345678910

/hardware/bsp/intel/peripheral/libupm/src/st7735/
Dgfx.h33 #define swap(a, b) { int16_t t = a; a = b; b = t; }
77 virtual void drawPixel (int16_t x, int16_t y, uint16_t color) = 0;
94 … void drawChar (int16_t x, int16_t y, uint8_t data, uint16_t color, uint16_t bg, uint8_t size);
128 void fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color);
138 void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
149 void drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color);
162 …void drawTriangle (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_…
172 void drawCircle (int16_t x, int16_t y, int16_t r, uint16_t color);
180 void setCursor (int16_t x, int16_t y);
216 const int16_t WIDTH, HEIGHT;
Dgfx.cxx62 GFX::fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) { in fillRect()
63 for (int16_t i=x; i<x+w; i++) { in fillRect()
69 GFX::drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color) { in drawFastVLine()
74 GFX::drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) { in drawLine()
75 int16_t steep = abs(y1 - y0) > abs(x1 - x0); in drawLine()
87 int16_t dx, dy; in drawLine()
91 int16_t err = dx / 2; in drawLine()
92 int16_t ystep; in drawLine()
115 GFX::drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t … in drawTriangle()
122 GFX::drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color) { in drawCircle()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_scan.c15 DECLARE_ALIGNED(16, static const int16_t, default_scan_4x4[16]) = {
22 DECLARE_ALIGNED(16, static const int16_t, col_scan_4x4[16]) = {
29 DECLARE_ALIGNED(16, static const int16_t, row_scan_4x4[16]) = {
36 DECLARE_ALIGNED(16, static const int16_t, default_scan_8x8[64]) = {
47 DECLARE_ALIGNED(16, static const int16_t, col_scan_8x8[64]) = {
58 DECLARE_ALIGNED(16, static const int16_t, row_scan_8x8[64]) = {
69 DECLARE_ALIGNED(16, static const int16_t, default_scan_16x16[256]) = {
90 DECLARE_ALIGNED(16, static const int16_t, col_scan_16x16[256]) = {
111 DECLARE_ALIGNED(16, static const int16_t, row_scan_16x16[256]) = {
133 DECLARE_ALIGNED(16, static const int16_t, default_scan_32x32[1024]) = {
[all …]
Dvp9_idct.h84 return (int16_t)rv; in dct_const_round_shift()
87 typedef void (*transform_1d)(const int16_t*, int16_t*);
93 void vp9_iwht4x4_add(const int16_t *input, uint8_t *dest, int stride, int eob);
95 void vp9_idct4x4_add(const int16_t *input, uint8_t *dest, int stride, int eob);
96 void vp9_idct8x8_add(const int16_t *input, uint8_t *dest, int stride, int eob);
97 void vp9_idct16x16_add(const int16_t *input, uint8_t *dest, int stride, int
99 void vp9_idct32x32_add(const int16_t *input, uint8_t *dest, int stride,
102 void vp9_iht4x4_add(TX_TYPE tx_type, const int16_t *input, uint8_t *dest,
104 void vp9_iht8x8_add(TX_TYPE tx_type, const int16_t *input, uint8_t *dest,
106 void vp9_iht16x16_add(TX_TYPE tx_type, const int16_t *input, uint8_t *dest,
Dvp9_quant_common.c16 static const int16_t dc_qlookup[QINDEX_RANGE] = {
51 static const int16_t ac_qlookup[QINDEX_RANGE] = {
88 static int16_t dc_qlookup[QINDEX_RANGE];
89 static int16_t ac_qlookup[QINDEX_RANGE];
117 ac_qlookup[i] = (int16_t)ac_val; in vp9_init_quant_tables()
118 dc_qlookup[i] = (int16_t)MAX(ACDC_MIN, poly3(0.000000305, -0.00065, 0.9, in vp9_init_quant_tables()
124 int16_t vp9_dc_quant(int qindex, int delta) { in vp9_dc_quant()
128 int16_t vp9_ac_quant(int qindex, int delta) { in vp9_ac_quant()
Dvp9_convolve.c31 const int16_t *const x_filter = x_filters[x_q4 & SUBPEL_MASK]; in convolve_horiz()
53 const int16_t *const x_filter = x_filters[x_q4 & SUBPEL_MASK]; in convolve_avg_horiz()
77 const int16_t *const y_filter = y_filters[y_q4 & SUBPEL_MASK]; in convolve_vert()
100 const int16_t *const y_filter = y_filters[y_q4 & SUBPEL_MASK]; in convolve_avg_vert()
141 static const InterpKernel *get_filter_base(const int16_t *filter) { in get_filter_base()
147 static int get_filter_offset(const int16_t *f, const InterpKernel *base) { in get_filter_offset()
153 const int16_t *filter_x, int x_step_q4, in vp9_convolve8_horiz_c()
154 const int16_t *filter_y, int y_step_q4, in vp9_convolve8_horiz_c()
166 const int16_t *filter_x, int x_step_q4, in vp9_convolve8_avg_horiz_c()
167 const int16_t *filter_y, int y_step_q4, in vp9_convolve8_avg_horiz_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_idct16x16_neon.c14 void vp9_idct16x16_256_add_neon_pass1(const int16_t *input,
15 int16_t *output,
17 void vp9_idct16x16_256_add_neon_pass2(const int16_t *src,
18 int16_t *output,
19 int16_t *pass1Output,
20 int16_t skip_adding,
23 void vp9_idct16x16_10_add_neon_pass1(const int16_t *input,
24 int16_t *output,
26 void vp9_idct16x16_10_add_neon_pass2(const int16_t *src,
27 int16_t *output,
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_quantize.h21 DECLARE_ALIGNED(16, int16_t, y_quant[QINDEX_RANGE][8]);
22 DECLARE_ALIGNED(16, int16_t, y_quant_shift[QINDEX_RANGE][8]);
23 DECLARE_ALIGNED(16, int16_t, y_zbin[QINDEX_RANGE][8]);
24 DECLARE_ALIGNED(16, int16_t, y_round[QINDEX_RANGE][8]);
26 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]);
27 DECLARE_ALIGNED(16, int16_t, uv_quant_shift[QINDEX_RANGE][8]);
28 DECLARE_ALIGNED(16, int16_t, uv_zbin[QINDEX_RANGE][8]);
29 DECLARE_ALIGNED(16, int16_t, uv_round[QINDEX_RANGE][8]);
32 DECLARE_ALIGNED(16, int16_t, a_quant[QINDEX_RANGE][8]);
33 DECLARE_ALIGNED(16, int16_t, a_quant_shift[QINDEX_RANGE][8]);
[all …]
Dvp9_quantize.c22 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t count, in vp9_quantize_b_c()
24 const int16_t *zbin_ptr, const int16_t *round_ptr, in vp9_quantize_b_c()
25 const int16_t *quant_ptr, const int16_t *quant_shift_ptr, in vp9_quantize_b_c()
26 int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, in vp9_quantize_b_c()
27 const int16_t *dequant_ptr, in vp9_quantize_b_c()
29 const int16_t *scan, const int16_t *iscan) { in vp9_quantize_b_c()
36 vpx_memset(qcoeff_ptr, 0, count * sizeof(int16_t)); in vp9_quantize_b_c()
37 vpx_memset(dqcoeff_ptr, 0, count * sizeof(int16_t)); in vp9_quantize_b_c()
74 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_b_32x32_c()
76 const int16_t *zbin_ptr, const int16_t *round_ptr, in vp9_quantize_b_32x32_c()
[all …]
Dvp9_block.h33 int16_t *coeff[MAX_MB_PLANE][3];
34 int16_t *qcoeff[MAX_MB_PLANE][3];
35 int16_t *dqcoeff[MAX_MB_PLANE][3];
39 int16_t *coeff_pbuf[MAX_MB_PLANE][3];
40 int16_t *qcoeff_pbuf[MAX_MB_PLANE][3];
41 int16_t *dqcoeff_pbuf[MAX_MB_PLANE][3];
67 DECLARE_ALIGNED(16, int16_t, src_diff[64 * 64]);
68 int16_t *qcoeff;
69 int16_t *coeff;
74 int16_t *quant;
[all …]
/hardware/akm/AK8975_FS/akmdfs/
DAK8975Driver.h49 typedef int16_t(*ACCFNC_INITDEVICE)(void);
65 typedef int16_t(*ACCFNC_GETACCDATA)(short data[3]);
72 int16_t AKD_InitDevice(void);
76 int16_t AKD_TxData(
81 int16_t AKD_RxData(
86 int16_t AKD_GetMagneticData(BYTE data[SENSOR_DATA_SIZE]);
94 int16_t AKD_SetMode(const BYTE mode);
96 int16_t AKD_GetDelay(int64_t delay[AKM_NUM_SENSORS]);
98 int16_t AKD_GetLayout(int16_t* layout);
100 int16_t AKD_GetAccelerationData(int16_t data[3]);
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/
Dlsm303d.cxx100 int16_t*
106 int16_t*
112 int16_t
118 int16_t
124 int16_t
136 coor[X] = (int16_t(writeThenRead(OUT_X_H_M)) << 8) in getCoordinates()
137 | int16_t(writeThenRead(OUT_X_L_M)); in getCoordinates()
138 coor[Y] = (int16_t(writeThenRead(OUT_Y_H_M)) << 8) in getCoordinates()
139 | int16_t(writeThenRead(OUT_Y_L_M)); in getCoordinates()
140 coor[Z] = (int16_t(writeThenRead(OUT_Z_H_M)) << 8) in getCoordinates()
[all …]
Dlsm303d.h123 int16_t* getRawCoorData();
128 int16_t getCoorX();
133 int16_t getCoorY();
138 int16_t getCoorZ();
143 int16_t* getRawAccelData();
148 int16_t getAccelX();
153 int16_t getAccelY();
158 int16_t getAccelZ();
222 int16_t coor[3];
223 int16_t accel[3];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a-neon/
Dvp9_rtcd.h216 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
217 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
220 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
221 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
224 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
225 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
228 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
229 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
232 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
233 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dfdct4x4_test.cc26 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *output, int pitch);
33 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
34 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
35 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
37 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
43 void fdct4x4_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fdct4x4_ref()
47 void fht4x4_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fht4x4_ref()
56 virtual void RunFwdTxfm(const int16_t *in, int16_t *out, int stride) = 0;
58 virtual void RunInvTxfm(const int16_t *out, uint8_t *dst, int stride) = 0;
66 DECLARE_ALIGNED_ARRAY(16, int16_t, test_input_block, kNumCoeffs); in RunAccuracyCheck()
[all …]
Dfdct8x8_test.cc26 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *output, int pitch);
32 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
33 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
34 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
36 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
42 void fdct8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fdct8x8_ref()
46 void fht8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fht8x8_ref()
55 virtual void RunFwdTxfm(int16_t *in, int16_t *out, int stride) = 0;
56 virtual void RunInvTxfm(int16_t *out, uint8_t *dst, int stride) = 0;
60 DECLARE_ALIGNED_ARRAY(16, int16_t, test_input_block, 64); in RunSignBiasCheck()
[all …]
Ddct16x16_test.cc26 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch);
239 void reference_16x16_dct_2d(int16_t input[256], double output[256]) { in reference_16x16_dct_2d()
261 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
262 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
263 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
265 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fdct16x16_ref()
275 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { in fht16x16_ref()
284 virtual void RunFwdTxfm(int16_t *in, int16_t *out, int stride) = 0;
286 virtual void RunInvTxfm(int16_t *out, uint8_t *dst, int stride) = 0;
[all …]
/hardware/bsp/intel/peripheral/libupm/src/lsm303/
Dlsm303.cxx82 int16_t*
88 int16_t*
94 int16_t
100 int16_t
106 int16_t
127 coor[i] = (int16_t(buf[2*i] << 8)) in getCoordinates()
128 | int16_t(buf[(2*i)+1]); in getCoordinates()
131 int16_t t = coor[2]; in getCoordinates()
139 int16_t
144 int16_t
[all …]
Dlsm303.h131 int16_t* getRawCoorData();
136 int16_t getCoorX();
141 int16_t getCoorY();
146 int16_t getCoorZ();
151 int16_t* getRawAccelData();
156 int16_t getAccelX();
161 int16_t getAccelY();
166 int16_t getAccelZ();
176 int16_t coor[3];
177 int16_t accel[3];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips-dspr2/
Dvp9_rtcd.h224 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
225 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
228 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
229 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
232 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
233 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
236 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
237 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
240 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
241 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/x86/
Dvp9_rtcd.h268 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
269 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
270 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
272 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
273 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
274 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
276 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
277 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
278 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
279 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_common_dspr2.h88 void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest,
93 const int16_t *filter_x, int x_step_q4,
94 const int16_t *filter_y, int y_step_q4,
99 const int16_t *filter_x, int x_step_q4,
100 const int16_t *filter_y, int y_step_q4,
105 const int16_t *filter_x, int x_step_q4,
106 const int16_t *filter_y, int y_step_q4,
111 const int16_t *filter,
116 const int16_t *filter_x, int x_step_q4,
117 const int16_t *filter_y, int y_step_q4,
/hardware/qcom/audio/post_proc/
Dreverb.h30 int16_t roomLevel;
31 int16_t roomHFLevel;
33 int16_t decayHFRatio;
34 int16_t reflectionsLevel;
36 int16_t reverbLevel;
38 int16_t diffusion;
39 int16_t density;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/generic/
Dvp9_rtcd.h210 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
213 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
216 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
219 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
222 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
225 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
228 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
231 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
234 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
237 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips/
Dvp9_rtcd.h210 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
213 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
216 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
219 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
222 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
225 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
228 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
231 …rc_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16…
234 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
237 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
[all …]

12345678910