Home
last modified time | relevance | path

Searched refs:qpOffered (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/module/libmediaformatshaper/
DVQApply.cpp263 int32_t qpOffered = 0; in qpSpreadMaxPerFrameType() local
264 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_MAX, &qpOffered)) { in qpSpreadMaxPerFrameType()
270 int32_t value = std::min({qpOffered, qphigh, maxI}); in qpSpreadMaxPerFrameType()
276 int32_t value = std::min({(std::min(qpOffered, INT32_MAX-1*delta) + 1*delta), in qpSpreadMaxPerFrameType()
283 int32_t value = std::min({(std::min(qpOffered, INT32_MAX-2*delta) + 2*delta), in qpSpreadMaxPerFrameType()
293 int32_t qpOffered = 0; in qpSpreadMinPerFrameType() local
294 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_MIN, &qpOffered)) { in qpSpreadMinPerFrameType()
295 int value = std::max(qplow, qpOffered); in qpSpreadMinPerFrameType()