Searched refs:dim (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/media/libeffects/testlibs/
H A DAudioCoefInterpolator.cpp35 size_t dim = nInDims - 1; local
37 while (dim-- > 0) {
38 mInDimOffsets[dim] = mInDimOffsets[dim + 1] * mInDims[dim + 1];
45 size_t dim = mNumInDims; local
46 while (dim-- > 0) {
47 if (UNLIKELY(intCoord[dim] < 0)) {
48 fracCoord[dim] = 0;
49 } else if (UNLIKELY(intCoord[dim] >
59 getCoefRecurse(size_t index, const uint32_t fracCoord[], audio_coef_t out[], size_t dim) argument
[all...]
H A DAudioCoefInterpolator.h84 // dim The input dimensions we are currently interpolating. This
87 audio_coef_t out[], size_t dim);
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ds_hcb.h107 Int dim; member in struct:__anon467
H A Dhuffspec_fxp.cpp319 Int dim; local
414 dim = DIMENSION_2; /* set codebook dimension */
418 dim = DIMENSION_4;
497 pQuantSpec += dim;
498 idx_count -= dim;
H A Dunpack_idx.cpp47 pHuffCodebook->dim == DIMENSION_4
105 the variable HuffCodebook->dim.
124 LAV <= 2 if dim == 4
126 This restricts mod == 3 if dim == 4
127 and mod == {3, 8, 9, 13, 17} if dim == 2
168 IF (pHuffCodebook->dim == 4)
346 if (pHuffCodebook->dim == DIMENSION_4)
381 * Calculate pQuantSpec[2] if dim == 4
382 * Calculate pQuantSpec[0] if dim == 2
401 * Calculate pQuantSpec[3] if dim
[all...]
/frameworks/base/opengl/tests/textures/
H A Dtextures.cpp62 GLint dim = w<h ? w : h;
105 glDrawTexiOES(0, 0, 0, dim/2, dim/2);
108 glDrawTexiOES(dim/2, 0, 0, dim/2, dim/2);
111 glDrawTexiOES(0, dim/2, 0, dim/2, dim/2);
114 glDrawTexiOES(dim/
[all...]
/frameworks/base/opengl/tests/filter/
H A Dfilter.cpp66 GLint dim = w<h ? w : h;
139 //glDrawTexiOES(0, 0, 0, dim, dim);
143 { 0, dim },
144 { dim, dim },
145 { dim, 0 }
160 glScissor(0,dim,dim,h-dim);
[all...]
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java105 DigitsKeyListener dim = new DigitsKeyListener();
107 dim.mAccepted = new char[accepted.length()];
108 accepted.getChars(0, accepted.length(), dim.mAccepted, 0);
110 return dim;
/frameworks/base/libs/rs/
H A DrsAdapter.cpp90 void rsi_Adapter1DSetConstraint(Context *rsc, RsAdapter1D va, RsDimension dim, uint32_t value) argument
93 switch(dim) {
207 void rsi_Adapter2DSetConstraint(Context *rsc, RsAdapter2D va, RsDimension dim, uint32_t value) argument
210 switch(dim) {
H A DrsType.cpp322 void rsi_TypeAdd(Context *rsc, RsDimension dim, size_t value) argument
326 if (dim < 0) {
332 switch (dim) {
353 int32_t arrayNum = dim - RS_DIMENSION_ARRAY_0;
354 if ((dim < 0) || (dim > RS_DIMENSION_MAX)) {
H A Drs.spec79 param RsDimension dim
182 param RsDimension dim
209 param RsDimension dim
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dqpisf_2s.c41 Word16 dim, /* input : dimention of vector */
446 Word16 dim, /* input : dimention of vector */
463 for (j = 0; j < dim; j++)
479 p_dico = &dico[index * dim];
480 for (j = 0; j < dim; j++)
492 Word16 dim, /* input : dimention of vector */
516 for (j = 0; j < dim; j++)
443 Sub_VQ( Word16 * x, Word16 * dico, Word16 dim, Word16 dico_size, Word32 * distance ) argument
489 VQ_stage1( Word16 * x, Word16 * dico, Word16 dim, Word16 dico_size, Word16 * index, Word16 surv ) argument
/frameworks/base/tools/aidl/
H A DAST.cpp148 string dim; local
150 dim += "[]";
152 fprintf(to, "%s%s %s", this->type->QualifiedName().c_str(), dim.c_str(),
684 string dim; local
686 dim += "[]";
689 dim.c_str());
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java94 native void nTypeAdd(int dim, int val); argument
121 native void nAdapter1DSetConstraint(int ad, int dim, int value); argument
129 native void nAdapter2DSetConstraint(int ad, int dim, int value); argument
H A DAllocation.java153 public void setConstraint(Dimension dim, int value) { argument
155 mRS.nAdapter1DSetConstraint(mID, dim.mID, value);
196 public void setConstraint(Dimension dim, int value) { argument
198 mRS.nAdapter2DSetConstraint(mID, dim.mID, value);
/frameworks/base/opengl/tests/finish/
H A Dfinish.cpp66 GLint dim = w<h ? w : h;
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp303 nTypeAdd(JNIEnv *_env, jobject _this, jint dim, jint val) argument
306 LOG_API("nTypeAdd, con(%p) dim(%i), val(%i)", con, dim, val);
307 rsTypeAdd(con, (RsDimension)dim, val);
715 nAdapter1DSetConstraint(JNIEnv *_env, jobject _this, jint adapter, jint dim, jint value) argument
718 LOG_API("nAdapter1DSetConstraint, con(%p), adapter(%p), dim(%i), value(%i)", con, (RsAdapter1D)adapter, dim, value);
719 rsAdapter1DSetConstraint(con, (RsAdapter1D)adapter, (RsDimension)dim, value);
785 nAdapter2DSetConstraint(JNIEnv *_env, jobject _this, jint adapter, jint dim, jint value) argument
788 LOG_API("nAdapter2DSetConstraint, con(%p), adapter(%p), dim(
[all...]
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h154 Word16 dim, /* input : dimention of vector */
/frameworks/base/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp335 GLint dim = w < h ? w : h;
/frameworks/base/opengl/tests/gl_basic/
H A Dgl_basic.cpp267 GLint dim = w < h ? w : h;

Completed in 229 milliseconds