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: timecode.h
Close
/* * Copyright (c) 2006 Smartjog S.A.S, Baptiste Coudurier <baptiste.coudurier@gmail.com> * Copyright (c) 2011-2012 Smartjog S.A.S, ClΓ©ment BΕsch <clement.boesch@smartjog.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 * Timecode helpers header */ #ifndef AVUTIL_TIMECODE_H #define AVUTIL_TIMECODE_H #include <stdint.h> #include "rational.h" #define AV_TIMECODE_STR_SIZE 23 enum AVTimecodeFlag { AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame AV_TIMECODE_FLAG_24HOURSMAX = 1<<1, ///< timecode wraps after 24 hours AV_TIMECODE_FLAG_ALLOWNEGATIVE = 1<<2, ///< negative time values are allowed }; typedef struct { int start; ///< timecode frame start (first base frame number) uint32_t flags; ///< flags such as drop frame, +24 hours support, ... AVRational rate; ///< frame rate in rational form unsigned fps; ///< frame per second; must be consistent with the rate field } AVTimecode; /** * Adjust frame number for NTSC drop frame time code. * * @param framenum frame number to adjust * @param fps frame per second, 30 or 60 * @return adjusted frame number * @warning adjustment is only valid in NTSC 29.97 and 59.94 */ int av_timecode_adjust_ntsc_framenum2(int framenum, int fps); /** * Convert frame number to SMPTE 12M binary representation. * * @param tc timecode data correctly initialized * @param framenum frame number * @return the SMPTE binary representation * * @note Frame number adjustment is automatically done in case of drop timecode, * you do NOT have to call av_timecode_adjust_ntsc_framenum2(). * @note The frame number is relative to tc->start. * @note Color frame (CF), binary group flags (BGF) and biphase mark polarity * correction (PC) bits are set to zero. */ uint32_t av_timecode_get_smpte_from_framenum(const AVTimecode *tc, int framenum); /** * Load timecode string in buf. * * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long * @param tc timecode data correctly initialized * @param framenum frame number * @return the buf parameter * * @note Timecode representation can be a negative timecode and have more than * 24 hours, but will only be honored if the flags are correctly set. * @note The frame number is relative to tc->start. */ char *av_timecode_make_string(const AVTimecode *tc, char *buf, int framenum); /** * Get the timecode string from the SMPTE timecode format. * * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long * @param tcsmpte the 32-bit SMPTE timecode * @param prevent_df prevent the use of a drop flag when it is known the DF bit * is arbitrary * @return the buf parameter */ char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df); /** * Get the timecode string from the 25-bit timecode format (MPEG GOP format). * * @param buf destination buffer, must be at least AV_TIMECODE_STR_SIZE long * @param tc25bit the 25-bits timecode * @return the buf parameter */ char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit); /** * Init a timecode struct with the passed parameters. * * @param log_ctx a pointer to an arbitrary struct of which the first field * is a pointer to an AVClass struct (used for av_log) * @param tc pointer to an allocated AVTimecode * @param rate frame rate in rational form * @param flags miscellaneous flags such as drop frame, +24 hours, ... * (see AVTimecodeFlag) * @param frame_start the first frame number * @return 0 on success, AVERROR otherwise */ int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx); /** * Parse timecode representation (hh:mm:ss[:;.]ff). * * @param log_ctx a pointer to an arbitrary struct of which the first field is a * pointer to an AVClass struct (used for av_log). * @param tc pointer to an allocated AVTimecode * @param rate frame rate in rational form * @param str timecode string which will determine the frame start * @return 0 on success, AVERROR otherwise */ int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx); /** * Check if the timecode feature is available for the given frame rate * * @return 0 if supported, <0 otherwise */ int av_timecode_check_frame_rate(AVRational rate); #endif /* AVUTIL_TIMECODE_H */