2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
20 #ifndef __GST_FFMPEG_CODECMAP_H__
21 #define __GST_FFMPEG_CODECMAP_H__
27 * _codectype_to_caps () gets the GstCaps that belongs to
28 * a certain CodecType for a pad with uncompressed data.
32 gst_ffmpegcsp_codectype_to_caps (enum CodecType codec_type,
33 AVCodecContext *context);
36 * caps_with_codectype () transforms a GstCaps that belongs to
37 * a pad for uncompressed data to a filled-in context.
41 gst_ffmpegcsp_caps_with_codectype (enum CodecType type,
43 AVCodecContext *context);
46 * Fill in pointers in an AVPicture, aligned by 4 (required by X).
50 gst_ffmpegcsp_avpicture_fill (AVPicture * picture,
52 enum PixelFormat pix_fmt,
57 #endif /* __GST_FFMPEG_CODECMAP_H__ */