WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / libhb / hbffmpeg.h
blobff65bd6cc11d283b2b13bf236bd7bef7231d10d3
1 /* hbffmpeg.h
3 Copyright (c) 2003-2015 HandBrake Team
4 This file is part of the HandBrake source code
5 Homepage: <http://handbrake.fr/>.
6 It may be used under the terms of the GNU General Public License v2.
7 For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
8 */
10 #include "libavcodec/avcodec.h"
11 #include "libavformat/avformat.h"
12 #include "libavutil/channel_layout.h"
13 #include "libavutil/imgutils.h"
14 #include "libavutil/mathematics.h"
15 #include "libavutil/opt.h"
16 #include "libavutil/avutil.h"
17 #include "libavutil/downmix_info.h"
18 #include "libswscale/swscale.h"
19 #include "libavresample/avresample.h"
20 #include "common.h"
22 #define HB_FFMPEG_THREADS_AUTO (-1) // let hb_avcodec_open() decide thread_count
24 void hb_avcodec_init(void);
25 int hb_avcodec_open(AVCodecContext *, AVCodec *, AVDictionary **, int);
26 int hb_avcodec_close(AVCodecContext *);
28 uint64_t hb_ff_mixdown_xlat(int hb_mixdown, int *downmix_mode);
29 void hb_ff_set_sample_fmt(AVCodecContext *, AVCodec *, enum AVSampleFormat);
31 struct SwsContext*
32 hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat,
33 int dstW, int dstH, enum AVPixelFormat dstFormat,
34 int flags);
35 int hb_avpicture_fill(AVPicture *pic, hb_buffer_t *buf);