Searched refs:byteCount (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_byte_stream.c87 u32 byteCount,initByteCount; local
107 zeroCount = byteCount = 2;
113 byteCount++;
115 if (byteCount == len)
130 initByteCount = byteCount;
139 byteCount++;
151 byteCount - initByteCount - zeroCount - 1;
162 if (byteCount == len)
164 pStrmData->strmBuffSize = byteCount - initByteCount - zeroCount;
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp22 /* Note byteCount doesn't have to be multiple of 2 or 4 */
75 stream->byteCount = 0;
213 if (stream->byteCount + WORD_SIZE > stream->bufferSize)
217 stream->byteCount += WORD_SIZE;
222 ptr = stream->bitstreamBuffer + stream->byteCount;
226 /* NOTE: byteCount does not have to be multiple of 2 or 4 */
236 stream->byteCount += 4;
239 stream->byteCount += 2;
267 if (stream->byteCount + numbyte > stream->bufferSize)
271 stream->byteCount
581 BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount) argument
[all...]
H A Dcombined_encode.cpp285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; local
368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */
438 byteCount = bitCount >> 3; /* save the state before encoding */
469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */
506 if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bufferSize)
509 byteCount = currVol->stream->bufferSize - currVol->stream->byteCount - 1;
511 num_bits = BitstreamGetPos(bs1) - (byteCount << 3);
512 BitstreamRepos(bs1, byteCount,
[all...]
H A Dbitstream_io.h44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
H A Dmp4lib_int.h32 Int byteCount; /*how many bytes already encoded*/ member in struct:tagBitstream
H A Dmp4enc_api.cpp1303 if (*size > encData->bitstream1->byteCount)
1305 *size = encData->bitstream1->byteCount;
1416 *size = video->vol[0]->stream->byteCount;
1605 *size = currVol->stream->byteCount;
1857 pre_size = currVol->stream->byteCount;
1952 *size = currVol->stream->byteCount - pre_size;
H A Drate_control.cpp309 pMP->actual_bits = currVol->stream->byteCount << 3;
334 rc->Rc = currVol->stream->byteCount << 3; /* Total Bits for current frame */
/frameworks/base/core/jni/
H A Dandroid_net_wifi_Wifi.cpp59 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); local
61 if (byteCount < 0 || byteCount >= BUF_SIZE) {
76 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); local
78 if (byteCount < 0 || byteCount >= BUF_SIZE) {
93 int byteCount = vsnprintf(buf, sizeof(buf), fmt, args); local
95 if (byteCount < 0 || byteCount >= BUF_SIZE) {
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java436 int byteCount = length * 2;
437 if (byteCount > MAX_USER_DATA_BYTES) {
438 values[0] = (byteCount + MAX_USER_DATA_BYTES_WITH_HEADER - 1) /
440 values[2] = ((values[0] * MAX_USER_DATA_BYTES_WITH_HEADER) - byteCount) / 2;
443 values[2] = (MAX_USER_DATA_BYTES - byteCount) / 2;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java722 * @param byteCount the number of bytes in the user data payload
725 String getUserDataUCS2(int byteCount) { argument
729 ret = new String(pdu, cur, byteCount, "utf-16");
735 cur += byteCount;
743 * @param byteCount the number of bytes in the user data payload
746 String getUserDataKSC5601(int byteCount) { argument
750 ret = new String(pdu, cur, byteCount, "KSC5601");
756 cur += byteCount;
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java930 private ByteBuffer toByteBuffer(int byteCount, Buffer input) { argument
932 boolean convertWholeBuffer = (byteCount < 0);
937 byteCount = input2.limit() - position;
939 result = ByteBuffer.allocate(byteCount).order(input2.order());
940 for (int i = 0; i < byteCount; i++) {
948 byteCount = (input2.limit() - position) * 2;
950 result = ByteBuffer.allocate(byteCount).order(input2.order());
952 for (int i = 0; i < byteCount / 2; i++) {
960 byteCount = (input2.limit() - position)* 2;
962 result = ByteBuffer.allocate(byteCount)
[all...]
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java540 private static String readAsciiString(ByteBuffer buf, int byteCount) { argument
541 byte[] bytes = new byte[byteCount];
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java344 int byteCount = ((septetCount * 7) + 7) / 8;
345 byte[] ret = new byte[byteCount + 1]; // Include space for one byte length prefix.
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java823 int byteCount = 0;
837 byteCount += cookie.domain.length()
855 Log.v(LOGTAG, count + " cookies used " + byteCount

Completed in 1428 milliseconds