Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp72 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument
76 swab(buffer, buffer, nbytes); in squeeze()
80 nbytes / sizeof(int16_t)); in squeeze()
81 nbytes /= 2; in squeeze()
84 nbytes / sizeof(int32_t)); in squeeze()
85 nbytes = nbytes * 3 / 4; in squeeze()
87 return nbytes; in squeeze()
105 SLuint32 nbytes = count * sfframesize; in callback() local
106 nbytes = squeeze(buffer, nbytes); in callback()
107 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp384 ssize_t nbytes; in receive() local
386 nbytes = recvfrom( in receive()
393 } while (nbytes < 0 && errno == EINTR); in receive()
395 if (nbytes <= 0) { in receive()
399 buffer->setRange(0, nbytes); in receive()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp631 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() local
634 CHECK_EQ(nbytes, (ssize_t)copy); in renderAudio()
638 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio()
646 info->mOffset += nbytes; in renderAudio()
647 info->mSize -= nbytes; in renderAudio()
/frameworks/native/libs/ui/include/ui/
DFenceTime.h118 static void* operator new(size_t nbytes) noexcept;
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java121 public void write(byte[] buf, int off, int nbytes) { in write() argument
122 digest.update(buf, off, nbytes); in write()
/frameworks/av/media/mtp/
DMtpFfsHandle.cpp410 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event, in handleEvent() local
412 if (nbytes == -1) { in handleEvent()
416 for (size_t n = nbytes / sizeof *event; n; --n, ++event) { in handleEvent()