Searched refs:vec1 (Results 1 - 25 of 64) sorted by relevance

123

/external/eigen/doc/snippets/
H A DTutorial_AdvancedInitialization_Join.cpp1 RowVectorXd vec1(3);
2 vec1 << 1, 2, 3;
3 std::cout << "vec1 = " << vec1 << std::endl;
10 joined << vec1, vec2; variable
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_multi_vector_unittest.cc73 AudioMultiVector vec1(num_channels_);
74 EXPECT_TRUE(vec1.Empty());
75 EXPECT_EQ(num_channels_, vec1.Channels());
76 EXPECT_EQ(0u, vec1.Size());
135 AudioMultiVector vec1(num_channels_, array_length());
143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel);
148 // Append vec2 to the back of vec1.
149 vec1.PushBack(vec2);
150 ASSERT_EQ(2u * array_length(), vec1.Size());
153 EXPECT_EQ(static_cast<int16_t>(i + 100 * channel), vec1[channe
[all...]
H A Daudio_vector_unittest.cc42 AudioVector vec1; local
43 EXPECT_TRUE(vec1.Empty());
44 EXPECT_EQ(0u, vec1.Size());
96 AudioVector vec1(kLength);
101 vec1[i] = static_cast<int16_t>(i);
104 // Append vec2 to the back of vec1.
105 vec1.PushBack(vec2);
106 ASSERT_EQ(2 * kLength, vec1.Size());
108 EXPECT_EQ(static_cast<int16_t>(i), vec1[i]); local
125 AudioVector vec1(kLengt
[all...]
H A Dtime_stretch.cc86 // |vec1| starts at 15 ms minus one pitch period.
87 const int16_t* vec1 = &signal[fs_mult_120 - peak_index]; local
90 // Calculate energies for |vec1| and |vec2|, assuming they both contain
93 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling);
97 // Calculate cross-correlation between |vec1| and |vec2|.
99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
149 vec1 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
149 vec1 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");
/external/eigen/test/
H A Deigensolver_complex.cpp17 by checking that the k-th power sums are equal for k = 1, ..., vec1.rows() */
19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) argument
23 VERIFY(vec1.cols() == 1);
25 VERIFY(vec1.rows() == vec2.rows());
26 for (int k = 1; k <= vec1.rows(); ++k)
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum());
H A Dsparse_solvers.cpp40 DenseVector vec1 = DenseVector::Random(rows); local
47 DenseVector vec2 = vec1, vec3 = vec1;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_clip_unfilled.c112 vec1(brw_null_reg()),
149 vec1(brw_null_reg()),
204 vec1(brw_null_reg()),
209 brw_SEL(p, vec1(off), brw_abs(get_element(off, 0)), brw_abs(get_element(off, 1)));
212 brw_MUL(p, vec1(off), off, brw_imm_f(c->key.offset_factor));
213 brw_ADD(p, vec1(off), off, brw_imm_f(c->key.offset_units));
224 vec1(brw_null_reg()),
235 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8));
243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9));
264 brw_ADD(p, z, z, vec1(
[all...]
H A Dbrw_clip_line.c135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD);
191 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_LE, c->reg.dp0, brw_imm_f(0.0));
203 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t1 );
216 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.dp0, brw_imm_f(0.0));
225 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t0 );
250 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.t, brw_imm_f(1.0));
H A Dbrw_clip_tri.c145 vec1(brw_null_reg()),
183 vec1(brw_null_reg()),
197 vec1(brw_null_reg()),
250 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1));
293 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) );
335 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) );
387 vec1(brw_null_reg()),
461 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0));
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_clip_unfilled.c112 vec1(brw_null_reg()),
149 vec1(brw_null_reg()),
204 vec1(brw_null_reg()),
209 brw_SEL(p, vec1(off), brw_abs(get_element(off, 0)), brw_abs(get_element(off, 1)));
212 brw_MUL(p, vec1(off), off, brw_imm_f(c->key.offset_factor));
213 brw_ADD(p, vec1(off), off, brw_imm_f(c->key.offset_units));
224 vec1(brw_null_reg()),
235 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8));
243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9));
264 brw_ADD(p, z, z, vec1(
[all...]
H A Dbrw_clip_line.c135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD);
191 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_LE, c->reg.dp0, brw_imm_f(0.0));
203 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t1 );
216 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.dp0, brw_imm_f(0.0));
225 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t0 );
250 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.t, brw_imm_f(1.0));
H A Dbrw_clip_tri.c145 vec1(brw_null_reg()),
183 vec1(brw_null_reg()),
197 vec1(brw_null_reg()),
250 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1));
293 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) );
335 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) );
387 vec1(brw_null_reg()),
461 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0));
/external/valgrind/main/memcheck/tests/x86/
H A Dfxsave.c11 const unsigned int vec1[4] variable
63 asm __volatile__("movups " VG_SYM(vec1) ", %xmm1");
/external/opencv/cv/src/
H A Dcvoptflowbm.cpp48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) argument
54 int t0 = abs(vec1[i] - vec2[i]);
55 int t1 = abs(vec1[i + 1] - vec2[i + 1]);
56 int t2 = abs(vec1[i + 2] - vec2[i + 2]);
57 int t3 = abs(vec1[i + 3] - vec2[i + 3]);
64 int t0 = abs(vec1[i] - vec2[i]);
/external/valgrind/main/memcheck/tests/amd64/
H A Dfxsave-amd64.c11 const unsigned int vec1[4] variable
101 asm __volatile__("movups (%0), %%xmm1" : : "r"(&vec1[0]) : "xmm1" );
/external/eigen/test/eigen2/
H A Deigen2_sparse_solvers.cpp40 DenseVector vec1 = DenseVector::Random(rows); local
47 DenseVector vec2 = vec1, vec3 = vec1;
/external/chromium_org/third_party/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
/external/freetype/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftoutln.c224 FT_Vector vec1, vec2; local
234 vec1.x = SCALED( point[-2].x );
235 vec1.y = SCALED( point[-2].y );
251 vec1.x / 64.0, vec1.y / 64.0,
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user );
262 vec1.x / 64.0, vec1.y / 64.0,
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user );
/external/valgrind/main/VEX/test/
H A Dfxsave.c10 const unsigned int vec1[4] variable
62 asm __volatile__("movups vec1, %xmm1");
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c228 double vec0[2], vec1[2]; local
261 vec1[0] = arc->x2 - arc->cx;
262 vec1[1] = arc->y2 - arc->cy;
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy);
276 angle = vector_angles(vec0, vec1);
279 angle = 2*M_PI - vector_angles(vec0, vec1);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Darc.c228 double vec0[2], vec1[2]; local
261 vec1[0] = arc->x2 - arc->cx;
262 vec1[1] = arc->y2 - arc->cy;
266 vec0[0], vec0[1], vec1[0], vec1[1], arc->cx, arc->cy);
276 angle = vector_angles(vec0, vec1);
279 angle = 2*M_PI - vector_angles(vec0, vec1);
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp65 DenseVector vec1 = DenseVector::Random(rows); local

Completed in 6642 milliseconds

123