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

libavcodec/imgconvert.h

Go to the documentation of this file.
00001 /*
00002  * Misc image conversion routines
00003  * most functionality is exported to the public API, see avcodec.h
00004  *
00005  * Copyright (c) 2008 Vitor Sessak
00006  *
00007  * This file is part of FFmpeg.
00008  *
00009  * FFmpeg is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * FFmpeg is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with FFmpeg; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00022  */
00023 
00024 #ifndef AVCODEC_IMGCONVERT_H
00025 #define AVCODEC_IMGCONVERT_H
00026 
00027 #include <stdint.h>
00028 #include "avcodec.h"
00029 
00030 int ff_fill_linesize(AVPicture *picture, enum PixelFormat pix_fmt, int width);
00031 
00032 int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, enum PixelFormat pix_fmt, int height);
00033 
00034 int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane);
00035 
00036 int ff_set_systematic_pal(uint32_t pal[256], enum PixelFormat pix_fmt);
00037 
00038 #endif /* AVCODEC_IMGCONVERT_H */

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