diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libavcodec/h264.h	Tue Sep 25 15:55:33 2012 +0200
     1.3 @@ -0,0 +1,76 @@
     1.4 +/*
     1.5 +* H.26L/H.264/AVC/JVT/14496-10/... encoder/decoder
     1.6 +* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at>
     1.7 +*
     1.8 +* This file is part of FFmpeg.
     1.9 +*
    1.10 +* FFmpeg is free software; you can redistribute it and/or
    1.11 +* modify it under the terms of the GNU Lesser General Public
    1.12 +* License as published by the Free Software Foundation; either
    1.13 +* version 2.1 of the License, or (at your option) any later version.
    1.14 +*
    1.15 +* FFmpeg is distributed in the hope that it will be useful,
    1.16 +* but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.17 +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.18 +* Lesser General Public License for more details.
    1.19 +*
    1.20 +* You should have received a copy of the GNU Lesser General Public
    1.21 +* License along with FFmpeg; if not, write to the Free Software
    1.22 +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    1.23 +*/
    1.24 +
    1.25 +/**
    1.26 +* @file
    1.27 +* H.264 / AVC / MPEG4 part10 codec.
    1.28 +* @author Michael Niedermayer <michaelni@gmx.at>
    1.29 +*/
    1.30 +
    1.31 +#ifndef H264_H
    1.32 +#define H264_H
    1.33 +
    1.34 +#include "h264_entropy.h"
    1.35 +#include "h264_data.h"
    1.36 +#include "h264_mc.h"
    1.37 +#include "h264_misc.h"
    1.38 +#include "h264_dsp.h"
    1.39 +#include "h264_pred.h"
    1.40 +#include "h264_parser.h"
    1.41 +#include "h264_nal.h"
    1.42 +#include "h264_rec.h"
    1.43 +#include "h264_deblock.h"
    1.44 +#include "h264_types.h"
    1.45 +
    1.46 +typedef struct h264_options{
    1.47 +    int statsched;
    1.48 +    int statmbd;
    1.49 +    int numamap;
    1.50 +    int no_mbd;
    1.51 +    int numframes;
    1.52 +    int display;
    1.53 +    int fullscreen;
    1.54 +    int verbose;
    1.55 +    int ppe_ed;         // only useful for Cell
    1.56 +    int profile;
    1.57 +    int threads;
    1.58 +    int smb_size[2];    // only useful for OmpSs
    1.59 +    int wave_order;
    1.60 +    int static_3d;
    1.61 +    int pipe_bufs;
    1.62 +    int slice_bufs;
    1.63 +    int smt;
    1.64 +}h264_options;
    1.65 +
    1.66 +int h264_decode_cell(H264Context *h);
    1.67 +int h264_decode_cell_seq(H264Context *h);
    1.68 +
    1.69 +int h264_decode_ompss(H264Context *h);
    1.70 +
    1.71 +int h264_decode_pthread(H264Context *h);
    1.72 +int h264_decode_seq(H264Context *h);
    1.73 +
    1.74 +
    1.75 +H264Context *get_h264dec_context(const char *file_name, int ifile, int ofile, int frame_width, int frame_height, h264_options *opts);
    1.76 +void free_h264dec_context(H264Context *h);
    1.77 +
    1.78 +
    1.79 +#endif /* AVCODEC_H264_H */