/external/aac/libFDK/src/ |
D | FDK_matrixCalloc.cpp | 107 void *fdkCallocMatrix1D_aligned(UINT dim1, UINT size) { in fdkCallocMatrix1D_aligned() argument 108 return FDKaalloc(dim1 * size, ALIGNMENT_DEFAULT); in fdkCallocMatrix1D_aligned() 131 void *fdkCallocMatrix1D(UINT dim1, UINT size) { return FDKcalloc(dim1, size); } in fdkCallocMatrix1D() argument 134 void **fdkCallocMatrix2D(UINT dim1, UINT dim2, UINT size) { in fdkCallocMatrix2D() argument 138 if (!dim1 || !dim2) return NULL; in fdkCallocMatrix2D() 139 if ((p1 = (void **)fdkCallocMatrix1D(dim1, sizeof(void *))) == NULL) { in fdkCallocMatrix2D() 142 if ((p2 = (char *)fdkCallocMatrix1D(dim1 * dim2, size)) == NULL) { in fdkCallocMatrix2D() 147 for (i = 0; i < dim1; i++) { in fdkCallocMatrix2D() 155 void **fdkCallocMatrix2D_aligned(UINT dim1, UINT dim2, UINT size) { in fdkCallocMatrix2D_aligned() argument 159 if (!dim1 || !dim2) return NULL; in fdkCallocMatrix2D_aligned() [all …]
|
D | nlc_dec.cpp | 309 const INT dim1, SCHAR* out_data, const INT num_val, in huff_dec_1D() argument 325 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 329 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffICCNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 333 nodeTab = (HANDLE_HUFF_NODE)&huffOLDNodes.h1D[dim1]->nodeTab[0][0]; in huff_dec_1D() 337 nodeTab = (HANDLE_HUFF_NODE)&FDK_huffIPDNodes.h1D[dim1].nodeTab[0][0]; in huff_dec_1D() 389 const INT dim1, const INT dim2, SCHAR out_data[][2], in huff_dec_2D() argument 455 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav3[0][0]; in huff_dec_2D() 459 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav5[0][0]; in huff_dec_2D() 463 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav7[0][0]; in huff_dec_2D() 467 (HANDLE_HUFF_NODE)&FDK_huffCLDNodes.h2D[dim1][dim2]->lav9[0][0]; in huff_dec_2D() [all …]
|
D | fft.cpp | 1578 const int dim1, const int dim2, in fftN2_func() argument 1591 FDK_ASSERT(length == dim1 * dim2); in fftN2_func() 1601 for (int j = 0; j < dim1; j++) { in fftN2_func() 1610 switch (dim1) { in fftN2_func() 1637 pDst = pDst + 2 * dim1; in fftN2_func() 1642 fft_apply_rot_vector(pSrc, dim1, length, RotVectorReal, RotVectorImag); in fftN2_func() 1652 for (i = 0; i < dim1; i++) { in fftN2_func() 1654 pDst[2 * j] = pSrc[2 * j * dim1]; in fftN2_func() 1655 pDst[2 * j + 1] = pSrc[2 * j * dim1 + 1]; in fftN2_func() 1684 pDstOut[2 * j * dim1] = pDst[2 * j]; in fftN2_func() [all …]
|
/external/aac/libFDK/include/ |
D | FDK_matrixCalloc.h | 111 void* fdkCallocMatrix1D(UINT dim1, UINT size); 112 void* fdkCallocMatrix1D_aligned(UINT dim1, UINT size); 115 void* fdkCallocMatrix1D_int(UINT dim1, UINT size, MEMORY_SECTION s); 116 void* fdkCallocMatrix1D_int_aligned(UINT dim1, UINT size, MEMORY_SECTION s); 123 void** fdkCallocMatrix2D(UINT dim1, UINT dim2, UINT size); 124 void** fdkCallocMatrix2D_aligned(UINT dim1, UINT dim2, UINT size); 127 void** fdkCallocMatrix2D_int(UINT dim1, UINT dim2, UINT size, MEMORY_SECTION s); 130 void** fdkCallocMatrix2D_int_aligned(UINT dim1, UINT dim2, UINT size, 140 void*** fdkCallocMatrix3D(UINT dim1, UINT dim2, UINT dim3, UINT size); 143 void*** fdkCallocMatrix3D_int(UINT dim1, UINT dim2, UINT dim3, UINT size, [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_ifft.cpp | 40 static void test_2D_fft_ifft_invariant(int dim0, int dim1) { in test_2D_fft_ifft_invariant() argument 41 Tensor<double, 2, DataLayout> tensor(dim0, dim1); in test_2D_fft_ifft_invariant() 55 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 57 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(1), dim1); in test_2D_fft_ifft_invariant() 60 for (int j = 0; j < dim1; ++j) { in test_2D_fft_ifft_invariant() 68 static void test_3D_fft_ifft_invariant(int dim0, int dim1, int dim2) { in test_3D_fft_ifft_invariant() argument 69 Tensor<double, 3, DataLayout> tensor(dim0, dim1, dim2); in test_3D_fft_ifft_invariant() 84 VERIFY_IS_EQUAL(tensor_after_fft.dimension(1), dim1); in test_3D_fft_ifft_invariant() 87 VERIFY_IS_EQUAL(tensor_after_fft_ifft.dimension(1), dim1); in test_3D_fft_ifft_invariant() 91 for (int j = 0; j < dim1; ++j) { in test_3D_fft_ifft_invariant() [all …]
|
D | cxx11_tensor_index_list.cpp | 272 int dim1 = 2; in test_dynamic_index_list() local 276 auto reduction_axis = make_index_list(dim1, dim2, dim3); in test_dynamic_index_list() 366 Eigen::IndexList<Eigen::type2index<1>, int> dim1; in test_dim_check() local 367 dim1.set(1, 2); in test_dim_check() 370 VERIFY(dimensions_match(dim1, dim2)); in test_dim_check()
|
D | cxx11_tensor_morphing.cpp | 26 Tensor<float, 3>::Dimensions dim1(2,3,7); in test_simple_reshape() local 27 tensor2 = tensor1.reshape(dim1); in test_simple_reshape() 31 tensor4 = tensor1.reshape(dim1).reshape(dim3); in test_simple_reshape()
|
/external/ply/ply/example/BASIC/ |
D | basinterp.py | 91 var, dim1, dim2 = expr[1] 92 if not dim1 and not dim2: 100 if dim1 and not dim2: 103 return self.functions[var](dim1) 107 dim1val = self.eval(dim1) 113 if dim1 and dim2: 115 dim1val = self.eval(dim1) 169 var, dim1, dim2 = target 170 if not dim1 and not dim2: 172 elif dim1 and not dim2: [all …]
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | codegen_test_h.golden | 124 float& arg0(size_t dim0, size_t dim1) { 126 arg_data(0)))[dim0][dim1]; 131 const float& arg0(size_t dim0, size_t dim1) const { 133 arg_data(0)))[dim0][dim1]; 142 float& arg_myfeed(size_t dim0, size_t dim1) { 144 arg_data(0)))[dim0][dim1]; 149 const float& arg_myfeed(size_t dim0, size_t dim1) const { 151 arg_data(0)))[dim0][dim1]; 160 tensorflow::int64& arg1(size_t dim0, size_t dim1) { 162 arg_data(1)))[dim0][dim1]; [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | Tensor.h | 348 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit Tensor(Index dim1) in Tensor() argument 349 : m_storage(dim1, array<Index, 1>(dim1)) in Tensor() 353 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2) in Tensor() argument 354 : m_storage(dim1*dim2, array<Index, 2>(dim1, dim2)) in Tensor() 358 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3) in Tensor() argument 359 : m_storage(dim1*dim2*dim3, array<Index, 3>(dim1, dim2, dim3)) in Tensor() 363 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3, Index dim4) in Tensor() argument 364 : m_storage(dim1*dim2*dim3*dim4, array<Index, 4>(dim1, dim2, dim3, dim4)) in Tensor() 368 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor(Index dim1, Index dim2, Index dim3, Index dim4, Index… in Tensor() argument 369 : m_storage(dim1*dim2*dim3*dim4*dim5, array<Index, 5>(dim1, dim2, dim3, dim4, dim5)) in Tensor()
|
D | TensorMap.h | 78 …G_INLINE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2) : m_data(dataPtr), m_dimensions… in TensorMap() argument 82 …NE TensorMap(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3) : m_data(dataPtr), m_dime… in TensorMap() argument 86 …sorMap(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4) : m_data(dataPtr), … in TensorMap() argument 90 …(PointerArgType dataPtr, Index dim1, Index dim2, Index dim3, Index dim4, Index dim5) : m_data(data… in TensorMap() argument
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | my_corr.c | 28 size_t dim1, /* (i) dimension first seq1 */ in WebRtcIlbcfix_MyCorr() argument 39 max=WebRtcSpl_MaxAbsValueW16(seq1, dim1); in WebRtcIlbcfix_MyCorr() 47 loops=dim1-dim2+1; in WebRtcIlbcfix_MyCorr()
|
D | my_corr.h | 31 size_t dim1, /* (i) dimension first seq1 */
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslParseables.cpp | 226 … AppendTypeName(glslang::TString& s, const char* argOrder, const char* argType, int dim0, int dim1) in AppendTypeName() argument 240 std::swap(dim0, dim1); in AppendTypeName() 315 dim0 = dim1 = fixedVecSize; in AppendTypeName() 318 const char dim1Char = ('0' + char(dim1)); in AppendTypeName() 335 (order == 'M' && (dim1 < 1 || dim1 > 4))) { in AppendTypeName() 376 …id(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1) in IsValid() argument 398 if (isMat && dim0 == 1 && dim1 == 1) // avoid mat1x1 in IsValid() 401 if (isMat && dim1 == 1) // TODO: avoid mat Nx1 until we find the right GLSL profile in IsValid() 975 … for (int dim1 = dim1Min; dim1 <= dim1Max; ++dim1) { // for each dim 1... in initialize() local 979 … if (!IsValid(intrinsic.name, *retOrder, *retType, *argOrder, *argType, dim0, dim1)) in initialize() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_util.h | 486 int64 dim1 = 0; in CreateR3Projected() local 490 array(dim0, dim1, dim2) = value; in CreateR3Projected() 494 ++dim1; in CreateR3Projected() 496 CHECK_EQ(dim1_size, dim1); in CreateR3Projected() 512 for (int64 dim1 = 0; dim1 < dim1_size; ++dim1) { in CreateR4Projected() local 517 array(dim0, dim1, dim2, dim3) = value; in CreateR4Projected()
|
/external/tensorflow/tensorflow/core/tpu/ |
D | tpu_embedding_output_layout_utils.cc | 76 auto* dim1 = shape.add_dim(); in ComputeOutputTensorShapes() local 77 dim1->set_size(output.two_d().dim1_size()); in ComputeOutputTensorShapes()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_shape.cc | 670 const int64 dim1 = shape.dim_size(i); in MergeWith() local 671 if (dim0 >= 0 && dim1 >= 0 && dim0 != dim1) { in MergeWith() 676 result->AddDim(dim0 >= 0 ? dim0 : dim1); in MergeWith() 707 const int64 dim1 = shape.dim_size(i); in IsCompatibleWith() local 708 if (dim0 >= 0 && dim1 >= 0 && dim0 != dim1) return false; in IsCompatibleWith()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference_test.cc | 413 auto dim1 = window.add_dimensions(); in TEST_F() local 420 dim1->set_size(2); in TEST_F() 421 dim1->set_stride(1); in TEST_F() 422 dim1->set_padding_low(0); in TEST_F() 423 dim1->set_padding_high(0); in TEST_F() 424 dim1->set_window_dilation(1); in TEST_F() 425 dim1->set_base_dilation(1); in TEST_F() 465 auto dim1 = window.add_dimensions(); in TEST_F() local 466 dim1->set_size(2); in TEST_F() 467 dim1->set_stride(1); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | convolutional.py | 2025 dim1 = self.size[0] * input_shape[ 2032 [input_shape[0], input_shape[1], dim1, dim2, dim3]) 2034 dim1 = self.size[0] * input_shape[ 2041 [input_shape[0], dim1, dim2, dim3, input_shape[4]]) 2275 dim1 = input_shape[2] + 2 * self.padding[0][0] 2277 dim1 = None 2287 [input_shape[0], input_shape[1], dim1, dim2, dim3]) 2290 dim1 = input_shape[1] + 2 * self.padding[0][1] 2292 dim1 = None 2302 [input_shape[0], dim1, dim2, dim3, input_shape[4]]) [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | mkl_util_test.cc | 64 memory::dims dim1 = {3, 4}; in TEST() local 66 a.SetUsrMem(dim1, strides1); in TEST()
|
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/kernels/ |
D | reduce_slice_ops.cc | 63 Index dim1 = output.dimension(0); \ 66 Index size = dim1 * dim2 * dim3; \ 76 XYZ xyz = global_index_to_xyz(global, XYZ(dim1, dim2, dim3)); \
|
/external/tensorflow/tensorflow/go/ |
D | session_test.go | 84 dim1, _ = Const(g, "dim1", int32(1)) 101 dim1,
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties.cc | 125 const int64 dim1 = InferenceContext::Value(d1); in Merge() local 128 if (dim1 >= 0 && dim2 >= 0) { in Merge() 129 CHECK_EQ(dim1, dim2); in Merge() 130 return RefineDim(dim1, result); in Merge() 131 } else if (dim1 >= 0 && dim2 < 0) { in Merge() 132 return RefineDim(dim1, result); in Merge() 133 } else if (dim1 < 0 && dim2 >= 0) { in Merge() 135 } else if (dim1 < -1) { in Merge() 136 return RefineDim(dim1, result); in Merge() 140 CHECK_EQ(dim1, dim2); in Merge() [all …]
|
/external/tensorflow/tensorflow/tools/compatibility/testdata/ |
D | test_file_v0_11.py | 44 dim1 = [1] 54 b, reduction_indices=dim1).eval(), [False, False])
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SaveSlices.pbtxt | 40 * A string of the form `dim0 dim1 ... dimN-1 slice-spec` where the
|