Lines Matching refs:name
119 int ISVProfile::getFilterID(const char * name) in getFilterID() argument
123 if (strcmp(name, "ProcFilterNoiseReduction") == 0) in getFilterID()
125 else if (strcmp(name, "ProcFilterDeinterlacing") == 0) in getFilterID()
127 else if (strcmp(name, "ProcFilterSharpening") == 0) in getFilterID()
129 else if (strcmp(name, "ProcFilterColorBalance") == 0) in getFilterID()
131 else if (strcmp(name, "ProcFilterDeblocking") == 0) in getFilterID()
133 else if (strcmp(name, "ProcFilterFrameRateConversion") == 0) in getFilterID()
135 else if (strcmp(name, "ProcFilterSkinToneEnhancement") == 0) in getFilterID()
137 else if (strcmp(name, "ProcFilterTotalColorCorrection") == 0) in getFilterID()
139 else if (strcmp(name, "ProcFilterNonLinearAnamorphicScaling") == 0) in getFilterID()
141 else if (strcmp(name, "ProcFilterImageStabilization") == 0) in getFilterID()
151 uint32_t ISVProfile::getResolution(const char * name) in getResolution() argument
155 int32_t lenth = strlen(name); in getResolution()
162 strncpy(str, name, lenth); in getResolution()
179 void ISVProfile::getConfigData(const char *name, const char **atts) in getConfigData() argument
183 if (strcmp(name, "VideoPostProcessSettings") == 0) { in getConfigData()
185 } else if (strcmp(name, "Filter") == 0) { in getConfigData()
191 ALOGE("couldn't handle \"%s\" element for Filter\n", name); in getConfigData()
193 } else if (strcmp(name, "enabled") == 0) { in getConfigData()
198 ALOGE("Skip this element(%s) becaue this filter couldn't be supported\n", name); in getConfigData()
200 } else if (strcmp(name, "minResolution") == 0) { in getConfigData()
209 ALOGE("Skip this element(%s) becaue this filter couldn't be supported\n", name); in getConfigData()
211 } else if (strcmp(name, "maxResolution") == 0) { in getConfigData()
220 ALOGE("Skip this element(%s) becaue this filter couldn't be supported\n", name); in getConfigData()
222 } else if (strcmp(name, "FRCRate") == 0) { in getConfigData()
242 } else if (strcmp(name, "parameter") == 0) { in getConfigData()
244 handleFilterParameter(name, atts); in getConfigData()
245 } else if (strcmp(name, "Parameter") == 0) { in getConfigData()
247 handleCommonParameter(name, atts); in getConfigData()
249 ALOGE("Couldn't handle this element %s!\n", name); in getConfigData()
252 void ISVProfile::handleFilterParameter(const char *name, const char **atts) in handleFilterParameter() argument
257 ALOGE("\"%s\" must be in Filter element\n", name); in handleFilterParameter()
262 …ALOGE("\"%s\" or \"%s\" couldn't match the %s format\n", atts[attIndex], atts[attIndex + 2], name); in handleFilterParameter()
268 void ISVProfile::handleCommonParameter(const char *name, const char **atts) in handleCommonParameter() argument
273 …ALOGE("\"%s\" or \"%s\" couldn't match the %s format\n", atts[attIndex], atts[attIndex + 2], name); in handleCommonParameter()
285 void ISVProfile::startElement(void *userData, const char *name, const char **atts) in startElement() argument
289 profile->getConfigData(name, atts); in startElement()
292 void ISVProfile::endElement(void *userData, const char *name) in endElement() argument
296 if (!strcmp(name, "Filter")) in endElement()
447 ALOGE("%s=%f,", mConfigs[i].paraTables[j].name, mConfigs[i].paraTables[j].value); in dumpConfigData()