HomeSort by relevance Sort by last modified time
    Searched defs:numBytes (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_get_main_data_size.cpp 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20,
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...]
pvmp3_seek_synch.cpp 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20,
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);
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextCodecUTF16.cpp 85 size_t numBytes = length + m_haveBufferedByte;
86 size_t numCharsIn = numBytes / 2;
87 size_t numCharsOut = ((numBytes & 1) && reallyFlush) ? numCharsIn + 1 : numCharsIn;
118 if (numBytes & 1) {
  /external/deqp/framework/delibs/decpp/
deRingBuffer.cpp 63 int numBytes = rnd.getInt(1, buffer.getNumElements());
64 vector<int> tmp (numBytes);
66 buffer.popBack(&tmp[0], numBytes);
68 for (int i = 0; i < numBytes; i++)
71 readPos += numBytes;
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree()));
78 buffer.pushFront(&data[writePos], numBytes);
79 writePos += numBytes;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccServiceTable.java 57 int numBytes = mServiceTable.length;
59 .append(numBytes * 8).append("]={ ");
62 for (int i = 0; i < numBytes; i++) {
  /frameworks/av/media/libstagefright/
VBRISeeker.cpp 109 uint32_t numBytes;
111 case 1: numBytes = buffer[i]; break;
112 case 2: numBytes = U16_AT(buffer + 2 * i); break;
113 case 3: numBytes = U24_AT(buffer + 3 * i); break;
117 numBytes = U32_AT(buffer + 4 * i); break;
121 numBytes *= scale;
123 seeker->mSegments.push(numBytes);
125 ALOGV("entry #%zu: %u offset 0x%016llx", i, numBytes, offset);
126 offset += numBytes;
  /hardware/intel/common/wrs_omxil_core/core/src/
intel_m4v_config_parser.h 53 uint32 numBytes;
  /packages/apps/Exchange/src/com/android/exchange/utility/
SimpleIcsWriter.java 40 int numBytes = 0;
46 if (numBytes > (MAX_LINE_LENGTH - CHAR_MAX_BYTES_IN_UTF8)
51 numBytes = 1; // for TAB
54 numBytes++;
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
SimpleIcsWriterTests.java 86 int numBytes = 0;
92 assertTrue("input=" + input, numBytes <= 75);
93 numBytes = 0;
96 numBytes++;
98 assertTrue("input=" + input, numBytes <= 75);
  /cts/tests/tests/security/src/android/security/cts/
PackageSignatureTest.java 124 int numBytes = 0;
125 while ((numBytes = input.read(buffer)) != -1) {
126 output.write(buffer, 0, numBytes);
  /external/chromium_org/third_party/tlslite/tlslite/utils/
cryptomath.py 109 howManyBytes = numBytes(n)
129 length = numBytes(n) + ext
154 def numBytes(n):
168 howManyBytes = numBytes(high)
  /external/lzma/Java/SevenZip/Compression/LZ/
InWindow.java 31 int numBytes = _bufferOffset + _streamPos - offset;
34 for (int i = 0; i < numBytes; i++)
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.h 40 size_t numBytes;
73 * @param[in] numBytes The number of bytes to read.
78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes);
85 * @param[in] numBytes The number of bytes to write.
90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes);
178 * @param[in] numBytes The number of bytes to convert.
194 size_t numBytes,
  /frameworks/base/core/java/android/speech/srec/
WaveHeader.java 31 * <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) {
78 mNumBytes = numBytes;
167 * @param numBytes size of audio data after this header, in bytes.
170 public WaveHeader setNumBytes(int numBytes) {
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/
omx_jpeg_decoder.cpp 53 int numBytes = numChars * sizeof(char);
54 size -= numBytes;
55 data += numBytes;
74 int numBytes = numChars * sizeof(char);
75 size -= numBytes;
76 data += numBytes;
  /hardware/ti/omap3/omx/ti_omx_config_parser/inc/
ti_m4v_config_parser.h 64 uint32 numBytes;
  /cts/tests/tests/media/src/android/media/cts/
NonBlockingAudioTrack.java 145 int numBytes = elem.size;
146 if (numBytes > numBytesAvailableToWrite) {
147 numBytes = numBytesAvailableToWrite;
150 int written = mAudioTrack.write(elem.data, elem.offset, numBytes);
151 assert(written == numBytes);
155 elem.size -= numBytes;
156 numBytesAvailableToWrite -= numBytes;
157 mNumBytesQueued -= numBytes;
166 elem.offset += numBytes;
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 128 int numBytes = 0;
134 numBytes += bytesRead;
137 assertEquals(message, SMALL_DOWNLOAD_SIZE, numBytes);
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Video_MediaTest.java 77 int numBytes = 1337;
79 FileUtils.createFile(videoFile, numBytes);
99 values.put(Media.SIZE, numBytes);
135 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE)));
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
VoicemailProviderHelpers.java 324 int numBytes;
325 while ((numBytes = in.read(data)) > 0) {
326 out.write(data, 0, numBytes);
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
eval.c 556 GLsizei numBytes;
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes = 4 * sizeof *v
    [all...]
  /external/deqp/executor/
xeBatchExecutor.cpp 281 void BatchExecutor::onTestLogData (const deUint8* bytes, int numBytes)
285 m_testLogParser.parse(bytes, numBytes);
294 void BatchExecutor::onInfoLogData (const deUint8* bytes, int numBytes)
296 if (numBytes > 0 && m_infoLog)
297 m_infoLog->append(bytes, numBytes);
356 void BatchExecutor::enqueueTestLogData (void* userPtr, const deUint8* bytes, int numBytes)
362 << numBytes;
364 writer.write(bytes, numBytes);
368 void BatchExecutor::enqueueInfoLogData (void* userPtr, const deUint8* bytes, int numBytes)
374 << numBytes;
    [all...]
xeTestLogWriter.cpp 181 int numBytes;
183 Base64Formatter (const deUint8* data_, int numBytes_) : data(data_), numBytes(numBytes_) {}
198 int numBytes = fmt.numBytes;
201 DE_ASSERT(data && (numBytes > 0));
204 while (srcNdx < numBytes)
206 int numRead = de::min(3, numBytes - srcNdx);
229 inline Base64Formatter toBase64 (const deUint8* bytes, int numBytes) { return Base64Formatter(bytes, numBytes); }
  /external/mesa3d/src/mesa/main/
eval.c 556 GLsizei numBytes;
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes = 4 * sizeof *v
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DecTestBench.c 709 static u32 numBytes = 0;
710 numBytes += size;
711 DEBUG(("Allocated %d bytes, total %d\n", size, numBytes));

Completed in 647 milliseconds

1 2 3 4 5