• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

libavcodec/dirac.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2007 Marco Gerards <marco@gnu.org>
00003  * Copyright (C) 2009 David Conrad
00004  *
00005  * This file is part of FFmpeg.
00006  *
00007  * FFmpeg is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * FFmpeg is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with FFmpeg; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020  */
00021 
00022 #ifndef AVCODEC_DIRAC_H
00023 #define AVCODEC_DIRAC_H
00024 
00031 #include "avcodec.h"
00032 #include "get_bits.h"
00033 
00034 typedef struct {
00035     unsigned width;
00036     unsigned height;
00037     uint8_t chroma_format;          
00038 
00039     uint8_t interlaced;
00040     uint8_t top_field_first;
00041 
00042     uint8_t frame_rate_index;       
00043     uint8_t aspect_ratio_index;     
00044 
00045     uint16_t clean_width;
00046     uint16_t clean_height;
00047     uint16_t clean_left_offset;
00048     uint16_t clean_right_offset;
00049 
00050     uint8_t pixel_range_index;      
00051     uint8_t color_spec_index;       
00052 } dirac_source_params;
00053 
00054 int ff_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
00055                                    dirac_source_params *source);
00056 
00057 #endif /* AVCODEC_DIRAC_H */

Generated on Fri Sep 16 2011 17:17:35 for FFmpeg by  doxygen 1.7.1