Blender V2.61 - r43446
Defines | Functions

ffmpeg_compat.h File Reference

#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libavutil/rational.h>
#include <libswscale/swscale.h>
#include <libavcodec/opt.h>

Go to the source code of this file.

Defines

#define AVIO_FLAG_WRITE   URL_WRONLY
#define avio_open   url_fopen
#define avio_tell   url_ftell
#define avio_close   url_fclose
#define avio_size   url_fsize
#define AV_PKT_FLAG_KEY   PKT_FLAG_KEY
#define av_dump_format   dump_format
#define av_guess_format   guess_format
#define av_parse_video_rate   av_parse_video_frame_rate
#define FFMPEG_DEF_OPT_VAL_INT(OPT)   OPT->default_val
#define FFMPEG_DEF_OPT_VAL_DOUBLE(OPT)   OPT->default_val
#define AVMEDIA_TYPE_VIDEO   CODEC_TYPE_VIDEO
#define AVMEDIA_TYPE_AUDIO   CODEC_TYPE_AUDIO

Functions

static int avcodec_decode_audio3 (AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt)
static int avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, AVPacket *avpkt)
static int64_t av_get_pts_from_frame (AVFormatContext *avctx, AVFrame *picture)

Define Documentation

#define av_dump_format   dump_format

Definition at line 96 of file ffmpeg_compat.h.

Referenced by avi_fetchibuf().

#define av_guess_format   guess_format

Definition at line 100 of file ffmpeg_compat.h.

#define av_parse_video_rate   av_parse_video_frame_rate

Definition at line 104 of file ffmpeg_compat.h.

#define AV_PKT_FLAG_KEY   PKT_FLAG_KEY

Definition at line 92 of file ffmpeg_compat.h.

Referenced by avi_fetchibuf().

#define avio_close   url_fclose

Definition at line 81 of file ffmpeg_compat.h.

Referenced by AUD_FFMPEGWriter::~AUD_FFMPEGWriter().

#define AVIO_FLAG_WRITE   URL_WRONLY

Definition at line 78 of file ffmpeg_compat.h.

Referenced by AUD_FFMPEGWriter::AUD_FFMPEGWriter().

#define avio_open   url_fopen

Definition at line 79 of file ffmpeg_compat.h.

Referenced by AUD_FFMPEGWriter::AUD_FFMPEGWriter().

#define avio_size   url_fsize

Definition at line 82 of file ffmpeg_compat.h.

#define avio_tell   url_ftell

Definition at line 80 of file ffmpeg_compat.h.

#define AVMEDIA_TYPE_AUDIO   CODEC_TYPE_AUDIO

Definition at line 117 of file ffmpeg_compat.h.

Referenced by AUD_FFMPEGWriter::AUD_FFMPEGWriter().

#define AVMEDIA_TYPE_VIDEO   CODEC_TYPE_VIDEO

Definition at line 116 of file ffmpeg_compat.h.

Referenced by avi_fetchibuf().

#define FFMPEG_DEF_OPT_VAL_DOUBLE (   OPT)    OPT->default_val

Definition at line 112 of file ffmpeg_compat.h.

#define FFMPEG_DEF_OPT_VAL_INT (   OPT)    OPT->default_val

Definition at line 111 of file ffmpeg_compat.h.


Function Documentation

static int64_t av_get_pts_from_frame ( AVFormatContext *  avctx,
AVFrame *  picture 
) [inline, static]

Definition at line 143 of file ffmpeg_compat.h.

Referenced by avi_fetchibuf().

static int avcodec_decode_audio3 ( AVCodecContext *  avctx,
int16_t *  samples,
int *  frame_size_ptr,
AVPacket *  avpkt 
) [inline, static]

Definition at line 122 of file ffmpeg_compat.h.

static int avcodec_decode_video2 ( AVCodecContext *  avctx,
AVFrame *  picture,
int *  got_picture_ptr,
AVPacket *  avpkt 
) [inline, static]

Definition at line 133 of file ffmpeg_compat.h.

Referenced by avi_fetchibuf().