| rev |
line source |
|
nengel@2
|
1 /*
|
|
nengel@2
|
2 * H.26L/H.264/AVC/JVT/14496-10/... encoder/decoder
|
|
nengel@2
|
3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
|
|
nengel@2
|
4 *
|
|
nengel@2
|
5 * This file is part of FFmpeg.
|
|
nengel@2
|
6 *
|
|
nengel@2
|
7 * FFmpeg is free software; you can redistribute it and/or
|
|
nengel@2
|
8 * modify it under the terms of the GNU Lesser General Public
|
|
nengel@2
|
9 * License as published by the Free Software Foundation; either
|
|
nengel@2
|
10 * version 2.1 of the License, or (at your option) any later version.
|
|
nengel@2
|
11 *
|
|
nengel@2
|
12 * FFmpeg is distributed in the hope that it will be useful,
|
|
nengel@2
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
nengel@2
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
nengel@2
|
15 * Lesser General Public License for more details.
|
|
nengel@2
|
16 *
|
|
nengel@2
|
17 * You should have received a copy of the GNU Lesser General Public
|
|
nengel@2
|
18 * License along with FFmpeg; if not, write to the Free Software
|
|
nengel@2
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
nengel@2
|
20 */
|
|
nengel@2
|
21
|
|
nengel@2
|
22 /**
|
|
nengel@2
|
23 * @file
|
|
nengel@2
|
24 * H.264 / AVC / MPEG4 part10 codec.
|
|
nengel@2
|
25 * @author Michael Niedermayer <michaelni@gmx.at>
|
|
nengel@2
|
26 */
|
|
nengel@2
|
27
|
|
nengel@2
|
28 #ifndef H264_H
|
|
nengel@2
|
29 #define H264_H
|
|
nengel@2
|
30
|
|
nengel@2
|
31 #include "h264_entropy.h"
|
|
nengel@2
|
32 #include "h264_data.h"
|
|
nengel@2
|
33 #include "h264_mc.h"
|
|
nengel@2
|
34 #include "h264_misc.h"
|
|
nengel@2
|
35 #include "h264_dsp.h"
|
|
nengel@2
|
36 #include "h264_pred.h"
|
|
nengel@2
|
37 #include "h264_parser.h"
|
|
nengel@2
|
38 #include "h264_nal.h"
|
|
nengel@2
|
39 #include "h264_rec.h"
|
|
nengel@2
|
40 #include "h264_deblock.h"
|
|
nengel@2
|
41 #include "h264_types.h"
|
|
nengel@3
|
42 #include "VSs_impl/VSs.h"
|
|
nengel@2
|
43
|
|
nengel@2
|
44 typedef struct h264_options{
|
|
nengel@2
|
45 int statsched;
|
|
nengel@2
|
46 int statmbd;
|
|
nengel@2
|
47 int numamap;
|
|
nengel@2
|
48 int no_mbd;
|
|
nengel@2
|
49 int numframes;
|
|
nengel@2
|
50 int display;
|
|
nengel@2
|
51 int fullscreen;
|
|
nengel@2
|
52 int verbose;
|
|
nengel@2
|
53 int ppe_ed; // only useful for Cell
|
|
nengel@2
|
54 int profile;
|
|
nengel@2
|
55 int threads;
|
|
nengel@2
|
56 int smb_size[2]; // only useful for OmpSs
|
|
nengel@2
|
57 int wave_order;
|
|
nengel@2
|
58 int static_3d;
|
|
nengel@2
|
59 int pipe_bufs;
|
|
nengel@2
|
60 int slice_bufs;
|
|
nengel@2
|
61 int smt;
|
|
nengel@2
|
62 }h264_options;
|
|
nengel@2
|
63
|
|
nengel@2
|
64 int h264_decode_cell(H264Context *h);
|
|
nengel@2
|
65 int h264_decode_cell_seq(H264Context *h);
|
|
nengel@2
|
66
|
|
nengel@7
|
67 int h264_decode_ompss(H264Context *h);
|
|
nengel@2
|
68
|
|
nengel@2
|
69 int h264_decode_pthread(H264Context *h);
|
|
nengel@2
|
70 int h264_decode_seq(H264Context *h);
|
|
nengel@2
|
71
|
|
nengel@2
|
72
|
|
nengel@2
|
73 H264Context *get_h264dec_context(const char *file_name, int ifile, int ofile, int frame_width, int frame_height, h264_options *opts);
|
|
nengel@2
|
74 void free_h264dec_context(H264Context *h);
|
|
nengel@2
|
75
|
|
nengel@2
|
76
|
|
nengel@2
|
77 #endif /* AVCODEC_H264_H */
|