Home
last modified time | relevance | path

Searched refs:vec1 (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector_unittest.cc73 AudioMultiVector vec1(num_channels_); in TEST_P() local
74 EXPECT_TRUE(vec1.Empty()); in TEST_P()
75 EXPECT_EQ(num_channels_, vec1.Channels()); in TEST_P()
76 EXPECT_EQ(0u, vec1.Size()); in TEST_P()
135 AudioMultiVector vec1(num_channels_, array_length()); in TEST_P() local
143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel); in TEST_P()
149 vec1.PushBack(vec2); in TEST_P()
150 ASSERT_EQ(2u * array_length(), vec1.Size()); in TEST_P()
153 EXPECT_EQ(static_cast<int16_t>(i + 100 * channel), vec1[channel][i]); in TEST_P()
160 AudioMultiVector vec1(num_channels_); in TEST_P() local
[all …]
Daudio_vector_unittest.cc42 AudioVector vec1; in TEST_F() local
43 EXPECT_TRUE(vec1.Empty()); in TEST_F()
44 EXPECT_EQ(0u, vec1.Size()); in TEST_F()
96 AudioVector vec1(kLength); in TEST_F() local
101 vec1[i] = static_cast<int16_t>(i); in TEST_F()
105 vec1.PushBack(vec2); in TEST_F()
106 ASSERT_EQ(2 * kLength, vec1.Size()); in TEST_F()
108 EXPECT_EQ(static_cast<int16_t>(i), vec1[i]); in TEST_F()
125 AudioVector vec1(kLength); in TEST_F() local
130 vec1[i] = static_cast<int16_t>(i); in TEST_F()
[all …]
Dtime_stretch.cc87 const int16_t* vec1 = &signal[fs_mult_120 - peak_index]; in Process() local
93 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling); in Process()
99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling); in Process()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; in lp_build_packed_ddx_ddy_onecoord() local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1); in lp_build_packed_ddx_ddy_onecoord()
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy"); in lp_build_packed_ddx_ddy_onecoord()
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy"); in lp_build_packed_ddx_ddy_onecoord()
131 LLVMValueRef vec1, vec2; in lp_build_packed_ddx_ddy_twocoord() local
149 vec1 = LLVMBuildShuffleVector(builder, a, b, in lp_build_packed_ddx_ddy_twocoord()
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy"); in lp_build_packed_ddx_ddy_twocoord()
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy"); in lp_build_packed_ddx_ddy_twocoord()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_quad.c96 LLVMValueRef vec1, vec2; in lp_build_packed_ddx_ddy_onecoord() local
113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1); in lp_build_packed_ddx_ddy_onecoord()
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy"); in lp_build_packed_ddx_ddy_onecoord()
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy"); in lp_build_packed_ddx_ddy_onecoord()
131 LLVMValueRef vec1, vec2; in lp_build_packed_ddx_ddy_twocoord() local
149 vec1 = LLVMBuildShuffleVector(builder, a, b, in lp_build_packed_ddx_ddy_twocoord()
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy"); in lp_build_packed_ddx_ddy_twocoord()
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy"); in lp_build_packed_ddx_ddy_twocoord()
/external/eigen/doc/snippets/
DTutorial_AdvancedInitialization_Join.cpp1 RowVectorXd vec1(3); variable
2 vec1 << 1, 2, 3;
3 std::cout << "vec1 = " << vec1 << std::endl;
10 joined << vec1, vec2;
/external/llvm/test/CodeGen/AArch64/
Darm64-copy-tuple.ll18 %vec1 = extractvalue { <8 x i8>, <8 x i8> } %vec, 1
20 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
23 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
35 %vec1 = extractvalue { <8 x i8>, <8 x i8> } %vec, 1
37 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
40 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
52 %vec1 = extractvalue { <8 x i8>, <8 x i8> } %vec, 1
54 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
57 tail call void @llvm.aarch64.neon.st2.v8i8.p0i8(<8 x i8> %vec0, <8 x i8> %vec1, i8* %addr)
69 %vec1 = extractvalue { <8 x i8>, <8 x i8> } %vec, 1
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_clip_unfilled.c112 vec1(brw_null_reg()), in cull_direction()
149 vec1(brw_null_reg()), in copy_bfc()
204 vec1(brw_null_reg()), in compute_offset()
209 brw_SEL(p, vec1(off), brw_abs(get_element(off, 0)), brw_abs(get_element(off, 1))); in compute_offset()
212 brw_MUL(p, vec1(off), off, brw_imm_f(c->key.offset_factor)); in compute_offset()
213 brw_ADD(p, vec1(off), off, brw_imm_f(c->key.offset_units)); in compute_offset()
224 vec1(brw_null_reg()), in merge_edgeflags()
235 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8)); in merge_edgeflags()
243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9)); in merge_edgeflags()
264 brw_ADD(p, z, z, vec1(c->reg.offset)); in apply_one_offset()
[all …]
Dbrw_clip_line.c135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD); in clip_and_emit_line()
191 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_LE, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
203 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t1 ); in clip_and_emit_line()
216 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
225 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t0 ); in clip_and_emit_line()
250 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.t, brw_imm_f(1.0)); in clip_and_emit_line()
Dbrw_clip_tri.c145 vec1(brw_null_reg()), in brw_clip_tri_init_vertices()
183 vec1(brw_null_reg()), in brw_clip_tri_flat_shade()
197 vec1(brw_null_reg()), in brw_clip_tri_flat_shade()
250 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1)); in brw_clip_tri()
293 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
335 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
387 vec1(brw_null_reg()), in brw_clip_tri()
461 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0)); in maybe_do_clip_tri()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip_unfilled.c112 vec1(brw_null_reg()), in cull_direction()
149 vec1(brw_null_reg()), in copy_bfc()
204 vec1(brw_null_reg()), in compute_offset()
209 brw_SEL(p, vec1(off), brw_abs(get_element(off, 0)), brw_abs(get_element(off, 1))); in compute_offset()
212 brw_MUL(p, vec1(off), off, brw_imm_f(c->key.offset_factor)); in compute_offset()
213 brw_ADD(p, vec1(off), off, brw_imm_f(c->key.offset_units)); in compute_offset()
224 vec1(brw_null_reg()), in merge_edgeflags()
235 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<8)); in merge_edgeflags()
243 brw_AND(p, vec1(brw_null_reg()), get_element_ud(c->reg.R0, 2), brw_imm_ud(1<<9)); in merge_edgeflags()
264 brw_ADD(p, z, z, vec1(c->reg.offset)); in apply_one_offset()
[all …]
Dbrw_clip_line.c135 struct brw_reg v1_null_ud = retype(vec1(brw_null_reg()), BRW_REGISTER_TYPE_UD); in clip_and_emit_line()
191 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_LE, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
203 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t1 ); in clip_and_emit_line()
216 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.dp0, brw_imm_f(0.0)); in clip_and_emit_line()
225 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_G, c->reg.t, c->reg.t0 ); in clip_and_emit_line()
250 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_L, c->reg.t, brw_imm_f(1.0)); in clip_and_emit_line()
Dbrw_clip_tri.c145 vec1(brw_null_reg()), in brw_clip_tri_init_vertices()
183 vec1(brw_null_reg()), in brw_clip_tri_flat_shade()
197 vec1(brw_null_reg()), in brw_clip_tri_flat_shade()
250 brw_AND(p, vec1(brw_null_reg()), c->reg.planemask, brw_imm_ud(1)); in brw_clip_tri()
293 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
335 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_EQ, get_addr_reg(vtxOut), brw_imm_uw(0) ); in brw_clip_tri()
387 vec1(brw_null_reg()), in brw_clip_tri()
461 brw_CMP(p, vec1(brw_null_reg()), BRW_CONDITIONAL_NZ, c->reg.planemask, brw_imm_ud(0)); in maybe_do_clip_tri()
/external/llvm/test/CodeGen/X86/
D2011-04-19-sclr-bb.ll12 %vec1 = phi <4 x i1> [ %vec1_or_2, %LOOP ], [ zeroinitializer, %ENTRY ]
14 %vec1_or_2 = or <4 x i1> %vec1, %vec2
15 %vec2_and_1 = and <4 x i1> %vec2, %vec1
/external/eigen/test/
Deigensolver_complex.cpp19 void verify_is_approx_upto_permutation(const VectorType& vec1, const VectorType& vec2) in verify_is_approx_upto_permutation() argument
23 VERIFY(vec1.cols() == 1); in verify_is_approx_upto_permutation()
25 VERIFY(vec1.rows() == vec2.rows()); in verify_is_approx_upto_permutation()
26 for (int k = 1; k <= vec1.rows(); ++k) in verify_is_approx_upto_permutation()
28 VERIFY_IS_APPROX(vec1.array().pow(RealScalar(k)).sum(), vec2.array().pow(RealScalar(k)).sum()); in verify_is_approx_upto_permutation()
Dsparse_solvers.cpp40 DenseVector vec1 = DenseVector::Random(rows); in sparse_solvers() local
47 DenseVector vec2 = vec1, vec3 = vec1; in sparse_solvers()
/external/eigen/doc/
DQuickReference.dox344 scalar = vec1.dot(vec2);
355 scalar = vec1.norm(); scalar = vec1.squaredNorm()
356 vec2 = vec1.normalized(); vec1.normalize(); // inplace \endcode
362 vec3 = vec1.cross(vec2);\endcode</td></tr>
480 <tr><td>\code vec1.head(n)\endcode</td><td>\code vec1.head<n>()\endcode</td><td>the first \c n coef…
481 <tr><td>\code vec1.tail(n)\endcode</td><td>\code vec1.tail<n>()\endcode</td><td>the last \c n coeff…
482 <tr><td>\code vec1.segment(pos,n)\endcode</td><td>\code vec1.segment<n>(pos)\endcode</td>
547 mat1 = vec1.asDiagonal();\endcode
556 vec1 = mat1.diagonal(); mat1.diagonal() = vec1; // main diagonal
557 vec1 = mat1.diagonal(+n); mat1.diagonal(+n) = vec1; // n-th super diagonal
[all …]
/external/llvm/test/Bitcode/
DmiscInstructions.3.2.ll7 define void @icmp(i32 %x1, i32 %x2, i32* %ptr1, i32* %ptr2, <2 x i32> %vec1, <2 x i32> %vec2){
42 ; CHECK-NEXT: %res12 = icmp eq <2 x i32> %vec1, %vec2
43 %res12 = icmp eq <2 x i32> %vec1, %vec2
49 define void @fcmp(float %x1, float %x2, <2 x float> %vec1, <2 x float> %vec2){
99 ; CHECK-NEXT: %res17 = fcmp oeq <2 x float> %vec1, %vec2
100 %res17 = fcmp oeq <2 x float> %vec1, %vec2
/external/llvm/test/CodeGen/R600/
Dsgpr-copy-duplicate-operand.ll14 %vec1 = insertelement <2 x i32> %vec0, i32 %hi, i32 1
15 store <2 x i32> %vec1, <2 x i32> addrspace(1)* %out, align 8
/external/opencv/cv/src/
Dcvoptflowbm.cpp48 icvCmpBlocksL1_8u_C1( const uchar * vec1, const uchar * vec2, int len ) in icvCmpBlocksL1_8u_C1() argument
54 int t0 = abs(vec1[i] - vec2[i]); in icvCmpBlocksL1_8u_C1()
55 int t1 = abs(vec1[i + 1] - vec2[i + 1]); in icvCmpBlocksL1_8u_C1()
56 int t2 = abs(vec1[i + 2] - vec2[i + 2]); in icvCmpBlocksL1_8u_C1()
57 int t3 = abs(vec1[i + 3] - vec2[i + 3]); in icvCmpBlocksL1_8u_C1()
64 int t0 = abs(vec1[i] - vec2[i]); in icvCmpBlocksL1_8u_C1()
/external/valgrind/main/memcheck/tests/x86/
Dfxsave.c11 const unsigned int vec1[4] variable
63 asm __volatile__("movups " VG_SYM(vec1) ", %xmm1"); in do_setup_then_fxsave()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftoutln.c224 FT_Vector vec1, vec2; in FT_Outline_Decompose() local
234 vec1.x = SCALED( point[-2].x ); in FT_Outline_Decompose()
235 vec1.y = SCALED( point[-2].y ); in FT_Outline_Decompose()
251 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); in FT_Outline_Decompose()
262 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user ); in FT_Outline_Decompose()
/external/chromium_org/third_party/freetype/src/base/
Dftoutln.c224 FT_Vector vec1, vec2; in FT_Outline_Decompose() local
234 vec1.x = SCALED( point[-2].x ); in FT_Outline_Decompose()
235 vec1.y = SCALED( point[-2].y ); in FT_Outline_Decompose()
251 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); in FT_Outline_Decompose()
262 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user ); in FT_Outline_Decompose()
/external/freetype/src/base/
Dftoutln.c224 FT_Vector vec1, vec2; in FT_Outline_Decompose() local
234 vec1.x = SCALED( point[-2].x ); in FT_Outline_Decompose()
235 vec1.y = SCALED( point[-2].y ); in FT_Outline_Decompose()
251 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
253 error = func_interface->cubic_to( &vec1, &vec2, &vec, user ); in FT_Outline_Decompose()
262 vec1.x / 64.0, vec1.y / 64.0, in FT_Outline_Decompose()
264 error = func_interface->cubic_to( &vec1, &vec2, &v_start, user ); in FT_Outline_Decompose()
/external/llvm/test/CodeGen/ARM/
Dvldm-liveness.ll34 %vec1 = insertelement <4 x float> undef, float %val0, i32 0
35 %vec2 = insertelement <4 x float> %vec1, float %val1, i32 1

1234