• 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  * Copyright (C) 2011 Jordi Ortiz
00005  *
00006  * This file is part of FFmpeg.
00007  *
00008  * FFmpeg is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2.1 of the License, or (at your option) any later version.
00012  *
00013  * FFmpeg is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with FFmpeg; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00021  */
00022 
00023 #ifndef AVCODEC_DIRAC_H
00024 #define AVCODEC_DIRAC_H
00025 
00034 #include "avcodec.h"
00035 #include "get_bits.h"
00036 
00037 typedef struct {
00038     unsigned width;
00039     unsigned height;
00040     uint8_t chroma_format;          
00041 
00042     uint8_t interlaced;
00043     uint8_t top_field_first;
00044 
00045     uint8_t frame_rate_index;       
00046     uint8_t aspect_ratio_index;     
00047 
00048     uint16_t clean_width;
00049     uint16_t clean_height;
00050     uint16_t clean_left_offset;
00051     uint16_t clean_right_offset;
00052 
00053     uint8_t pixel_range_index;      
00054     uint8_t color_spec_index;       
00055 } dirac_source_params;
00056 
00057 int avpriv_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
00058                                        dirac_source_params *source);
00059 
00060 #endif /* AVCODEC_DIRAC_H */
Generated on Fri Feb 1 2013 14:34:32 for FFmpeg by doxygen 1.7.1