Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 195) sorted by relevance

12345678

/frameworks/rs/
Drs.spec7 param void *data
8 param size_t *receiveLen
9 param uint32_t *usrID
15 param size_t *receiveLen
16 param uint32_t *usrID
21 param uint32_t id
22 param const uint8_t *data
35 param const char * cacheDir
40 param RsElement e
41 param uint32_t dimX
[all …]
Drsg.spec3 param bool colorMaskR
4 param bool colorMaskG
5 param bool colorMaskB
6 param bool colorMaskA
7 param bool depthMask
8 param bool ditherEnable
9 param RsBlendSrcFunc srcFunc
10 param RsBlendDstFunc destFunc
11 param RsDepthFunc depthFunc
17 param bool pointSprite
[all …]
/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java150 byte[] param = shortToByteArray(room); in setRoomLevel()
151 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel()
163 byte[] param = new byte[2]; in getRoomLevel()
164 checkStatus(getParameter(PARAM_ROOM_LEVEL, param)); in getRoomLevel()
165 return byteArrayToShort(param); in getRoomLevel()
179 byte[] param = shortToByteArray(roomHF); in setRoomHFLevel()
180 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel()
192 byte[] param = new byte[2]; in getRoomHFLevel()
193 checkStatus(getParameter(PARAM_ROOM_HF_LEVEL, param)); in getRoomHFLevel()
194 return byteArrayToShort(param); in getRoomHFLevel()
[all …]
DEqualizer.java152 int[] param = new int[2]; in Equalizer() local
153 param[0] = PARAM_GET_PRESET_NAME; in Equalizer()
155 param[1] = i; in Equalizer()
156 checkStatus(getParameter(param, value)); in Equalizer()
180 int[] param = new int[1]; in getNumberOfBands() local
181 param[0] = PARAM_NUM_BANDS; in getNumberOfBands()
183 checkStatus(getParameter(param, result)); in getNumberOfBands()
217 int[] param = new int[2]; in setBandLevel() local
220 param[0] = PARAM_BAND_LEVEL; in setBandLevel()
221 param[1] = (int)band; in setBandLevel()
[all …]
DAudioEffect.java537 public int setParameter(byte[] param, byte[] value) in setParameter() argument
540 return native_setParameter(param.length, param, value.length, value); in setParameter()
549 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
550 byte[] p = intToByteArray(param); in setParameter()
562 public int setParameter(int param, short value) in setParameter() argument
564 byte[] p = intToByteArray(param); in setParameter()
576 public int setParameter(int param, byte[] value) in setParameter() argument
578 byte[] p = intToByteArray(param); in setParameter()
589 public int setParameter(int[] param, int[] value) in setParameter() argument
591 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp56 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument
59 switch (param) { in eq_paramSize()
75 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize()
82 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument
85 switch (param) { in eq_valueSize()
107 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize()
118 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument
121 switch (param) { in bb_valueSize()
130 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize()
142 uint32_t virt_valueSize(int32_t param) { in virt_valueSize() argument
[all …]
Dandroid_Effect.h23 int32_t param, int32_t param2, void *pValue);
26 int32_t param, int32_t param2, void *pValue);
34 int32_t param, void *pValue);
37 int32_t param, void *pValue);
45 int32_t param, void *pValue);
48 int32_t param, void *pValue);
67 int32_t param, void *pValue);
70 int32_t param, void *pValue);
125 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
128 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dhoming_amr_wb_dec.cpp251 int16 param[DHF_PARMS_MAX]; in dhf_test() local
283 param[i] = Serial_parm(15, &prms); in dhf_test()
288 param[i] = Serial_parm(tmp, &prms); in dhf_test()
290 param[i] = shl_int16(param[i], shift); in dhf_test()
297 param[i] = Serial_parm(15, &prms); in dhf_test()
299 param[10] = Serial_parm(15, &prms) & 0x61FF; in dhf_test()
303 param[i] = Serial_parm(15, &prms); in dhf_test()
305 param[17] = Serial_parm(15, &prms) & 0xE0FF; in dhf_test()
309 param[i] = Serial_parm(15, &prms); in dhf_test()
311 param[24] = Serial_parm(15, &prms) & 0x7F0F; in dhf_test()
[all …]
/frameworks/av/media/libmedia/
DAudioEffect.cpp269 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
275 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
280 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
282 ALOGV("setParameter: param: %d, param2: %d", *(int *)param->data, in setParameter()
283 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
285 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, in setParameter()
286 &param->status); in setParameter()
289 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
295 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
301 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp375 size_t AudioPolicyEffects::growParamSize(char *param, in growParamSize() argument
387 param = (char *)realloc(param, *totSize); in growParamSize()
394 char *param, in readParamValue() argument
399 size_t pos = growParamSize(param, sizeof(short), curSize, totSize); in readParamValue()
400 *(short *)((char *)param + pos) = (short)atoi(node->value); in readParamValue()
401 ALOGV("readParamValue() reading short %d", *(short *)((char *)param + pos)); in readParamValue()
404 size_t pos = growParamSize(param, sizeof(int), curSize, totSize); in readParamValue()
405 *(int *)((char *)param + pos) = atoi(node->value); in readParamValue()
406 ALOGV("readParamValue() reading int %d", *(int *)((char *)param + pos)); in readParamValue()
409 size_t pos = growParamSize(param, sizeof(float), curSize, totSize); in readParamValue()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c48 …cmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param) in parsecmdline() argument
54 param->adtsUsed = 1; in parsecmdline()
55 param->bitRate = 0; in parsecmdline()
56 param->nChannels = 2; in parsecmdline()
57 param->sampleRate = 44100; in parsecmdline()
84 param->sampleRate = atoi(*argv); in parsecmdline()
90 param->nChannels = atoi(*argv); in parsecmdline()
96 param->bitRate = atoi(*argv); in parsecmdline()
102 param->adtsUsed = atoi(*argv); in parsecmdline()
113 if(param->bitRate == 0) in parsecmdline()
[all …]
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java108 for (String param : spec.split(" +")) { in parseOptions()
109 if (param.length() == 0) continue; in parseOptions()
110 if (param.startsWith("backoff=")) { in parseOptions()
111 String[] pieces = param.substring(8).split("\\+"); in parseOptions()
124 } else if (param.startsWith("max=")) { in parseOptions()
125 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
126 } else if (param.startsWith("min=")) { in parseOptions()
127 options.minTriggerMillis = parseSeconds(param.substring(4)); in parseOptions()
128 } else if (param.startsWith("period=")) { in parseOptions()
129 options.periodicIntervalMillis = parseSeconds(param.substring(7)); in parseOptions()
[all …]
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in19 void API_ENTRY(glFogf)(GLenum pname, GLfloat param) {
20 CALL_GL_API(glFogf, pname, param);
46 void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) {
47 CALL_GL_API(glLightModelf, pname, param);
52 void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) {
53 CALL_GL_API(glLightf, light, pname, param);
64 void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
65 CALL_GL_API(glMaterialf, face, pname, param);
82 void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) {
83 CALL_GL_API(glPointParameterf, pname, param);
[all …]
/frameworks/native/opengl/libagl/
Dlight.cpp452 static void lightModelx(GLenum pname, GLfixed param, ogles_context_t* c) in lightModelx() argument
458 c->lighting.lightModel.twoSide = param ? GL_TRUE : GL_FALSE; in lightModelx()
462 static void lightx(GLenum i, GLenum pname, GLfixed param, ogles_context_t* c) in lightx() argument
473 if (GGLfixed(param) >= gglIntToFixed(128)) { in lightx()
477 light.spotExp = param; in lightx()
480 if (param!=gglIntToFixed(180) && GGLfixed(param)>=gglIntToFixed(90)) { in lightx()
484 light.spotCutoff = param; in lightx()
486 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx()
489 if (param < 0) { in lightx()
493 light.attenuation[0] = param; in lightx()
[all …]
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp154 ResTable_config param; in TEST() local
155 memset(&param, 0, sizeof(param)); in TEST()
156 param.density = 320; in TEST()
157 table.setParameters(&param); in TEST()
178 ResTable_config param; in TEST() local
179 memset(&param, 0, sizeof(param)); in TEST()
180 param.language[0] = 's'; in TEST()
181 param.language[1] = 'v'; in TEST()
182 param.country[0] = 'S'; in TEST()
183 param.country[1] = 'E'; in TEST()
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec35 void glFogf ( GLenum pname, GLfloat param )
37 void glFogx ( GLenum pname, GLfixed param )
47 void glLightModelf ( GLenum pname, GLfloat param )
49 void glLightModelx ( GLenum pname, GLfixed param )
51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
75 void glPixelStorei ( GLenum pname, GLint param )
95 void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
[all …]
DGLES11Ext.spec20 void glFogxOES ( GLenum pname, GLfixed param )
29 void glLightModelxOES ( GLenum pname, GLfixed param )
31 void glLightxOES ( GLenum light, GLenum pname, GLfixed param )
35 void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param )
41 void glPointParameterxOES ( GLenum pname, GLfixed param )
48 void glTexEnvxOES ( GLenum target, GLenum pname, GLfixed param )
50 void glTexParameterxOES ( GLenum target, GLenum pname, GLfixed param )
82 void glTexGenfOES ( GLenum coord, GLenum pname, GLfloat param )
84 void glTexGeniOES ( GLenum coord, GLenum pname, GLint param )
86 void glTexGenxOES ( GLenum coord, GLenum pname, GLfixed param )
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java462 float param in glFogf() argument
478 int param in glFogx() argument
550 float param in glLightModelf() argument
566 int param in glLightModelx() argument
583 float param in glLightf() argument
602 int param in glLightx() argument
654 float param in glMaterialf() argument
673 int param in glMaterialx() argument
765 int param in glPixelStorei() argument
875 float param in glTexEnvf() argument
[all …]
DGL11ExtensionPack.java336 float param in glTexEnvf() argument
355 int param in glTexEnvx() argument
374 float param in glTexGenf() argument
393 int param in glTexGeni() argument
412 int param in glTexGenx() argument
431 float param in glTexParameterf() argument
/frameworks/rs/api/
DGenerateTestFiles.cpp102 void writeJavaInputAllocationDefinition(const ParameterDefinition& param) const;
118 void writeJavaOutputAllocationDefinition(const ParameterDefinition& param) const;
157 void writeRsAllocationDefinition(const ParameterDefinition& param,
294 void PermutationWriter::writeJavaInputAllocationDefinition(const ParameterDefinition& param) const { in writeJavaInputAllocationDefinition()
297 convertToRsType(param.rsType, &dataType, &vectorSize); in writeJavaInputAllocationDefinition()
299 const string seed = hashString(mJavaCheckMethodName + param.javaAllocName); in writeJavaInputAllocationDefinition()
300 mJava->indent() << "Allocation " << param.javaAllocName << " = "; in writeJavaInputAllocationDefinition()
301 if (param.compatibleTypeIndex >= 0) { in writeJavaInputAllocationDefinition()
302 if (TYPES[param.typeIndex].kind == FLOATING_POINT) { in writeJavaInputAllocationDefinition()
304 TYPES[param.compatibleTypeIndex], in writeJavaInputAllocationDefinition()
[all …]
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.035 void glFogf ( GLenum pname, GLfloat param )
37 void glFogx ( GLenum pname, GLfixed param )
47 void glLightModelf ( GLenum pname, GLfloat param )
49 void glLightModelx ( GLenum pname, GLfixed param )
51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
61 void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
63 void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
75 void glPixelStorei ( GLenum pname, GLint param )
95 void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
[all …]
Dglspec-1.1extpack28 void glTexEnvf ( GLint target, GLint pname, GLfloat param )
30 void glTexEnvx ( GLint target, GLint pname, GLint param )
32 void glTexGenf ( GLint coord, GLint pname, GLfloat param )
34 void glTexGeni ( GLint coord, GLint pname, GLint param )
36 void glTexGenx ( GLint coord, GLint pname, GLint param )
38 void glTexParameterf ( GLint target, GLint pname, GLfloat param )
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java291 public void glFogf(int pname, float param) { in glFogf() argument
293 mgl.glFogf(pname, param); in glFogf()
309 public void glFogx(int pname, int param) { in glFogx() argument
311 mgl.glFogx(pname, param); in glFogx()
390 public void glLightModelf(int pname, float param) { in glLightModelf() argument
392 mgl.glLightModelf(pname, param); in glLightModelf()
408 public void glLightModelx(int pname, int param) { in glLightModelx() argument
410 mgl.glLightModelx(pname, param); in glLightModelx()
426 public void glLightf(int light, int pname, float param) { in glLightf() argument
428 mgl.glLightf(light, pname, param); in glLightf()
[all …]
DGLES10.java569 float param in glFogf() argument
591 int param in glFogx() argument
688 float param in glLightModelf() argument
710 int param in glLightModelx() argument
733 float param in glLightf() argument
758 int param in glLightx() argument
832 float param in glMaterialf() argument
857 int param in glMaterialx() argument
1000 int param in glPixelStorei() argument
1176 float param in glTexEnvf() argument
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java383 float param in glFogf() argument
405 int param in glFogx() argument
513 float param in glLightModelf() argument
535 int param in glLightModelx() argument
558 float param in glLightf() argument
583 int param in glLightx() argument
657 float param in glMaterialf() argument
682 int param in glMaterialx() argument
825 int param in glPixelStorei() argument
1001 float param in glTexEnvf() argument
[all …]

12345678