Searched refs:INT32_MAX (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpreemph.c73 if (L_tmp > INT32_MAX / 2) {
74 L_tmp = INT32_MAX / 2;
77 if (L_tmp > INT32_MAX - 0x8000) {
78 L_tmp = INT32_MAX - 0x8000;
85 if (L_tmp > INT32_MAX / 2) {
86 L_tmp = INT32_MAX / 2;
89 if (L_tmp > INT32_MAX - 0x8000) {
90 L_tmp = INT32_MAX - 0x8000;
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpv_amr_wb_type_defs.h109 #ifndef INT32_MAX
110 #define INT32_MAX 2147483647 macro
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp84 if (startIndex > INT32_MAX) {
119 if (count > INT32_MAX) {
120 count = INT32_MAX;
167 if (index > INT32_MAX || index < 0) {
184 if (index > INT32_MAX || index < 0) {
H A DMediaCodecInfo.cpp88 CHECK_LE(mProfileLevels.size(), INT32_MAX);
94 CHECK_LE(mColorFormats.size(), INT32_MAX);
H A DIMediaExtractor.cpp138 if (numTracks > INT32_MAX) {
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp34 if (num16BitChannels == 0 || num16BitChannels > INT32_MAX / 2) {
39 if (skip > INT32_MAX / frameSize || cut > INT32_MAX / frameSize
40 || cut * frameSize > INT32_MAX - 4096) {
H A DSampleIterator.cpp325 INT32_MAX : uint32_t(-offset))) ||
333 *time -= (offset == INT32_MIN ? INT32_MAX : (-offset));
H A DUtils.cpp962 && avgBitrate > 0 && avgBitrate <= INT32_MAX) {
968 && maxBitrate > 0 && maxBitrate <= INT32_MAX && maxBitrate >= avgBitrate) {
1372 && fpsFloat >= 1 && fpsFloat <= INT32_MAX) {
H A DSampleTable.cpp572 INT32_MAX : uint32_t(-compTimeDelta)))
/frameworks/native/include/ui/
H A DRect.h44 if (w > INT32_MAX) {
47 w = INT32_MAX;
49 if (h > INT32_MAX) {
52 h = INT32_MAX;
/frameworks/av/media/libstagefright/omx/
H A DOMXUtils.cpp80 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX
81 || image.mPlane[ix].mVertSubsampling > INT32_MAX) {
/frameworks/native/libs/binder/
H A DParcel.cpp52 #ifndef INT32_MAX
53 #define INT32_MAX ((int32_t)(2147483647)) macro
419 if (result > INT32_MAX) {
437 if (size > INT32_MAX) {
454 if (pos > INT32_MAX) {
466 if (size > INT32_MAX) {
478 if (len > INT32_MAX) {
507 if (len > INT32_MAX) {
679 if (len > INT32_MAX) {
698 if (len > INT32_MAX) {
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp40 #ifndef INT32_MAX
41 #define INT32_MAX 2147483647 macro
145 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) {
/frameworks/av/services/audioflinger/
H A DLinearMap.h154 // in the x or y coordinate must be less than INT32_MAX for purposes
183 // less than INT32_MAX for precision greater than 4 bytes)
245 if (diff64 > INT32_MAX) {
246 ALOGW("LinearMap: %s overflow diff(%lld) from %llu - %llu exceeds INT32_MAX",
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.cpp425 int32_t w = INT32_MAX;
459 if (w == INT32_MAX) {
791 int32_t w = INT32_MAX;
804 if (w == INT32_MAX) {
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.cpp29 #ifndef INT32_MAX
30 #define INT32_MAX 2147483647 macro
324 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) {
/frameworks/base/libs/common_time/
H A Dclock_recovery.cpp65 while ((N > INT32_MAX) || (D > UINT32_MAX)) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A 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)) {
346 if (size > INT32_MAX / 3) {
376 if (size > INT32_MAX / 3) {
443 if (nMBPerRow > INT32_MAX - 1
519 if (nTotalMB > INT32_MAX / 6) {
/frameworks/av/camera/
H A DVendorTagDescriptor.cpp112 if (tagCount < 0 || tagCount > INT32_MAX) {
350 if (tagCount < 0 || tagCount > INT32_MAX) {
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp361 CHECK_LE(mSize, static_cast<size_t>(INT32_MAX));
/frameworks/native/opengl/libs/EGL/
H A Degl_display.cpp382 ALOGE_IF(mWakeCount < 0 || mWakeCount == INT32_MAX,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp24 #ifndef INT32_MAX
25 #define INT32_MAX 0x7fffffff macro
620 if (((uint64_t)max_width * max_height) > (uint64_t)INT32_MAX
621 || temp_w > INT32_MAX - 15 || temp_h > INT32_MAX - 15) {
767 if (((uint64_t)pitch * max_height) > (uint64_t)INT32_MAX) {
772 if (size > INT32_MAX - (size >> 1)
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp247 if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) {
/frameworks/av/media/mtp/
H A DMtpProperty.cpp546 length >= INT32_MAX / sizeof(MtpPropertyValue)) ) {
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp531 if (mbuf->range_length() < 1 || mbuf->range_length() - 1 > INT32_MAX) {
1065 && value <= INT32_MAX;

Completed in 920 milliseconds

12