Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.c | 70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument 74 swab(buffer, buffer, nbytes); in squeeze() 78 nbytes / sizeof(int16_t)); in squeeze() 79 nbytes /= 2; in squeeze() 82 nbytes / sizeof(int32_t)); in squeeze() 83 nbytes = nbytes * 3 / 4; in squeeze() 85 return nbytes; in squeeze() 103 SLuint32 nbytes = count * sfframesize; in callback() local 104 nbytes = squeeze(buffer, nbytes); in callback() 105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback() [all …]
|
D | playbq.cpp | 70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument 74 swab(buffer, buffer, nbytes); in squeeze() 78 nbytes / sizeof(int16_t)); in squeeze() 79 nbytes /= 2; in squeeze() 82 nbytes / sizeof(int32_t)); in squeeze() 83 nbytes = nbytes * 3 / 4; in squeeze() 85 return nbytes; in squeeze() 103 SLuint32 nbytes = count * sfframesize; in callback() local 104 nbytes = squeeze(buffer, nbytes); in callback() 105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 384 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/ |
D | SimplePlayer.cpp | 628 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() local 631 CHECK_EQ(nbytes, (ssize_t)copy); in renderAudio() 635 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio() 643 info->mOffset += nbytes; in renderAudio() 644 info->mSize -= nbytes; in renderAudio()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 125 public void write(byte[] buf, int off, int nbytes) { in write() argument 126 digest.update(buf, off, nbytes); in write()
|