Home
last modified time | relevance | path

Searched refs:INT32_MAX (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dpreemph.c73 if (L_tmp > INT32_MAX / 2) { in Preemph2()
74 L_tmp = INT32_MAX / 2; in Preemph2()
77 if (L_tmp > INT32_MAX - 0x8000) { in Preemph2()
78 L_tmp = INT32_MAX - 0x8000; in Preemph2()
85 if (L_tmp > INT32_MAX / 2) { in Preemph2()
86 L_tmp = INT32_MAX / 2; in Preemph2()
89 if (L_tmp > INT32_MAX - 0x8000) { in Preemph2()
90 L_tmp = INT32_MAX - 0x8000; in Preemph2()
/frameworks/av/media/libmedia/
DIMediaCodecList.cpp84 if (startIndex > INT32_MAX) { in findCodecByType()
119 if (count > INT32_MAX) { in onTransact()
120 count = INT32_MAX; in onTransact()
167 if (index > INT32_MAX || index < 0) { in onTransact()
184 if (index > INT32_MAX || index < 0) { in onTransact()
DMediaCodecInfo.cpp88 CHECK_LE(mProfileLevels.size(), INT32_MAX); in writeToParcel()
94 CHECK_LE(mColorFormats.size(), INT32_MAX); in writeToParcel()
DIMediaExtractor.cpp157 if (numTracks > INT32_MAX) { in onTransact()
/frameworks/native/include/ui/
DRect.h47 if (w > INT32_MAX) { in Rect()
48 w = INT32_MAX; in Rect()
50 if (h > INT32_MAX) { in Rect()
51 h = INT32_MAX; in Rect()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpv_amr_wb_type_defs.h109 #ifndef INT32_MAX
110 #define INT32_MAX 2147483647 macro
/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp34 if (num16BitChannels == 0 || num16BitChannels > INT32_MAX / 2) { in SkipCutBuffer()
39 if (skip > INT32_MAX / frameSize || cut > INT32_MAX / frameSize in SkipCutBuffer()
40 || cut * frameSize > INT32_MAX - 4096) { in SkipCutBuffer()
DSampleIterator.cpp334 INT32_MAX : uint32_t(-offset))) || in findSampleTimeAndDuration()
342 *time -= (offset == INT32_MIN ? INT32_MAX : (-offset)); in findSampleTimeAndDuration()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVP8Encoder.cpp29 #ifndef INT32_MAX
30 #define INT32_MAX 2147483647 macro
DSoftVPXEncoder.cpp32 #ifndef INT32_MAX
33 #define INT32_MAX 2147483647 macro
298 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
/frameworks/native/libs/binder/
DParcel.cpp53 #ifndef INT32_MAX
54 #define INT32_MAX ((int32_t)(2147483647)) macro
393 if (result > INT32_MAX) { in dataAvail()
411 if (size > INT32_MAX) { in setDataSize()
428 if (pos > INT32_MAX) { in setDataPosition()
440 if (size > INT32_MAX) { in setDataCapacity()
452 if (len > INT32_MAX) { in setData()
481 if (len > INT32_MAX) { in appendFrom()
661 if (len > INT32_MAX) { in finishWrite()
680 if (len > INT32_MAX) { in writeUnpadded()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp38 #ifndef INT32_MAX
39 #define INT32_MAX 2147483647 macro
148 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncParams()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp541 if (mbuf->range_length() < 1 || mbuf->range_length() - 1 > INT32_MAX) { in setWebmBlockCryptoInfo()
1086 && value <= INT32_MAX; in isValidInt32ColourValue()
1293 if (width <= 0 || width > INT32_MAX) { in addTracks()
1297 if (height <= 0 || height > INT32_MAX) { in addTracks()
1308 if (displayWidth > 0 && displayWidth <= INT32_MAX in addTracks()
1309 && displayHeight > 0 && displayHeight <= INT32_MAX) { in addTracks()
1326 if (computedWidth <= INT32_MAX && computedHeight <= INT32_MAX) { in addTracks()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp24 #ifndef INT32_MAX
25 #define INT32_MAX 0x7fffffff macro
329 if (((uint64_t)video->width * video->height) > (uint64_t)INT32_MAX / sizeof(PIXEL)) { in PVAllocVideoData()
348 if (size > INT32_MAX / 3) { in PVAllocVideoData()
378 if (size > INT32_MAX / 3) { in PVAllocVideoData()
445 if (nMBPerRow > INT32_MAX - 1 in PVAllocVideoData()
521 if (nTotalMB > INT32_MAX / 6) { in PVAllocVideoData()
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp87 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1()
88 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp459 int32_t w = INT32_MAX; in getSmallestSurfaceSize()
472 if (w == INT32_MAX) { in getSmallestSurfaceSize()
/frameworks/base/cmds/screencap/
Dscreencap.cpp172 INT32_MIN, INT32_MAX, /* all layers */ in main()
/frameworks/av/include/media/
DLinearMap.h245 if (diff64 > INT32_MAX) { in checkedDiff()
/frameworks/av/media/libmedia/include/media/
DLinearMap.h245 if (diff64 > INT32_MAX) { in checkedDiff()
/frameworks/av/camera/
DVendorTagDescriptor.cpp124 if (tagCount < 0 || tagCount > INT32_MAX) { in readFromParcel()
381 if (vendorCount < 0 || vendorCount > INT32_MAX) { in readFromParcel()
517 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromOps()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp155 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT32_MAX-2)); in SetUp()
158 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT32_MAX-1)); in SetUp()
162 ASSERT_EQ(NO_ERROR, mSyncSurfaceControl->setLayer(INT32_MAX-1)); in SetUp()
/frameworks/base/libs/common_time/
Dclock_recovery.cpp65 while ((N > INT32_MAX) || (D > UINT32_MAX)) { in ClockRecoveryLoop()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp24 #ifndef INT32_MAX
25 #define INT32_MAX 0x7fffffff macro
620 if (((uint64_t)max_width * max_height) > (uint64_t)INT32_MAX in PVInitVideoEncoder()
621 || temp_w > INT32_MAX - 15 || temp_h > INT32_MAX - 15) { in PVInitVideoEncoder()
767 if (((uint64_t)pitch * max_height) > (uint64_t)INT32_MAX) { in PVInitVideoEncoder()
772 if (size > INT32_MAX - (size >> 1) in PVInitVideoEncoder()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp154 maxLayer = INT32_MAX; in nativeScreenshotToBuffer()
188 maxLayer = INT32_MAX; in nativeScreenshotBitmap()
261 maxLayer = INT32_MAX; in nativeScreenshot()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.cpp111 mBufferingSettings.mRebufferingWatermarkHighMs = INT32_MAX; in setBufferingSettings()

12