Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > VSs > VSs__H264__App
view libavcodec/h264.h @ 6:55fb61482128
VSs working
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 06 Mar 2013 14:35:39 +0100 |
| parents | 897f711a7157 |
| children | c8259123d224 |
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"
42 #include "VSs_impl/VSs.h"
44 typedef struct h264_options{
45 int statsched;
46 int statmbd;
47 int numamap;
48 int no_mbd;
49 int numframes;
50 int display;
51 int fullscreen;
52 int verbose;
53 int ppe_ed; // only useful for Cell
54 int profile;
55 int threads;
56 int smb_size[2]; // only useful for OmpSs
57 int wave_order;
58 int static_3d;
59 int pipe_bufs;
60 int slice_bufs;
61 int smt;
62 }h264_options;
64 int h264_decode_cell(H264Context *h);
65 int h264_decode_cell_seq(H264Context *h);
67 void h264_decode_ompss(void *_params, SlaveVP *animSlv);
69 int h264_decode_pthread(H264Context *h);
70 int h264_decode_seq(H264Context *h);
73 H264Context *get_h264dec_context(const char *file_name, int ifile, int ofile, int frame_width, int frame_height, h264_options *opts);
74 void free_h264dec_context(H264Context *h);
77 #endif /* AVCODEC_H264_H */
