Lines Matching refs:inFormat
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()
60 if (AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_BITRATE_MODE, &bitRateMode) in VQApply()
87 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_WIDTH, &width); in VQApply()
89 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_HEIGHT, &height); in VQApply()
102 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply()
115 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", qualityTarget); in VQApply()
120 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply()
132 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_BIT_RATE, &bitrateConfiguredTmp); in VQApply()
161 bool qpPresent = hasQpMax(inFormat); in VQApply()
174 AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_VIDEO_QP_MAX, &qpChosen); in VQApply()
178 AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_VIDEO_QP_MAX, &value); in VQApply()
198 AMediaFormat_setInt32(inFormat, AMEDIAFORMAT_VIDEO_QP_MAX, qpChosen); in VQApply()
210 AMediaFormat_setInt32(inFormat, AMEDIAFORMAT_KEY_BIT_RATE, (int32_t)bitrateChosen); in VQApply()