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