Home
last modified time | relevance | path

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

/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVCodecEncoder.cpp549 size_t frameBytes = fCodecContext->frame_size * inputFrameSize; local
550 uint8* tempBuffer = new(std::nothrow) uint8[frameBytes];
556 while (av_fifo_can_read(fAudioFifo) >= frameBytes) {
557 av_fifo_read(fAudioFifo, tempBuffer, frameBytes);
559 while (av_fifo_size(fAudioFifo) >= (int32)frameBytes) {
560 av_fifo_generic_read(fAudioFifo, tempBuffer, frameBytes, NULL);
563 ret = _EncodeAudio(tempBuffer, frameBytes, fCodecContext->frame_size,