diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-01 07:45:23 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 19:45:39 +0100 |
commit | f78ffe382c2c6d3bd57b8a5d4e6e3689f6e90043 (patch) | |
tree | d8f2120a5d3bd34ab45eb0c6e5e15ca7792c402a /libavcodec/flvenc.h | |
parent | 876d0afe1f220586217a56fdfb21900c7156246e (diff) | |
download | ffmpeg-f78ffe382c2c6d3bd57b8a5d4e6e3689f6e90043.tar.gz |
avcodec/flv.h: Split header into encoder-only and decoder-only headers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/flvenc.h')
-rw-r--r-- | libavcodec/flvenc.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libavcodec/flvenc.h b/libavcodec/flvenc.h new file mode 100644 index 0000000000..aaa0fcffab --- /dev/null +++ b/libavcodec/flvenc.h @@ -0,0 +1,31 @@ +/* + * FLV encoder header. + * + * 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 + */ + +#ifndef AVCODEC_FLVENC_H +#define AVCODEC_FLVENC_H + +#include "mpegvideo.h" +#include "put_bits.h" + +void ff_flv_encode_picture_header(MpegEncContext *s, int picture_number); +void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, + int last); + +#endif /* AVCODEC_FLV_H */ |