Lines Matching refs:resolution

115             std::string resolution = key.substr(strlen("vq-target-qpmax-"));  in setTuningValue()  local
116 if (qpMaxPoint(resolution, value)) { in setTuningValue()
128 std::string resolution = key.substr(strlen("vq-target-bpp-")); in setTuningValue() local
129 if (bppPoint(resolution, value)) { in setTuningValue()
179 bool CodecProperties::bppPoint(std::string resolution, std::string value) { in bppPoint() argument
186 if (resolution == "1080p") { in bppPoint()
188 } else if (resolution == "720p") { in bppPoint()
190 } else if (resolution == "540p") { in bppPoint()
192 } else if (resolution == "480p") { in bppPoint()
195 size_t sep = resolution.find('x'); in bppPoint()
197 sep = resolution.find('*'); in bppPoint()
200 ALOGW("unable to parse resolution: '%s'", resolution.c_str()); in bppPoint()
203 std::string w = resolution.substr(0, sep); in bppPoint()
204 std::string h = resolution.substr(sep+1); in bppPoint()
218 ALOGW("unparseable: width, height '%s'", resolution.c_str()); in bppPoint()
293 bool CodecProperties::qpMaxPoint(std::string resolution, std::string value) { in qpMaxPoint() argument
300 if (resolution == "1080p") { in qpMaxPoint()
302 } else if (resolution == "720p") { in qpMaxPoint()
304 } else if (resolution == "540p") { in qpMaxPoint()
306 } else if (resolution == "480p") { in qpMaxPoint()
309 size_t sep = resolution.find('x'); in qpMaxPoint()
311 sep = resolution.find('*'); in qpMaxPoint()
314 ALOGW("unable to parse resolution: '%s'", resolution.c_str()); in qpMaxPoint()
317 std::string w = resolution.substr(0, sep); in qpMaxPoint()
318 std::string h = resolution.substr(sep+1); in qpMaxPoint()
332 ALOGW("unparseable: width, height '%s'", resolution.c_str()); in qpMaxPoint()