Lines Matching refs:codec
55 int VQApply(CodecProperties *codec, vqOps_t *info, AMediaFormat* inFormat, int flags) { in VQApply() argument
56 ALOGV("codecName %s inFormat %p flags x%x", codec->getName().c_str(), inFormat, flags); in VQApply()
73 (void) codec->getFeatureValue("_vq_eligible.device", &isVQEligible); in VQApply()
106 if (codec->supportedMinimumQuality() > 0) { in VQApply()
109 codec->supportedMinimumQuality()); in VQApply()
114 (void) codec->getFeatureValue("_quality.target", &qualityTarget); in VQApply()
138 double minimumBpp = codec->getBpp(width, height); in VQApply()
141 int64_t bitrateCeiling = bitrateFloor * codec->getPhaseOut(); in VQApply()
164 int32_t qpmax = codec->targetQpMax(width, height); in VQApply()
183 if (!codec->supportsQp()) { in VQApply()
185 int64_t boost = bitrateChosen * codec->getMissingQpBoost(); in VQApply()