Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 167) 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
31 param RsElement e
32 param uint32_t dimX
33 param uint32_t dimY
34 param uint32_t dimZ
35 param bool mips
[all …]
/frameworks/support/renderscript/v8/rs_support/
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
31 param RsElement e
32 param uint32_t dimX
33 param uint32_t dimY
34 param uint32_t dimZ
35 param bool mips
[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.java509 public int setParameter(byte[] param, byte[] value) in setParameter() argument
512 return native_setParameter(param.length, param, value.length, value); in setParameter()
521 public int setParameter(int param, int value) throws IllegalStateException { in setParameter() argument
522 byte[] p = intToByteArray(param); in setParameter()
534 public int setParameter(int param, short value) in setParameter() argument
536 byte[] p = intToByteArray(param); in setParameter()
548 public int setParameter(int param, byte[] value) in setParameter() argument
550 byte[] p = intToByteArray(param); in setParameter()
561 public int setParameter(int[] param, int[] value) in setParameter() argument
563 if (param.length > 2 || value.length > 2) { in setParameter()
[all …]
/frameworks/support/renderscript/v8/rs_support/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_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_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_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 …]
/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_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_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_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 …]
/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.cpp256 status_t AudioEffect::setParameter(effect_param_t *param) in setParameter() argument
262 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameter()
267 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter()
269 …LOGV("setParameter: param: %d, param2: %d", *(int *)param->data, (param->psize == 8) ? *((int *)pa… in setParameter()
271 …fect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, &param->status); in setParameter()
274 status_t AudioEffect::setParameterDeferred(effect_param_t *param) in setParameterDeferred() argument
280 if (param == NULL || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
286 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred()
294 memcpy(p, param, sizeof(effect_param_t) + psize); in setParameterDeferred()
314 status_t AudioEffect::getParameter(effect_param_t *param) in getParameter() argument
[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.java97 for (String param : spec.split(" +")) { in parseOptions()
98 if (param.length() == 0) continue; in parseOptions()
99 if (param.startsWith("backoff=")) { in parseOptions()
100 int plus = param.indexOf('+', 8); in parseOptions()
102 options.backoffFixedMillis = parseSeconds(param.substring(8)); in parseOptions()
105 options.backoffFixedMillis = parseSeconds(param.substring(8, plus)); in parseOptions()
107 options.backoffIncrementalMillis = parseSeconds(param.substring(plus + 1)); in parseOptions()
109 } else if (param.startsWith("max=")) { in parseOptions()
110 options.maxMoratoriumMillis = parseSeconds(param.substring(4)); in parseOptions()
111 } else if (param.startsWith("min=")) { in parseOptions()
[all …]

1234567