Home
last modified time | relevance | path

Searched refs:INT32_MAX (Results 1 – 25 of 33) 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.cpp138 if (numTracks > INT32_MAX) { in onTransact()
/frameworks/native/include/ui/
DRect.h44 if (w > INT32_MAX) { in Rect()
47 w = INT32_MAX; in Rect()
49 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()
DSampleIterator.cpp325 INT32_MAX : uint32_t(-offset))) || in findSampleTimeAndDuration()
333 *time -= (offset == INT32_MIN ? INT32_MAX : (-offset)); in findSampleTimeAndDuration()
DUtils.cpp962 && avgBitrate > 0 && avgBitrate <= INT32_MAX) { in convertMetaDataToMessage()
968 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) { in convertMetaDataToMessage()
1372 && fpsFloat >= 1 && fpsFloat <= INT32_MAX) { in convertMessageToMetaData()
DSampleTable.cpp572 INT32_MAX : uint32_t(-compTimeDelta))) in buildSampleEntriesTable()
/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/binder/
DParcel.cpp52 #ifndef INT32_MAX
53 #define INT32_MAX ((int32_t)(2147483647)) macro
419 if (result > INT32_MAX) { in dataAvail()
437 if (size > INT32_MAX) { in setDataSize()
454 if (pos > INT32_MAX) { in setDataPosition()
466 if (size > INT32_MAX) { in setDataCapacity()
478 if (len > INT32_MAX) { in setData()
507 if (len > INT32_MAX) { in appendFrom()
679 if (len > INT32_MAX) { in finishWrite()
698 if (len > INT32_MAX) { in writeUnpadded()
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp80 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1()
81 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp40 #ifndef INT32_MAX
41 #define INT32_MAX 2147483647 macro
145 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncParams()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp425 int32_t w = INT32_MAX; in getSmallestSurfaceSize()
459 if (w == INT32_MAX) { in getSmallestSurfaceSize()
791 int32_t w = INT32_MAX; in getSmallestSurfaceSize()
804 if (w == INT32_MAX) { in getSmallestSurfaceSize()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp22 #ifndef INT32_MAX
23 #define INT32_MAX 0x7fffffff macro
327 if (((uint64_t)video->width * video->height) > (uint64_t)INT32_MAX / sizeof(PIXEL)) { in PVAllocVideoData()
346 if (size > INT32_MAX / 3) { in PVAllocVideoData()
376 if (size > INT32_MAX / 3) { in PVAllocVideoData()
443 if (nMBPerRow > INT32_MAX - 1 in PVAllocVideoData()
519 if (nTotalMB > INT32_MAX / 6) { in PVAllocVideoData()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp29 #ifndef INT32_MAX
30 #define INT32_MAX 2147483647 macro
324 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncoder()
/frameworks/av/services/audioflinger/
DLinearMap.h245 if (diff64 > INT32_MAX) { in checkedDiff()
/frameworks/av/camera/
DVendorTagDescriptor.cpp112 if (tagCount < 0 || tagCount > INT32_MAX) { in readFromParcel()
350 if (tagCount < 0 || tagCount > INT32_MAX) { in createDescriptorFromOps()
/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/av/media/libstagefright/foundation/
DAString.cpp361 CHECK_LE(mSize, static_cast<size_t>(INT32_MAX)); in writeToParcel()
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp382 ALOGE_IF(mWakeCount < 0 || mWakeCount == INT32_MAX, in incWakeCount()
/frameworks/av/media/mtp/
DMtpProperty.cpp546 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) { in readArrayValues()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp531 if (mbuf->range_length() < 1 || mbuf->range_length() - 1 > INT32_MAX) { in setWebmBlockCryptoInfo()
1065 && value <= INT32_MAX; in isValidInt32ColourValue()
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp247 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { in initEncParams()

12