World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура AVMotionVector

#include <motion_vector.h>

Открытые атрибуты

int32_t source
 
uint8_t w
 
uint8_t h
 
int16_t src_x
 
int16_t src_y
 
int16_t dst_x
 
int16_t dst_y
 
uint64_t flags
 
int32_t motion_x
 
int32_t motion_y
 
uint16_t motion_scale
 

Подробное описание

См. определение в файле motion_vector.h строка 24

Данные класса

◆ source

int32_t AVMotionVector::source

Where the current macroblock comes from; negative value when it comes from the past, positive value when it comes from the future. XXX: set exact relative ref frame reference instead of a +/- 1 "direction".

См. определение в файле motion_vector.h строка 30

◆ w

uint8_t AVMotionVector::w

Width and height of the block.

См. определение в файле motion_vector.h строка 34

◆ h

uint8_t AVMotionVector::h

См. определение в файле motion_vector.h строка 34

◆ src_x

int16_t AVMotionVector::src_x

Absolute source position. Can be outside the frame area.

См. определение в файле motion_vector.h строка 38

◆ src_y

int16_t AVMotionVector::src_y

См. определение в файле motion_vector.h строка 38

◆ dst_x

int16_t AVMotionVector::dst_x

Absolute destination position. Can be outside the frame area.

См. определение в файле motion_vector.h строка 42

◆ dst_y

int16_t AVMotionVector::dst_y

См. определение в файле motion_vector.h строка 42

◆ flags

uint64_t AVMotionVector::flags

Extra flag information. Currently unused.

См. определение в файле motion_vector.h строка 47

◆ motion_x

int32_t AVMotionVector::motion_x

Motion vector src_x = dst_x + motion_x / motion_scale src_y = dst_y + motion_y / motion_scale

См. определение в файле motion_vector.h строка 53

◆ motion_y

int32_t AVMotionVector::motion_y

См. определение в файле motion_vector.h строка 53

◆ motion_scale

uint16_t AVMotionVector::motion_scale

См. определение в файле motion_vector.h строка 54


Объявления и описания членов структуры находятся в файле: