Lines Matching defs:paramIndex
77 int paramIndex = indexOfParam(paramKey);
78 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt32)) {
81 ext->nParam[paramIndex].nInt32 = setInt32;
88 int paramIndex = indexOfParam(paramKey);
89 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt64)) {
92 ext->nParam[paramIndex].nInt64 = setInt64;
99 int paramIndex = indexOfParam(paramKey);
100 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueString)) {
103 strncpy((char *)ext->nParam[paramIndex].cString, setStr, OMX_MAX_STRINGVALUE_SIZE);
110 int paramIndex = indexOfParam(paramKey);
111 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt32)) {
114 if (ext->nParam[paramIndex].bSet == OMX_TRUE) {
115 *readInt32 = ext->nParam[paramIndex].nInt32;
124 int paramIndex = indexOfParam(paramKey);
125 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueInt64)) {
128 if (ext->nParam[paramIndex].bSet == OMX_TRUE) {
129 *readInt64 = ext->nParam[paramIndex].nInt64;
138 int paramIndex = indexOfParam(paramKey);
139 if (!_isParamAccessTypeOK(ext, paramIndex, OMX_AndroidVendorValueString)) {
142 if (ext->nParam[paramIndex].bSet == OMX_TRUE) {
144 (const char *)ext->nParam[paramIndex].cString, OMX_MAX_STRINGVALUE_SIZE);
205 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex,
207 if (paramIndex < 0
208 || paramIndex >= (int)ext->nParamSizeUsed
209 || paramIndex >= (int)paramCount()) {
211 paramIndex, mName.c_str(), paramCount());
214 if (type != mParams[paramIndex].type()) {
216 typeString(type), mName.c_str(), mParams[paramIndex].name(),
217 typeString(mParams[paramIndex].type()));
224 OMX_CONFIG_ANDROID_VENDOR_EXTENSIONTYPE *ext, int paramIndex) const {
225 if (paramIndex < 0
226 || paramIndex >= (int)ext->nParamSizeUsed
227 || paramIndex >= (int)paramCount()) {
229 paramIndex, mName.c_str(), paramCount());
232 if (ext->nParam[paramIndex].eValueType != mParams[paramIndex].type()) {
234 typeString(ext->nParam[paramIndex].eValueType),
235 mName.c_str(), mParams[paramIndex].name(),
236 typeString(mParams[paramIndex].type()));
239 if (strncmp((const char *)ext->nParam[paramIndex].cKey,
240 mParams[paramIndex].name(), OMX_MAX_STRINGNAME_SIZE) != 0) {
242 ext->nParam[paramIndex].cKey,
243 mName.c_str(), mParams[paramIndex].name(),
244 mParams[paramIndex].name());