/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | preemph.c | 73 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/ |
D | IMediaCodecList.cpp | 84 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()
|
D | MediaCodecInfo.cpp | 88 CHECK_LE(mProfileLevels.size(), INT32_MAX); in writeToParcel() 94 CHECK_LE(mColorFormats.size(), INT32_MAX); in writeToParcel()
|
D | IMediaExtractor.cpp | 157 if (numTracks > INT32_MAX) { in onTransact()
|
/frameworks/native/include/ui/ |
D | Rect.h | 47 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/ |
D | pv_amr_wb_type_defs.h | 109 #ifndef INT32_MAX 110 #define INT32_MAX 2147483647 macro
|
/frameworks/av/media/libstagefright/ |
D | SkipCutBuffer.cpp | 34 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()
|
D | SampleIterator.cpp | 334 INT32_MAX : uint32_t(-offset))) || in findSampleTimeAndDuration() 342 *time -= (offset == INT32_MIN ? INT32_MAX : (-offset)); in findSampleTimeAndDuration()
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
D | SoftVP8Encoder.cpp | 29 #ifndef INT32_MAX 30 #define INT32_MAX 2147483647 macro
|
D | SoftVPXEncoder.cpp | 32 #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/ |
D | Parcel.cpp | 53 #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/ |
D | SoftMPEG4Encoder.cpp | 38 #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/ |
D | MatroskaExtractor.cpp | 541 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/ |
D | pvdec_api.cpp | 24 #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/ |
D | OMXUtils.cpp | 87 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1() 88 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 459 int32_t w = INT32_MAX; in getSmallestSurfaceSize() 472 if (w == INT32_MAX) { in getSmallestSurfaceSize()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 172 INT32_MIN, INT32_MAX, /* all layers */ in main()
|
/frameworks/av/include/media/ |
D | LinearMap.h | 245 if (diff64 > INT32_MAX) { in checkedDiff()
|
/frameworks/av/media/libmedia/include/media/ |
D | LinearMap.h | 245 if (diff64 > INT32_MAX) { in checkedDiff()
|
/frameworks/av/camera/ |
D | VendorTagDescriptor.cpp | 124 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/ |
D | Transaction_test.cpp | 155 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/ |
D | clock_recovery.cpp | 65 while ((N > INT32_MAX) || (D > UINT32_MAX)) { in ClockRecoveryLoop()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 24 #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/ |
D | android_view_SurfaceControl.cpp | 154 maxLayer = INT32_MAX; in nativeScreenshotToBuffer() 188 maxLayer = INT32_MAX; in nativeScreenshotBitmap() 261 maxLayer = INT32_MAX; in nativeScreenshot()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | HTTPLiveSource.cpp | 111 mBufferingSettings.mRebufferingWatermarkHighMs = INT32_MAX; in setBufferingSettings()
|