FFmpeg
libavcodec
ffv1enc.h
Go to the documentation of this file.
1
/*
2
* FFV1 encoder
3
*
4
* Copyright (c) 2003-2013 Michael Niedermayer <michaelni@gmx.at>
5
*
6
* This file is part of FFmpeg.
7
*
8
* FFmpeg is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* FFmpeg is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with FFmpeg; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
#ifndef AVCODEC_FFV1ENC_H
24
#define AVCODEC_FFV1ENC_H
25
26
#include "
avcodec.h
"
27
28
enum
{
29
QTABLE_DEFAULT
= -1,
30
QTABLE_8BIT
,
31
QTABLE_GT8BIT
,
32
};
33
34
av_cold
int
ff_ffv1_encode_init
(
AVCodecContext
*avctx);
35
av_cold
int
ff_ffv1_encode_determine_slices
(
AVCodecContext
*avctx);
36
av_cold
int
ff_ffv1_write_extradata
(
AVCodecContext
*avctx);
37
av_cold
int
ff_ffv1_encode_setup_plane_info
(
AVCodecContext
*avctx,
38
enum
AVPixelFormat
pix_fmt
);
39
40
size_t
ff_ffv1_encode_buffer_size
(
AVCodecContext
*avctx);
41
42
#endif
/* AVCODEC_FFV1ENC_H */
AVPixelFormat
AVPixelFormat
Pixel format.
Definition:
pixfmt.h:71
QTABLE_DEFAULT
@ QTABLE_DEFAULT
Definition:
ffv1enc.h:29
QTABLE_GT8BIT
@ QTABLE_GT8BIT
Definition:
ffv1enc.h:31
av_cold
#define av_cold
Definition:
attributes.h:90
pix_fmt
static enum AVPixelFormat pix_fmt
Definition:
demux_decode.c:41
ff_ffv1_encode_determine_slices
av_cold int ff_ffv1_encode_determine_slices(AVCodecContext *avctx)
Definition:
ffv1enc.c:519
ff_ffv1_encode_buffer_size
size_t ff_ffv1_encode_buffer_size(AVCodecContext *avctx)
Definition:
ffv1enc.c:1175
ff_ffv1_write_extradata
av_cold int ff_ffv1_write_extradata(AVCodecContext *avctx)
Definition:
ffv1enc.c:395
ff_ffv1_encode_init
av_cold int ff_ffv1_encode_init(AVCodecContext *avctx)
Definition:
ffv1enc.c:550
avcodec.h
AVCodecContext
main external API structure.
Definition:
avcodec.h:451
ff_ffv1_encode_setup_plane_info
av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext *avctx, enum AVPixelFormat pix_fmt)
Definition:
ffv1enc.c:746
QTABLE_8BIT
@ QTABLE_8BIT
Definition:
ffv1enc.h:30
Generated on Sun Jan 12 2025 19:21:41 for FFmpeg by
1.8.17