OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
x86_64-linux-gnu
/
libavutil
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:50:44 AM
rwxr-xr-x
📄
adler32.h
1.63 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
aes.h
1.79 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
aes_ctr.h
2.07 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
attributes.h
4.47 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
audio_fifo.h
5.78 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
avassert.h
2.3 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
avconfig.h
170 bytes
05/18/2022 08:01:02 PM
rw-r--r--
📄
avstring.h
13.76 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
avutil.h
9.35 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
base64.h
2.23 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
blowfish.h
2.34 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
bprint.h
7.61 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
bswap.h
2.79 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
buffer.h
10.4 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
camellia.h
2.09 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
cast5.h
2.5 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
channel_layout.h
9.39 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
common.h
15.41 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
cpu.h
5.43 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
crc.h
3.13 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
des.h
2.28 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
dict.h
8.08 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
display.h
3.44 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
downmix_info.h
3.16 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
error.h
5.34 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
eval.h
5.18 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
ffversion.h
196 bytes
05/18/2022 08:01:02 PM
rw-r--r--
📄
fifo.h
5.76 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
file.h
2.5 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
frame.h
25.96 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hash.h
8.24 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hmac.h
2.82 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext.h
22.43 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_cuda.h
1.43 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_d3d11va.h
6.06 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_drm.h
4.46 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_dxva2.h
2.35 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_qsv.h
1.52 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_vaapi.h
3.7 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_vdpau.h
1.33 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
hwcontext_videotoolbox.h
1.84 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
imgutils.h
11.26 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
intfloat.h
1.69 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
intreadwrite.h
18.13 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
lfg.h
2.44 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
log.h
11.4 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
lzo.h
2 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
macros.h
1.22 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
mastering_display_metadata.h
3.85 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
mathematics.h
7.82 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
md5.h
2.27 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
mem.h
22.92 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
motion_vector.h
1.73 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
murmur3.h
3.4 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
opt.h
35.25 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
parseutils.h
7.4 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
pixdesc.h
15.18 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
pixelutils.h
2.02 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
pixfmt.h
33.54 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
random_seed.h
1.37 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
rational.h
5.71 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
rc4.h
1.84 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
replaygain.h
1.57 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
ripemd.h
2.11 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
samplefmt.h
10.08 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
sha.h
2.45 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
sha512.h
2.5 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
spherical.h
7.84 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
stereo3d.h
4.72 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
tea.h
1.99 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
threadmessage.h
3.58 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
time.h
1.76 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
timecode.h
5.2 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
timestamp.h
2.56 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
tree.h
5.3 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
twofish.h
2.19 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
version.h
4.86 KB
05/18/2022 08:01:02 PM
rw-r--r--
📄
xtea.h
2.77 KB
05/18/2022 08:01:02 PM
rw-r--r--
Editing: audio_fifo.h
Close
/* * Audio FIFO * Copyright (c) 2012 Justin Ruggles <justin.ruggles@gmail.com> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** * @file * Audio FIFO Buffer */ #ifndef AVUTIL_AUDIO_FIFO_H #define AVUTIL_AUDIO_FIFO_H #include "avutil.h" #include "fifo.h" #include "samplefmt.h" /** * @addtogroup lavu_audio * @{ * * @defgroup lavu_audiofifo Audio FIFO Buffer * @{ */ /** * Context for an Audio FIFO Buffer. * * - Operates at the sample level rather than the byte level. * - Supports multiple channels with either planar or packed sample format. * - Automatic reallocation when writing to a full buffer. */ typedef struct AVAudioFifo AVAudioFifo; /** * Free an AVAudioFifo. * * @param af AVAudioFifo to free */ void av_audio_fifo_free(AVAudioFifo *af); /** * Allocate an AVAudioFifo. * * @param sample_fmt sample format * @param channels number of channels * @param nb_samples initial allocation size, in samples * @return newly allocated AVAudioFifo, or NULL on error */ AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels, int nb_samples); /** * Reallocate an AVAudioFifo. * * @param af AVAudioFifo to reallocate * @param nb_samples new allocation size, in samples * @return 0 if OK, or negative AVERROR code on failure */ av_warn_unused_result int av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples); /** * Write data to an AVAudioFifo. * * The AVAudioFifo will be reallocated automatically if the available space * is less than nb_samples. * * @see enum AVSampleFormat * The documentation for AVSampleFormat describes the data layout. * * @param af AVAudioFifo to write to * @param data audio data plane pointers * @param nb_samples number of samples to write * @return number of samples actually written, or negative AVERROR * code on failure. If successful, the number of samples * actually written will always be nb_samples. */ int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples); /** * Peek data from an AVAudioFifo. * * @see enum AVSampleFormat * The documentation for AVSampleFormat describes the data layout. * * @param af AVAudioFifo to read from * @param data audio data plane pointers * @param nb_samples number of samples to peek * @return number of samples actually peek, or negative AVERROR code * on failure. The number of samples actually peek will not * be greater than nb_samples, and will only be less than * nb_samples if av_audio_fifo_size is less than nb_samples. */ int av_audio_fifo_peek(AVAudioFifo *af, void **data, int nb_samples); /** * Peek data from an AVAudioFifo. * * @see enum AVSampleFormat * The documentation for AVSampleFormat describes the data layout. * * @param af AVAudioFifo to read from * @param data audio data plane pointers * @param nb_samples number of samples to peek * @param offset offset from current read position * @return number of samples actually peek, or negative AVERROR code * on failure. The number of samples actually peek will not * be greater than nb_samples, and will only be less than * nb_samples if av_audio_fifo_size is less than nb_samples. */ int av_audio_fifo_peek_at(AVAudioFifo *af, void **data, int nb_samples, int offset); /** * Read data from an AVAudioFifo. * * @see enum AVSampleFormat * The documentation for AVSampleFormat describes the data layout. * * @param af AVAudioFifo to read from * @param data audio data plane pointers * @param nb_samples number of samples to read * @return number of samples actually read, or negative AVERROR code * on failure. The number of samples actually read will not * be greater than nb_samples, and will only be less than * nb_samples if av_audio_fifo_size is less than nb_samples. */ int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples); /** * Drain data from an AVAudioFifo. * * Removes the data without reading it. * * @param af AVAudioFifo to drain * @param nb_samples number of samples to drain * @return 0 if OK, or negative AVERROR code on failure */ int av_audio_fifo_drain(AVAudioFifo *af, int nb_samples); /** * Reset the AVAudioFifo buffer. * * This empties all data in the buffer. * * @param af AVAudioFifo to reset */ void av_audio_fifo_reset(AVAudioFifo *af); /** * Get the current number of samples in the AVAudioFifo available for reading. * * @param af the AVAudioFifo to query * @return number of samples available for reading */ int av_audio_fifo_size(AVAudioFifo *af); /** * Get the current number of samples in the AVAudioFifo available for writing. * * @param af the AVAudioFifo to query * @return number of samples available for writing */ int av_audio_fifo_space(AVAudioFifo *af); /** * @} * @} */ #endif /* AVUTIL_AUDIO_FIFO_H */