/* * Raw Video Codec * Copyright (c) 2001 Fabrice Bellard * * 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 */ /** * @file * Raw Video Codec */ #include "libavutil/macros.h" #include "avcodec.h" #include "raw.h" static const PixelFormatTag raw_pix_fmt_tags[] = …; const struct PixelFormatTag *avpriv_get_raw_pix_fmt_tags(void) { … } unsigned int avcodec_pix_fmt_to_codec_tag(enum AVPixelFormat fmt) { … } static const PixelFormatTag pix_fmt_bps_avi[] = …; static const PixelFormatTag pix_fmt_bps_mov[] = …; static enum AVPixelFormat find_pix_fmt(const PixelFormatTag *tags, unsigned int fourcc) { … } enum AVPixelFormat avpriv_pix_fmt_find(enum PixelFormatTagLists list, unsigned fourcc) { … }