Home
last modified time | relevance | path

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

1234567

/frameworks/rs/
Drs.spec8 param void *data
9 param size_t *receiveLen
10 param uint32_t *usrID
16 param size_t *receiveLen
17 param uint32_t *usrID
22 param uint32_t id
23 param const uint8_t *data
36 param RsElement e
37 param uint32_t dimX
38 param uint32_t dimY
[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.java158 byte[] param = shortToByteArray(room); in setRoomLevel()
159 checkStatus(setParameter(PARAM_ROOM_LEVEL, param)); in setRoomLevel()
171 byte[] param = new byte[2]; in getRoomLevel()
172 checkStatus(getParameter(PARAM_ROOM_LEVEL, param)); in getRoomLevel()
173 return byteArrayToShort(param); in getRoomLevel()
187 byte[] param = shortToByteArray(roomHF); in setRoomHFLevel()
188 checkStatus(setParameter(PARAM_ROOM_HF_LEVEL, param)); in setRoomHFLevel()
200 byte[] param = new byte[2]; in getRoomHFLevel()
201 checkStatus(getParameter(PARAM_ROOM_HF_LEVEL, param)); in getRoomHFLevel()
202 return byteArrayToShort(param); in getRoomHFLevel()
[all …]
DEqualizer.java159 int[] param = new int[2]; in Equalizer() local
160 param[0] = PARAM_GET_PRESET_NAME; in Equalizer()
162 param[1] = i; in Equalizer()
163 checkStatus(getParameter(param, value)); in Equalizer()
187 int[] param = new int[1]; in getNumberOfBands() local
188 param[0] = PARAM_NUM_BANDS; in getNumberOfBands()
190 checkStatus(getParameter(param, result)); in getNumberOfBands()
224 int[] param = new int[2]; in setBandLevel() local
227 param[0] = PARAM_BAND_LEVEL; in setBandLevel()
228 param[1] = (int)band; in setBandLevel()
[all …]
DAudioEffect.java533 public int setParameter(byte[] param, byte[] value) in setParameter() argument
536 return native_setParameter(param.length, param, value.length, value); in setParameter()
545 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
546 byte[] p = intToByteArray(param); in setParameter()
558 public int setParameter(int param, short value) in setParameter() argument
560 byte[] p = intToByteArray(param); in setParameter()
572 public int setParameter(int param, byte[] value) in setParameter() argument
574 byte[] p = intToByteArray(param); in setParameter()
585 public int setParameter(int[] param, int[] value) in setParameter() argument
587 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/rs/scriptc/
Drs_graphics.rsh32 * @param colorTarget
33 * @param slot
40 * @param slot
47 * @param depthTarget
76 * @param pf
84 * @param ps
92 * @param pv
100 * @param pr
109 * @param slot
120 * @param slot
[all …]
Drs_matrix.rsh29 * @param m The matrix to be set
30 * @param row
31 * @param col
32 * @param v
52 * @param m The matrix to read from
53 * @param row
54 * @param col
74 * @param m
89 * @param m
112 * @param m
[all …]
Drs_atomic.rsh32 * @param addr Address of value to increment
42 * @param addr Address of value to increment
52 * @param addr Address of value to decrement
61 * @param addr Address of value to decrement
71 * @param addr Address of value to modify
72 * @param value Amount to add to the value at addr
81 * @param addr Address of value to modify
82 * @param value Amount to add to the value at addr
92 * @param addr Address of value to modify
93 * @param value Amount to subtract from the value at addr
[all …]
Drs_quaternion.rsh29 * @param w component
30 * @param x component
31 * @param y component
32 * @param z component
44 * @param q destination quaternion
45 * @param rhs source quaternion
57 * @param q quaternion to multiply
58 * @param s scalar
70 * @param q destination quaternion to add to
71 * @param rsh right hand side quaternion to add
[all …]
Drs_math.rsh63 * @param amount The value to clamp
64 * @param low
65 * @param high
93 * @param viewProj matrix to extract planes from
94 * @param left plane
95 * @param right plane
96 * @param top plane
97 * @param bottom plane
98 * @param near plane
99 * @param far plane
[all …]
Drs_allocation.rsh82 * @param dstAlloc Allocation to copy data into.
83 * @param dstOff The offset of the first element to be copied in
85 * @param dstMip Mip level in the destination allocation.
86 * @param count The number of elements to be copied.
87 * @param srcAlloc The source data allocation.
88 * @param srcOff The offset of the first element in data to be
90 * @param srcMip Mip level in the source allocation.
103 * @param dstAlloc allocation to copy data into.
104 * @param dstXoff X offset of the region to update in the
106 * @param dstYoff Y offset of the region to update in the
[all …]
Drs_element.rsh35 * @param e element to get data from
45 * @param e element to get data from
46 * @param index index of the sub-element to return
56 * @param e element to get data from
57 * @param index index of the sub-element to return
68 * @param e element to get data from
69 * @param index index of the sub-element
70 * @param name array to store the name into
71 * @param nameLength length of the provided name array
83 * @param e element to get data from
[all …]
Drs_program.rsh31 * @param ps program store to query
39 * @param ps program store to query
46 * @param ps program store to query
54 * @param ps program store to query
62 * @param ps program store to query
70 * @param ps program store to query
78 * @param ps program store to query
86 * @param ps program store to query
94 * @param ps program store to query
102 * @param pr program raster to query
[all …]
Drs_mesh.rsh33 * @param m mesh to get data from
44 * @param m mesh to get data from
56 * @param m mesh to get data from
57 * @param index index of the vertex allocation
67 * @param m mesh to get data from
68 * @param index index of the index allocation
78 * @param m mesh to get data from
79 * @param index index of the primitive
/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/wilhelm/src/android/
Dandroid_Effect.cpp49 uint32_t eq_paramSize(int32_t param) { in eq_paramSize() argument
52 switch (param) { in eq_paramSize()
68 SL_LOGE("Trying to use an unknown EQ parameter %d", param); in eq_paramSize()
74 uint32_t eq_valueSize(int32_t param) { in eq_valueSize() argument
77 switch (param) { in eq_valueSize()
99 SL_LOGE("Trying to access an unknown EQ parameter %d", param); in eq_valueSize()
109 uint32_t bb_valueSize(int32_t param) { in bb_valueSize() argument
112 switch (param) { in bb_valueSize()
121 SL_LOGE("Trying to access an unknown BassBoost parameter %d", param); in bb_valueSize()
132 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/libmedia/
DAudioEffect.cpp257 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
263 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
268 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
270 ALOGV("setParameter: param: %d, param2: %d", *(int *)param->data, in setParameter()
271 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
273 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, in setParameter()
274 &param->status); in setParameter()
277 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
283 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
289 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
[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/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/native/opengl/libs/
Ddebug.in72 …Lenum target, GLenum pname, GLint param), (target, pname, param), 3, "GLenum", target, "GLenum", p…
74 TRACE_GL_VOID(glFogf, (GLenum pname, GLfloat param), (pname, param), 2, "GLenum", pname, "GLfloat",…
76 TRACE_GL_VOID(glFogx, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed",…
77 …ACE_GL_VOID(glFogxOES, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed…
133 …GL_VOID(glLightModelf, (GLenum pname, GLfloat param), (pname, param), 2, "GLenum", pname, "GLfloat…
135 …GL_VOID(glLightModelx, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed…
136 …VOID(glLightModelxOES, (GLenum pname, GLfixed param), (pname, param), 2, "GLenum", pname, "GLfixed…
139 …enum light, GLenum pname, GLfloat param), (light, pname, param), 3, "GLenum", light, "GLenum", pna…
141 …enum light, GLenum pname, GLfixed param), (light, pname, param), 3, "GLenum", light, "GLenum", pna…
142 …enum light, GLenum pname, GLfixed param), (light, pname, param), 3, "GLenum", light, "GLenum", pna…
[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/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 …]
/frameworks/av/services/audioflinger/
DAudioPolicyService.cpp999 AudioParameter param = AudioParameter(data->mKeyValuePairs); in insertCommand_l() local
1001 for (size_t j = 0; j < param.size(); j++) { in insertCommand_l()
1004 param.getAt(j, key, value); in insertCommand_l()
1181 size_t AudioPolicyService::growParamSize(char *param, in growParamSize() argument
1193 param = (char *)realloc(param, *totSize); in growParamSize()
1200 char *param, in readParamValue() argument
1205 size_t pos = growParamSize(param, sizeof(short), curSize, totSize); in readParamValue()
1206 *(short *)((char *)param + pos) = (short)atoi(node->value); in readParamValue()
1207 ALOGV("readParamValue() reading short %d", *(short *)((char *)param + pos)); in readParamValue()
1210 size_t pos = growParamSize(param, sizeof(int), curSize, totSize); in readParamValue()
[all …]

1234567