Home
last modified time | relevance | path

Searched refs:dim (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/media/mca/filterpacks/native/base/
Dvec_types.h23 template < class T, int dim>
26 T data[dim];
28 VecBase<T,dim>& operator = (const VecBase<T, dim> &x) {
29 memcpy(data, x.data, sizeof(T)*dim);
42 for (int i = 0; i < dim; ++i) in Length()
48 template < class T, int dim>
49 class Vec : public VecBase<T,dim> {
52 Vec<T,dim>& operator = (const Vec<T, dim> &x) {
53 memcpy(this->data, x.data, sizeof(T)*dim);
58 template <class T, int dim>
[all …]
/frameworks/av/media/libeffects/testlibs/
DAudioCoefInterpolator.cpp35 size_t dim = nInDims - 1; in AudioCoefInterpolator() local
37 while (dim-- > 0) { in AudioCoefInterpolator()
38 mInDimOffsets[dim] = mInDimOffsets[dim + 1] * mInDims[dim + 1]; in AudioCoefInterpolator()
45 size_t dim = mNumInDims; in getCoef() local
46 while (dim-- > 0) { in getCoef()
47 if (CC_UNLIKELY(intCoord[dim] < 0)) { in getCoef()
48 fracCoord[dim] = 0; in getCoef()
49 } else if (CC_UNLIKELY(intCoord[dim] >= (int)mInDims[dim] - 1)) { in getCoef()
50 fracCoord[dim] = 0; in getCoef()
51 index += mInDimOffsets[dim] * (mInDims[dim] - 1); in getCoef()
[all …]
DAudioCoefInterpolator.h87 audio_coef_t out[], size_t dim);
/frameworks/native/opengl/tests/textures/
Dtextures.cpp62 GLint dim = w<h ? w : h; in main() local
105 glDrawTexiOES(0, 0, 0, dim/2, dim/2); in main()
108 glDrawTexiOES(dim/2, 0, 0, dim/2, dim/2); in main()
111 glDrawTexiOES(0, dim/2, 0, dim/2, dim/2); in main()
114 glDrawTexiOES(dim/2, dim/2, 0, dim/2, dim/2); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp66 GLint dim = w<h ? w : h; in main() local
143 { 0, dim }, in main()
144 { dim, dim }, in main()
145 { dim, 0 } in main()
160 glScissor(0,dim,dim,h-dim); in main()
163 for (int y=0 ; y<dim ; y++) { in main()
170 glDrawTexiOES(0, y, 1, dim, dim); in main()
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
Dlaunchtestxlw.rs20 const int dim = 2048;
25 p += x * dim;
26 for (int i=0; i<dim; i++) {
DLaunchTest.java33 final int dim = mScript_xlw.get_dim(); in LaunchTest() local
35 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim); in LaunchTest()
37 tb.setX(dim); in LaunchTest()
38 tb.setY(dim); in LaunchTest()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_math_agree.java99 private float[] randvec_float(int dim) { in randvec_float() argument
100 float[] fv = new float[dim]; in randvec_float()
101 for (int i = 0; i < dim; ++i) in randvec_float()
105 private byte[] randvec_char(int dim) { in randvec_char() argument
106 byte[] cv = new byte[dim]; in randvec_char()
110 private short[] randvec_uchar(int dim) { in randvec_uchar() argument
111 short[] ucv = new short[dim]; in randvec_uchar()
112 for (int i = 0; i < dim; ++i) in randvec_uchar()
116 private short[] randvec_short(int dim) { in randvec_short() argument
117 short[] sv = new short[dim]; in randvec_short()
[all …]
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_math_agree.java99 private float[] randvec_float(int dim) { in randvec_float() argument
100 float[] fv = new float[dim]; in randvec_float()
101 for (int i = 0; i < dim; ++i) in randvec_float()
105 private byte[] randvec_char(int dim) { in randvec_char() argument
106 byte[] cv = new byte[dim]; in randvec_char()
110 private short[] randvec_uchar(int dim) { in randvec_uchar() argument
111 short[] ucv = new short[dim]; in randvec_uchar()
112 for (int i = 0; i < dim; ++i) in randvec_uchar()
116 private short[] randvec_short(int dim) { in randvec_short() argument
117 short[] sv = new short[dim]; in randvec_short()
[all …]
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp169 void setSourceDim(HwcTestDim dim);
730 HwcTestDim dim(w, startDim.height()); in dfMinWidth() local
731 Rectangle rect(format, dim); in dfMinWidth()
754 HwcTestDim dim(startDim.width(), h); in dfMinHeight() local
755 Rectangle rect(format, dim); in dfMinHeight()
778 HwcTestDim dim(w, startDim.height()); in dfMaxWidth() local
779 Rectangle rect(format, dim); in dfMaxWidth()
801 HwcTestDim dim(startDim.width(), h); in dfMaxHeight() local
802 Rectangle rect(format, dim); in dfMaxHeight()
836 HwcTestDim dim(w, h); in dfMinDim() local
[all …]
DhwcTestLib.cpp261 HwcTestDim dim; in hwcTestParseDim() local
271 if (!in || ((chStart != '<') && (chStart != '['))) { return dim; } in hwcTestParseDim()
275 if (!in) { return dim; } in hwcTestParseDim()
276 dim.setWidth(val); in hwcTestParseDim()
278 if (!in || (ch != ',')) { return dim; } in hwcTestParseDim()
282 if (!in) { return dim; } in hwcTestParseDim()
283 dim.setHeight(val); in hwcTestParseDim()
287 if (!in) { return dim; } in hwcTestParseDim()
289 || ((chStart == '[') && (ch != ']'))) { return dim; } in hwcTestParseDim()
292 if ((dim.width() <= 0) || (dim.height() <= 0)) { return dim; } in hwcTestParseDim()
[all …]
/frameworks/base/core/java/android/text/method/
DDigitsKeyListener.java118 DigitsKeyListener dim = new DigitsKeyListener(); in getInstance() local
120 dim.mAccepted = new char[accepted.length()]; in getInstance()
121 accepted.getChars(0, accepted.length(), dim.mAccepted, 0); in getInstance()
123 return dim; in getInstance()
/frameworks/rs/
DrsAdapter.cpp66 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) { in rsi_Adapter1DSetConstraint() argument
68 switch (dim) { in rsi_Adapter1DSetConstraint()
140 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) { in rsi_Adapter2DSetConstraint() argument
142 switch (dim) { in rsi_Adapter2DSetConstraint()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dqpisf_2s.c41 Word16 dim, /* input : dimention of vector */
446 Word16 dim, /* input : dimention of vector */ in Sub_VQ() argument
463 for (j = 0; j < dim; j++) in Sub_VQ()
479 p_dico = &dico[index * dim]; in Sub_VQ()
480 for (j = 0; j < dim; j++) in Sub_VQ()
492 Word16 dim, /* input : dimention of vector */ in VQ_stage1() argument
516 for (j = 0; j < dim; j++) in VQ_stage1()
/frameworks/base/tools/aidl/
DAST.cpp163 string dim; in WriteDeclaration() local
165 dim += "[]"; in WriteDeclaration()
167 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(), in WriteDeclaration()
742 string dim; in Write() local
744 dim += "[]"; in Write()
747 dim.c_str()); in Write()
/frameworks/compile/slang/
Dslang_rs_spec_table.cpp33 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) x, argument
306 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) \ in main() argument
307 new RSMatrixDataTypeSpec(#x , name, dim), in main()
Dslang_rs_type_spec.h83 #define ENUM_RS_MATRIX_DATA_TYPE(x, name, dim) RS_DT_ ## x, argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardTransportControlView.java228 int dim = Math.min(512, Math.max(w, h)); in onSizeChanged() local
229 if (DEBUG) Log.v(TAG, "TCV uses bitmap size=" + dim); in onSizeChanged()
230 mAudioManager.remoteControlDisplayUsesBitmapSize(mIRCD, dim, dim); in onSizeChanged()
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp120 GLint dim = w < h ? w : h; in main() local
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java426 for (int dim : dimensions) { in calcSize()
427 size *= dim; in calcSize()
/frameworks/native/opengl/tests/finish/
Dfinish.cpp66 GLint dim = w<h ? w : h; in main() local
/frameworks/base/docs/html/design/style/
Dtouch-feedback.jd39 starts to dim. This helps the user understand that swiping will cause the item to be removed.</p>
/frameworks/wilhelm/tests/sandbox/
DAndroid.mk279 dim.c
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp291 GLint dim = w < h ? w : h; in main() local
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp335 GLint dim = w < h ? w : h; in main() local

12