Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 230) sorted by relevance

12345678910

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_dct.c21 static INLINE int fdct_round_shift(int input) { in fdct_round_shift() argument
22 int rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in fdct_round_shift()
27 static void fdct4(const int16_t *input, int16_t *output) { in fdct4() argument
31 step[0] = input[0] + input[3]; in fdct4()
32 step[1] = input[1] + input[2]; in fdct4()
33 step[2] = input[1] - input[2]; in fdct4()
34 step[3] = input[0] - input[3]; in fdct4()
46 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride) { in vp9_fdct4x4_c() argument
56 const int16_t *in = input; in vp9_fdct4x4_c()
60 /*canbe16*/ int input[4]; in vp9_fdct4x4_c() local
[all …]
Dvp9_resize.c228 static void interpolate(const uint8_t *const input, int inlength, in interpolate() argument
266 sum += filter[k] * input[(pk < 0 ? 0 : in interpolate()
280 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k < 0 ? in interpolate()
293 sum += filter[k] * input[int_pel - INTERP_TAPS / 2 + 1 + k]; in interpolate()
304 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k >= in interpolate()
312 static void down2_symeven(const uint8_t *const input, int length, in down2_symeven() argument
328 sum += (input[(i - j < 0 ? 0 : i - j)] + in down2_symeven()
329 input[(i + 1 + j >= length ? length - 1 : i + 1 + j)]) * in down2_symeven()
340 sum += (input[(i - j < 0 ? 0 : i - j)] + input[i + 1 + j]) * filter[j]; in down2_symeven()
349 sum += (input[i - j] + input[i + 1 + j]) * filter[j]; in down2_symeven()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_idct.c21 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int stride) { in vp9_iwht4x4_16_add_c() argument
27 const int16_t *ip = input; in vp9_iwht4x4_16_add_c()
99 static void idct4(const int16_t *input, int16_t *output) { in idct4() argument
103 temp1 = (input[0] + input[2]) * cospi_16_64; in idct4()
104 temp2 = (input[0] - input[2]) * cospi_16_64; in idct4()
107 temp1 = input[1] * cospi_24_64 - input[3] * cospi_8_64; in idct4()
108 temp2 = input[1] * cospi_8_64 + input[3] * cospi_24_64; in idct4()
119 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int stride) { in vp9_idct4x4_16_add_c() argument
127 idct4(input, outptr); in vp9_idct4x4_16_add_c()
128 input += 4; in vp9_idct4x4_16_add_c()
[all …]
Dvp9_idct.h82 static INLINE int dct_const_round_shift(int input) { in dct_const_round_shift() argument
83 int rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in dct_const_round_shift()
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,
/hardware/bsp/intel/peripheral/libmraa/src/python/
Dmraa.i12 if (PyByteArray_Check($input)) {
14 $1 = (char*) PyByteArray_AsString($input);
15 $2 = PyByteArray_Size($input);
24 if (PyByteArray_Check($input)) {
26 $1 = (uint8_t*) PyByteArray_AsString($input);
27 $2 = PyByteArray_Size($input);
36 if (PyByteArray_Check($input)) {
38 $1 = (uint8_t*) PyByteArray_AsString($input);
39 $2 = PyByteArray_Size($input);
72 if (!PyInt_Check($input)) {
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_idct4x4_add_neon.asm19 ;void vp9_idct4x4_16_add_neon(int16_t *input, uint8_t *dest, int dest_stride)
21 ; r0 int16_t input
49 ; transpose the input data
76 vadd.s16 d23, d16, d18 ; (input[0] + input[2])
77 vsub.s16 d24, d16, d18 ; (input[0] - input[2])
79 vmull.s16 q15, d17, d22 ; input[1] * cospi_24_64
80 vmull.s16 q1, d17, d20 ; input[1] * cospi_8_64
82 ; (input[0] + input[2]) * cospi_16_64;
83 ; (input[0] - input[2]) * cospi_16_64;
87 ; input[1] * cospi_24_64 - input[3] * cospi_8_64;
[all …]
Dvp9_idct16x16_neon.c14 void vp9_idct16x16_256_add_neon_pass1(const int16_t *input,
23 void vp9_idct16x16_10_add_neon_pass1(const int16_t *input,
37 void vp9_idct16x16_256_add_neon(const int16_t *input, in vp9_idct16x16_256_add_neon() argument
49 vp9_idct16x16_256_add_neon_pass1(input, pass1_output, 8); in vp9_idct16x16_256_add_neon()
54 vp9_idct16x16_256_add_neon_pass2(input+1, in vp9_idct16x16_256_add_neon()
64 vp9_idct16x16_256_add_neon_pass1(input+8*16, pass1_output, 8); in vp9_idct16x16_256_add_neon()
69 vp9_idct16x16_256_add_neon_pass2(input+8*16+1, in vp9_idct16x16_256_add_neon()
112 void vp9_idct16x16_10_add_neon(const int16_t *input, in vp9_idct16x16_10_add_neon() argument
124 vp9_idct16x16_10_add_neon_pass1(input, pass1_output, 8); in vp9_idct16x16_10_add_neon()
129 vp9_idct16x16_10_add_neon_pass2(input+1, in vp9_idct16x16_10_add_neon()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans4_dspr2.c22 static void vp9_idct4_rows_dspr2(const int16_t *input, int16_t *output) { in vp9_idct4_rows_dspr2() argument
99 [input] "r" (input) in vp9_idct4_rows_dspr2()
102 input += 4; in vp9_idct4_rows_dspr2()
107 static void vp9_idct4_columns_add_blk_dspr2(int16_t *input, uint8_t *dest, in vp9_idct4_columns_add_blk_dspr2() argument
222 [input] "r" (input), [cm] "r" (cm), [dest_stride] "r" (dest_stride) in vp9_idct4_columns_add_blk_dspr2()
225 input += 4; in vp9_idct4_columns_add_blk_dspr2()
229 void vp9_idct4x4_16_add_dspr2(const int16_t *input, uint8_t *dest, in vp9_idct4x4_16_add_dspr2() argument
243 vp9_idct4_rows_dspr2(input, outptr); in vp9_idct4x4_16_add_dspr2()
249 void vp9_idct4x4_1_add_dspr2(const int16_t *input, uint8_t *dest, in vp9_idct4x4_1_add_dspr2() argument
256 int16_t input_dc = input[0]; in vp9_idct4x4_1_add_dspr2()
[all …]
Dvp9_itrans8_dspr2.c22 static void idct8_rows_dspr2(const int16_t *input, int16_t *output, in idct8_rows_dspr2() argument
195 [output] "r" (output), [input] "r" (input) in idct8_rows_dspr2()
198 input += 8; in idct8_rows_dspr2()
203 static void idct8_columns_add_blk_dspr2(int16_t *input, uint8_t *dest, in idct8_columns_add_blk_dspr2() argument
444 [input] "r" (input), [cm] "r" (cm), [dest_stride] "r" (dest_stride) in idct8_columns_add_blk_dspr2()
447 input += 8; in idct8_columns_add_blk_dspr2()
451 void vp9_idct8x8_64_add_dspr2(const int16_t *input, uint8_t *dest, in vp9_idct8x8_64_add_dspr2() argument
465 idct8_rows_dspr2(input, outptr, 8); in vp9_idct8x8_64_add_dspr2()
471 static void iadst8_dspr2(const int16_t *input, int16_t *output) { in iadst8_dspr2() argument
475 x0 = input[7]; in iadst8_dspr2()
[all …]
Dvp9_itrans16_dspr2.c22 static void idct16_rows_dspr2(const int16_t *input, int16_t *output, in idct16_rows_dspr2() argument
36 vp9_prefetch_load((const uint8_t *)(input + 16)); in idct16_rows_dspr2()
79 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_rows_dspr2()
140 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_rows_dspr2()
202 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_rows_dspr2()
267 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_rows_dspr2()
402 input += 16; in idct16_rows_dspr2()
407 static void idct16_cols_add_blk_dspr2(int16_t *input, uint8_t *dest, in idct16_cols_add_blk_dspr2() argument
475 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_cols_add_blk_dspr2()
536 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct16_cols_add_blk_dspr2()
[all …]
Dvp9_itrans32_dspr2.c22 static void idct32_rows_dspr2(const int16_t *input, int16_t *output, in idct32_rows_dspr2() argument
47 input_int = (const int32_t *)input; in idct32_rows_dspr2()
53 input += 32; in idct32_rows_dspr2()
99 vp9_prefetch_load((const uint8_t *)(input + 32)); in idct32_rows_dspr2()
100 vp9_prefetch_load((const uint8_t *)(input + 48)); in idct32_rows_dspr2()
158 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct32_rows_dspr2()
220 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct32_rows_dspr2()
282 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct32_rows_dspr2()
344 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct32_rows_dspr2()
406 : [const_2_power_13] "r" (const_2_power_13), [input] "r" (input), in idct32_rows_dspr2()
[all …]
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp63 libjpeg_destination_mgr(uint8_t* input, int size);
91 libjpeg_destination_mgr::libjpeg_destination_mgr(uint8_t* input, int size) { in libjpeg_destination_mgr() argument
96 this->buf = input; in libjpeg_destination_mgr()
354 size_t Encoder_libjpeg::encode(params* input) { in encode() argument
367 if (!input) { in encode()
371 out_width = input->out_width; in encode()
372 in_width = input->in_width; in encode()
373 out_height = input->out_height; in encode()
374 in_height = input->in_height; in encode()
375 right_crop = input->right_crop; in encode()
[all …]
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp63 libjpeg_destination_mgr(uint8_t* input, int size);
91 libjpeg_destination_mgr::libjpeg_destination_mgr(uint8_t* input, int size) { in libjpeg_destination_mgr() argument
96 this->buf = input; in libjpeg_destination_mgr()
422 size_t Encoder_libjpeg::encode(params* input) { in encode() argument
435 if (!input) { in encode()
439 out_width = input->out_width; in encode()
440 in_width = input->in_width; in encode()
441 out_height = input->out_height; in encode()
442 in_height = input->in_height; in encode()
443 right_crop = input->right_crop; in encode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct_test.cc19 typedef void (*idct_fn_t)(int16_t *input, unsigned char *pred_ptr,
29 memset(input, 0, sizeof(input)); in SetUp()
37 int16_t input[16]; member in __anon1e13ee830111::IDCTTest
55 REGISTER_STATE_CHECK(UUT(input, output, 16, output, 16)); in TEST_P()
67 input[0] = 4; in TEST_P()
68 REGISTER_STATE_CHECK(UUT(input, output, 16, output, 16)); in TEST_P()
81 input[0] = 4; in TEST_P()
82 REGISTER_STATE_CHECK(UUT(input, predict, 16, output, 16)); in TEST_P()
94 for (i = 0; i < 16; i++) input[i] = i; in TEST_P()
96 REGISTER_STATE_CHECK(UUT(input, output, 16, output, 16)); in TEST_P()
Ddct16x16_test.cc26 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch);
44 void reference2_16x16_idct_2d(double *input, double *output) { in reference2_16x16_idct_2d() argument
53 input[i * 16 + j] / 256; in reference2_16x16_idct_2d()
83 void butterfly_16x16_dct_1d(double input[16], double output[16]) { in butterfly_16x16_dct_1d()
89 step[ 0] = input[0] + input[15]; in butterfly_16x16_dct_1d()
90 step[ 1] = input[1] + input[14]; in butterfly_16x16_dct_1d()
91 step[ 2] = input[2] + input[13]; in butterfly_16x16_dct_1d()
92 step[ 3] = input[3] + input[12]; in butterfly_16x16_dct_1d()
93 step[ 4] = input[4] + input[11]; in butterfly_16x16_dct_1d()
94 step[ 5] = input[5] + input[10]; in butterfly_16x16_dct_1d()
[all …]
Didct8x8_test.cc35 void reference_dct_1d(double input[8], double output[8]) { in reference_dct_1d()
41 output[k] += input[n]*cos(kPi*(2*n+1)*k/16.0); in reference_dct_1d()
47 void reference_dct_2d(int16_t input[64], double output[64]) { in reference_dct_2d()
52 temp_in[j] = input[j*8 + i]; in reference_dct_2d()
71 void reference_idct_1d(double input[8], double output[8]) { in reference_idct_1d()
77 output[k] += input[n]*cos(kPi*(2*k+1)*n/16.0); in reference_idct_1d()
84 void reference_idct_2d(double input[64], int16_t output[64]) { in reference_idct_2d()
90 temp_in[j] = input[j + i*8]; in reference_idct_2d()
112 int16_t input[64], coeff[64]; in TEST() local
122 input[j] = src[j] - dst[j]; in TEST()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/
Djava_buffer.i9 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
10 $2 = JCALL1(GetArrayLength, jenv, $input);
14 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
24 $1 = (uint8_t *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
25 $2 = JCALL1(GetArrayLength, jenv, $input);
29 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
39 $1 = (char *) JCALL2(GetByteArrayElements, jenv, $input, NULL);
40 $2 = JCALL1(GetArrayLength, jenv, $input);
44 JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *)$1, 0);
/hardware/bsp/intel/peripheral/libmraa/examples/
Diio_driver.c29 printword(uint16_t input, mraa_iio_channel* chan) in printword() argument
34 input = be16toh(input); in printword()
36 input = le16toh(input); in printword()
39 input >>= chan->shift; in printword()
40 input &= chan->mask; in printword()
42 res = (int16_t)(input << (16 - chan->bits_used)) >> (16 - chan->bits_used); in printword()
44 res = input; in printword()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/
Ddequantize_dspr2.c17 void vp8_dequant_idct_add_dspr2(short *input, short *dq, in vp8_dequant_idct_add_dspr2() argument
24 input[i] = dq[i] * input[i]; in vp8_dequant_idct_add_dspr2()
27 vp8_short_idct4x4llm_dspr2(input, dest, stride, dest, stride); in vp8_dequant_idct_add_dspr2()
29 vpx_memset(input, 0, 32); in vp8_dequant_idct_add_dspr2()
/hardware/bsp/intel/peripheral/libmraa/src/javascript/
Dmraajs.i14 if (!node::Buffer::HasInstance($input)) {
17 $1 = (char*) node::Buffer::Data($input);
18 $2 = node::Buffer::Length($input);
22 if (!node::Buffer::HasInstance($input)) {
25 $1 = (uint8_t*) node::Buffer::Data($input);
26 $2 = node::Buffer::Length($input);
30 if (!node::Buffer::HasInstance($input)) {
33 $1 = (uint8_t*) node::Buffer::Data($input);
34 $2 = node::Buffer::Length($input);
38 $1 = v8::Local<v8::Function>::Cast($input);
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Ddequantize.c29 void vp8_dequant_idct_add_c(short *input, short *dq, in vp8_dequant_idct_add_c() argument
36 input[i] = dq[i] * input[i]; in vp8_dequant_idct_add_c()
39 vp8_short_idct4x4llm_c(input, dest, stride, dest, stride); in vp8_dequant_idct_add_c()
41 vpx_memset(input, 0, 32); in vp8_dequant_idct_add_c()
/hardware/bsp/intel/peripheral/libupm/src/mic/
Djavaupm_mic.i17 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
18 $2 = JCALL1(GetArrayLength, jenv, $input);
22 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0);
32 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
33 $1 = JCALL1(GetArrayLength, jenv, $input);
37 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
/hardware/bsp/intel/peripheral/libupm/src/gas/
Djavaupm_gas.i25 $1 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
26 $2 = JCALL1(GetArrayLength, jenv, $input);
30 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$1, 0);
40 $2 = (uint16_t *) JCALL2(GetShortArrayElements, jenv, $input, NULL);
41 $1 = JCALL1(GetArrayLength, jenv, $input);
45 JCALL3(ReleaseShortArrayElements, jenv, $input, (jshort *)$2, 0);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ppc/
Dcsystemdependent.c40 void (*vp8_short_fdct4x4)(short *input, short *output, int pitch);
41 void (*vp8_short_fdct8x4)(short *input, short *output, int pitch);
42 void (*vp8_fast_fdct4x4)(short *input, short *output, int pitch);
43 void (*vp8_fast_fdct8x4)(short *input, short *output, int pitch);
44 void (*short_walsh4x4)(short *input, short *output, int pitch);
59 extern void short_fdct4x4_c(short *input, short *output, int pitch);
60 extern void short_fdct8x4_c(short *input, short *output, int pitch);
61 extern void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
93 extern void vp8_short_fdct4x4_ppc(short *input, short *output, int pitch);
94 extern void vp8_short_fdct8x4_ppc(short *input, short *output, int pitch);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Ddct.c14 void vp8_short_fdct4x4_c(short *input, short *output, int pitch) in vp8_short_fdct4x4_c() argument
18 short *ip = input; in vp8_short_fdct4x4_c()
58 void vp8_short_fdct8x4_c(short *input, short *output, int pitch) in vp8_short_fdct8x4_c() argument
60 vp8_short_fdct4x4_c(input, output, pitch); in vp8_short_fdct8x4_c()
61 vp8_short_fdct4x4_c(input + 4, output + 16, pitch); in vp8_short_fdct8x4_c()
64 void vp8_short_walsh4x4_c(short *input, short *output, int pitch) in vp8_short_walsh4x4_c() argument
69 short *ip = input; in vp8_short_walsh4x4_c()

12345678910