Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript53 int iMin,iMax,chroma;
61 iMax = max (ri, bi);
64 iMax = max (gi, bi);
68 chroma = iMax - iMin;
70 rv = (short)( iMax << ABITS);
76 rs = (short)((k1*chroma)/iMax);
82 if ( ri == iMax ) {
85 } else if (gi == iMax)
87 else // (bi == iMax )
/frameworks/base/core/java/android/view/displayhash/
DDisplayHash.java164 int iMax = byteArray.length - 1; in byteArrayToString() local
165 if (iMax == -1) { in byteArrayToString()
174 if (i == iMax) { in byteArrayToString()
DVerifiedDisplayHash.java64 int iMax = byteArray.length - 1; in byteArrayToString() local
65 if (iMax == -1) { in byteArrayToString()
74 if (i == iMax) { in byteArrayToString()
/frameworks/base/core/java/android/util/
DIntArray.java246 int iMax = mSize - 1; in toString() local
247 if (iMax == -1) { in toString()
254 if (i == iMax) { in toString()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp413 int32_t iMax = DEFAULT_I_QP_MAX, pMax = DEFAULT_P_QP_MAX, bMax = DEFAULT_B_QP_MAX; in PictureQuantizationSetter() local
419 iMax = layer.max; in PictureQuantizationSetter()
421 ALOGV("iMin %d iMax %d", iMin, iMax); in PictureQuantizationSetter()
434 iMin, iMax, pMin, pMax, bMin, bMax); in PictureQuantizationSetter()
438 iMax = std::clamp(iMax, AVC_QP_MIN, AVC_QP_MAX); in PictureQuantizationSetter()
439 iMin = std::clamp(iMin, AVC_QP_MIN, iMax); in PictureQuantizationSetter()
450 me.set().m.values[i].max = iMax; in PictureQuantizationSetter()
464 iMin, iMax, pMin, pMax, bMin, bMax); in PictureQuantizationSetter()
844 int32_t iMax = DEFAULT_I_QP_MAX, pMax = DEFAULT_P_QP_MAX, bMax = DEFAULT_B_QP_MAX; in setQp() local
854 iMax = layer.max; in setQp()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp361 int32_t iMax = VPX_QP_DEFAULT_MAX, pMax = VPX_QP_DEFAULT_MAX; in PictureQuantizationSetter() local
369 iMax = layerMax; in PictureQuantizationSetter()
371 ALOGV("iMin %d iMax %d", iMin, iMax); in PictureQuantizationSetter()
379 iMin, iMax, pMin, pMax); in PictureQuantizationSetter()
382 int32_t maxFrameQP = std::min(iMax, pMax); in PictureQuantizationSetter()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp333 int32_t iMax = AOM_QP_DEFAULT_MAX, pMax = AOM_QP_DEFAULT_MAX; in PictureQuantizationSetter() local
341 iMax = layerMax; in PictureQuantizationSetter()
343 ALOGV("iMin %d iMax %d", iMin, iMax); in PictureQuantizationSetter()
351 iMin, iMax, pMin, pMax); in PictureQuantizationSetter()
354 int32_t maxFrameQP = std::min(iMax, pMax); in PictureQuantizationSetter()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp490 int32_t iMax = HEVC_QP_MAX, pMax = HEVC_QP_MAX, bMax = HEVC_QP_MAX; in PictureQuantizationSetter() local
500 iMax = layerMax; in PictureQuantizationSetter()
502 ALOGV("iMin %d iMax %d", iMin, iMax); in PictureQuantizationSetter()
515 iMin, iMax, pMin, pMax, bMin, bMax); in PictureQuantizationSetter()
517 int32_t maxFrameQP = std::min(std::min(iMax, pMax), bMax); in PictureQuantizationSetter()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp1480 int32_t iMax = INT32_MAX; in configure() local
1482 (void) sdkParams->findInt32(KEY_VIDEO_QP_I_MAX, &iMax); in configure()
1484 if (iMax != INT32_MAX || iMin != INT32_MIN) { in configure()
1485 qp->m.values[ix++] = {I_FRAME, iMin, iMax}; in configure()
/frameworks/base/core/java/android/widget/
DEditor.java5125 final int iMax = Math.min(mNumberPreviousOffsets, HISTORY_SIZE); in filterOnTouchUp() local
5126 while (i < iMax && (now - mPreviousOffsetsTimes[index]) < TOUCH_UP_FILTER_DELAY_AFTER) { in filterOnTouchUp()
5131 if (i > 0 && i < iMax in filterOnTouchUp()