xine-lib: xine-lib-1.2.12/src/combined/ffmpeg/ffmpeg_compat.h File Reference

xine-lib 1.2.12

Macros
ffmpeg_compat.h File Reference

Go to the source code of this file.

## Macros
#define | XFF_INT_VERSION(major, minor, micro) ((major<<16)|(minor<<8)|micro)
#define | pp_context pp_context_t
#define | pp_mode pp_mode_t
#define | XFF_AVCODEC_REORDERED_OPAQUE
#define | XFF_AVCODEC_SUB_ID
#define | XFF_AVCODEC_STREAM_CODEC_TAG
#define | XFF_PARSE 1
#define | XFF_VIDEO 1
#define | XFF_AUDIO 2
#define | XFF_ENCVIDEO 1
#define | XFF_PALETTE 1
#define | XFF_VAAPI 1 /** << libavcodec/vaapi.h */
#define | AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
#define | XFF_THREAD_SAFE_CB 0
#define | XFF_EDGE_WIDTH() (16)
#define | XFF_AVCODEC_INIT() avcodec_init()
#define | XFF_ALLOC_CONTEXT() avcodec_alloc_context()
#define | XFF_AVCODEC_OPEN(ctx, codec) avcodec_open(ctx,codec)
#define | XFF_FREE_CONTEXT(pp) do {av_free(pp); pp = NULL;} while (0)
#define | XFF_ALLOC_FRAME() avcodec_alloc_frame()
#define | XFF_FREE_FRAME(pp) do {av_free(pp); pp = NULL;} while (0)
#define | XFF_PACKET_DECL(_p) AVPacket _p##_stat, *_p
#define | XFF_PACKET_NEW(_p) _p = &_p##_stat, av_init_packet (_p)
#define | XFF_PACKET_UNREF(_p) av_free_packet (_p)
#define | AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE
#define | AV_CODEC_CAP_DR1 CODEC_CAP_DR1
#define | AV_CODEC_FLAG2_FAST CODEC_FLAG2_FAST
#define | XFF_AVCODEC_REGISTER_ALL() avcodec_register_all()

## Macro Definition Documentation

## ◆ AV_CODEC_CAP_DR1

#define AV_CODEC_CAP_DR1 CODEC_CAP_DR1

## ◆ AV_CODEC_FLAG2_FAST

#define AV_CODEC_FLAG2_FAST CODEC_FLAG2_FAST

## ◆ AV_INPUT_BUFFER_PADDING_SIZE

#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE

## ◆ AVCODEC_MAX_AUDIO_FRAME_SIZE

#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000

## ◆ pp_context

#define pp_context pp_context_t

## ◆ pp_mode

#define pp_mode pp_mode_t

## ◆ XFF_ALLOC_CONTEXT

#define XFF_ALLOC_CONTEXT | ( |  | ) | avcodec_alloc_context()

## ◆ XFF_ALLOC_FRAME

#define XFF_ALLOC_FRAME | ( |  | ) | avcodec_alloc_frame()

## ◆ XFF_AUDIO

#define XFF_AUDIO 2

## ◆ XFF_AVCODEC_INIT

#define XFF_AVCODEC_INIT | ( |  | ) | avcodec_init()

## ◆ XFF_AVCODEC_OPEN

#define XFF_AVCODEC_OPEN | ( |  | ctx,
|  |  | codec
| ) |  | avcodec_open(ctx,codec)

## ◆ XFF_AVCODEC_REGISTER_ALL

#define XFF_AVCODEC_REGISTER_ALL | ( |  | ) | avcodec_register_all()

## ◆ XFF_AVCODEC_REORDERED_OPAQUE

#define XFF_AVCODEC_REORDERED_OPAQUE

## ◆ XFF_AVCODEC_STREAM_CODEC_TAG

#define XFF_AVCODEC_STREAM_CODEC_TAG

## ◆ XFF_AVCODEC_SUB_ID

#define XFF_AVCODEC_SUB_ID

## ◆ XFF_EDGE_WIDTH

#define XFF_EDGE_WIDTH | ( |  | ) | (16)

## ◆ XFF_ENCVIDEO

#define XFF_ENCVIDEO 1

## ◆ XFF_FREE_CONTEXT

#define XFF_FREE_CONTEXT | ( |  | pp | ) | do {av_free(pp); pp = NULL;} while (0)

## ◆ XFF_FREE_FRAME

#define XFF_FREE_FRAME | ( |  | pp | ) | do {av_free(pp); pp = NULL;} while (0)

## ◆ XFF_INT_VERSION

#define XFF_INT_VERSION | ( |  | major,
|  |  | minor,
|  |  | micro
| ) |  | ((major<<16)|(minor<<8)|micro)

## ◆ XFF_PACKET_DECL

#define XFF_PACKET_DECL | ( |  | _p | ) | AVPacket _p##_stat, *_p

## ◆ XFF_PACKET_NEW

#define XFF_PACKET_NEW | ( |  | _p | ) | _p = &_p##_stat, av_init_packet (_p)

## ◆ XFF_PACKET_UNREF

#define XFF_PACKET_UNREF | ( |  | _p | ) | av_free_packet (_p)

## ◆ XFF_PALETTE

#define XFF_PALETTE 1

## ◆ XFF_PARSE

#define XFF_PARSE 1

## ◆ XFF_THREAD_SAFE_CB

#define XFF_THREAD_SAFE_CB 0

## ◆ XFF_VAAPI

#define XFF_VAAPI 1 /** << libavcodec/vaapi.h */

<< revise this

## ◆ XFF_VIDEO

#define XFF_VIDEO 1