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

libavcodec/a64enc.h

Go to the documentation of this file.
00001 /*
00002  * a64 video encoder - basic headers
00003  * Copyright (c) 2009 Tobias Bindhammer
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 
00027 #ifndef AVCODEC_A64ENC_H
00028 #define AVCODEC_A64ENC_H
00029 
00030 #include "libavutil/lfg.h"
00031 #include "avcodec.h"
00032 
00033 #define C64XRES 320
00034 #define C64YRES 200
00035 
00036 typedef struct A64Context {
00037     /* general variables */
00038     AVFrame picture;
00039 
00040     /* variables for multicolor modes */
00041     AVLFG randctx;
00042     int mc_lifetime;
00043     int mc_use_5col;
00044     int mc_frame_counter;
00045     int *mc_meta_charset;
00046     int *mc_charmap;
00047     int *mc_best_cb;
00048     int mc_luma_vals[5];
00049     uint8_t *mc_charset;
00050     uint8_t *mc_colram;
00051     uint8_t *mc_palette;
00052     int mc_pal_size;
00053 } A64Context;
00054 
00055 #endif /* AVCODEC_A64ENC_H */

Generated on Wed Apr 11 2012 07:31:32 for FFmpeg by  doxygen 1.7.1