Home
last modified time | relevance | path

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

123

/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.cpp90 CHECK_LE(mProfileLevels.size(), static_cast<size_t>(INT32_MAX)); in writeToParcel()
96 CHECK_LE(mColorFormats.size(), static_cast<size_t>(INT32_MAX)); in writeToParcel()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpv_amr_wb_type_defs.h109 #ifndef INT32_MAX
110 #define INT32_MAX 2147483647 macro
/frameworks/native/libs/ui/include/ui/
DRect.h48 if (w > INT32_MAX) { in Rect()
49 w = INT32_MAX; in Rect()
51 if (h > INT32_MAX) { in Rect()
52 h = INT32_MAX; in Rect()
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h48 if (w > INT32_MAX) { in Rect()
49 w = INT32_MAX; in Rect()
51 if (h > INT32_MAX) { in Rect()
52 h = INT32_MAX; in Rect()
/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()
/frameworks/av/media/codec2/sfplugin/
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()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVP8Encoder.cpp29 #ifndef INT32_MAX
30 #define INT32_MAX 2147483647 macro
DSoftVPXEncoder.cpp33 #ifndef INT32_MAX
34 #define INT32_MAX 2147483647 macro
299 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
/frameworks/native/libs/binder/
DParcel.cpp305 if (result > INT32_MAX) { in dataAvail()
323 if (size > INT32_MAX) { in setDataSize()
340 if (pos > INT32_MAX) { in setDataPosition()
353 if (size > INT32_MAX) { in setDataCapacity()
365 if (len > INT32_MAX) { in setData()
393 if (len > INT32_MAX) { in appendFrom()
638 if (len > INT32_MAX) { in finishWrite()
657 if (len > INT32_MAX) { in writeUnpadded()
682 if (len > INT32_MAX) { in write()
698 if (len > INT32_MAX) { in writeInplace()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp39 mMaxSizeHeic(INT32_MAX, INT32_MAX), in HeicEncoderInfoManager()
227 int32_t minDiff = INT32_MAX; in findClosestSize()
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Process.cpp28 if (result >= INT32_MAX) { in mult32x32in32_shiftr()
29 return INT32_MAX; in mult32x32in32_shiftr()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp46 if (mLayer->setLayer(INT32_MAX - 2) && idx >= 0) { in createLayer()
/frameworks/av/media/libaaudio/tests/
Dtest_return_stop.cpp248 engine.stopAtFrame = INT32_MAX; in main()
273 if (engine.stopAtFrame != INT32_MAX) { in main()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp37 #ifndef INT32_MAX
38 #define INT32_MAX 2147483647 macro
147 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncParams()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp28 #ifndef INT32_MAX
29 #define INT32_MAX 2147483647 macro
317 ((uint64_t)INT32_MAX / 3)) { in initEncoder()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp647 if (mbuf->range_length() < 1 || mbuf->range_length() - 1 > INT32_MAX) { in setWebmBlockCryptoInfo()
1634 INT32_MAX / streamInfo.max_blocksize / streamInfo.channels) { in addFlacMetadata()
1761 && value <= INT32_MAX; in isValidInt32ColourValue()
2051 if (width <= 0 || width > INT32_MAX) { in addTracks()
2055 if (height <= 0 || height > INT32_MAX) { in addTracks()
2066 if (displayWidth > 0 && displayWidth <= INT32_MAX in addTracks()
2067 && displayHeight > 0 && displayHeight <= INT32_MAX) { in addTracks()
2086 if (computedWidth <= INT32_MAX && computedHeight <= INT32_MAX) { in addTracks()
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp89 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1()
90 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp24 #ifndef INT32_MAX
25 #define INT32_MAX 0x7fffffff macro
332 if (((uint64_t)video->width * video->height) > (uint64_t)INT32_MAX / sizeof(PIXEL)) { in PVAllocVideoData()
355 if (size > INT32_MAX / 3) { in PVAllocVideoData()
387 if (size > INT32_MAX / 3) { in PVAllocVideoData()
459 if (nMBPerRow > INT32_MAX - 1 in PVAllocVideoData()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp457 int32_t w = INT32_MAX; in getSmallestSurfaceSize()
470 if (w == INT32_MAX) { in getSmallestSurfaceSize()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
DAmrnbDecoderTest.cpp56 int32_t DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, int32_t frameCount = INT32_MAX);
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp64 static const int LAYER_BASE = INT32_MAX - 10;
386 fgSurface->mInputInfo.surfaceInset = INT32_MAX; in TEST_F()
/frameworks/av/camera/
DVendorTagDescriptor.cpp124 if (tagCount < 0 || tagCount > INT32_MAX) { in readFromParcel()
385 if (vendorCount < 0 || vendorCount > INT32_MAX) { in readFromParcel()
526 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromOps()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp321 ts.setLayer(surfaceControl, INT32_MAX - 2) in TEST_F()
357 ts.setLayer(surfaceControl, INT32_MAX - 2) in TEST_F()
509 t.setLayer(mBGSurfaceControl, INT32_MAX - 2); in SetUp()
512 t.setLayer(mFGSurfaceControl, INT32_MAX - 1); in SetUp()
807 ts.setLayer(syncSurfaceControl, INT32_MAX - 1); in TEST_F()

123