World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл dv_profile.h

См. исходные тексты.

Классы

struct  AVDVProfile
 

Определения типов

typedef struct AVDVProfile AVDVProfile
 

Функции

const AVDVProfileav_dv_frame_profile (const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size)
 
const AVDVProfileav_dv_codec_profile (int width, int height, enum AVPixelFormat pix_fmt)
 
const AVDVProfileav_dv_codec_profile2 (int width, int height, enum AVPixelFormat pix_fmt, AVRational frame_rate)
 

Типы

◆ AVDVProfile

typedef struct AVDVProfile AVDVProfile

Функции

◆ av_dv_frame_profile()

const AVDVProfile* av_dv_frame_profile ( const AVDVProfile sys,
const uint8_t frame,
unsigned  buf_size 
)

Get a DV profile for the provided compressed frame.

Аргументы
systhe profile used for the previous frame, may be NULL
framethe compressed data buffer
buf_sizesize of the buffer in bytes
Возвращает
the DV profile for the supplied data or NULL on failure

◆ av_dv_codec_profile()

const AVDVProfile* av_dv_codec_profile ( int  width,
int  height,
enum AVPixelFormat  pix_fmt 
)

Get a DV profile for the provided stream parameters.

◆ av_dv_codec_profile2()

const AVDVProfile* av_dv_codec_profile2 ( int  width,
int  height,
enum AVPixelFormat  pix_fmt,
AVRational  frame_rate 
)

Get a DV profile for the provided stream parameters. The frame rate is used as a best-effort parameter.