Searched refs:numBytes (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_main_data_size.cpp121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, local
125 numBytes >>= (20 - info->version_x);
132 pVars->predicted_frame_size = numBytes;
135 numBytes -= 17;
139 numBytes -= 32;
144 numBytes >>= 1;
145 pVars->predicted_frame_size = numBytes;
149 numBytes -= 9;
153 numBytes -= 17;
159 numBytes
[all...]
H A Dpvmp3_seek_synch.cpp179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, local
182 numBytes >>= (20 - version);
186 numBytes >>= 1;
190 numBytes++;
193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength)
196 pExt->CurrentFrameLength = numBytes + 3;
199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength)
208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3);
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java31 * <li> numBytes - size of audio data after this header, in bytes.
71 * @param numBytes size of audio data after this header, in bytes.
73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { argument
78 mNumBytes = numBytes;
167 * @param numBytes size of audio data after this header, in bytes.
170 public WaveHeader setNumBytes(int numBytes) { argument
171 mNumBytes = numBytes;
184 int numBytes = readInt(in) - 36;
272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp53 int numBytes = numChars * sizeof(char); local
54 size -= numBytes;
55 data += numBytes;
74 int numBytes = numChars * sizeof(char); local
75 size -= numBytes;
76 data += numBytes;
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java133 int numBytes = Math.min(encodedBytes.remaining(), end - start);
134 encodedBytes.put(bytes, start, numBytes);
135 start += numBytes;
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java968 * @param numBytes the maximum database size, in bytes
971 public long setMaximumSize(long numBytes) { argument
979 long numPages = numBytes / pageSize;
980 // If numBytes isn't a multiple of pageSize, bump up a page
981 if ((numBytes % pageSize) != 0) {
1021 * @param numBytes the database page size, in bytes
1023 public void setPageSize(long numBytes) { argument
1024 execSQL("PRAGMA page_size = " + numBytes);

Completed in 124 milliseconds