libavcodec/raw.h
3a763f0f
 /*
  * Raw Video Codec
406792e7
  * Copyright (c) 2001 Fabrice Bellard
3a763f0f
  *
  * This file is part of FFmpeg.
  *
  * FFmpeg is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2.1 of the License, or (at your option) any later version.
  *
  * FFmpeg is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
ba87f080
  * @file
3a763f0f
  * Raw Video Codec
  */
 
98790382
 #ifndef AVCODEC_RAW_H
 #define AVCODEC_RAW_H
3a763f0f
 
 #include "avcodec.h"
953a3dcc
 #include "libavutil/internal.h"
3a763f0f
 
 typedef struct PixelFormatTag {
716d413c
     enum AVPixelFormat pix_fmt;
3a763f0f
     unsigned int fourcc;
 } PixelFormatTag;
 
0ab00a75
 extern const PixelFormatTag ff_raw_pix_fmt_tags[]; // exposed through avpriv_get_raw_pix_fmt_tags()
 
 const struct PixelFormatTag *avpriv_get_raw_pix_fmt_tags(void);
8dfb8190
 
43d6ac53
 enum AVPixelFormat avpriv_find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc);
3a763f0f
 
8b122937
 extern av_export const PixelFormatTag avpriv_pix_fmt_bps_avi[];
 extern av_export const PixelFormatTag avpriv_pix_fmt_bps_mov[];
 
98790382
 #endif /* AVCODEC_RAW_H */