FFmpeg
Data Fields
AVMotionVector Struct Reference

#include <motion_vector.h>

Data Fields

int32_t source
 Where the current macroblock comes from; negative value when it comes from the past, positive value when it comes from the future. More...
 
uint8_t w
 Width and height of the block. More...
 
uint8_t h
 
int16_t src_x
 Absolute source position. More...
 
int16_t src_y
 
int16_t dst_x
 Absolute destination position. More...
 
int16_t dst_y
 
uint64_t flags
 Extra flag information. More...
 
int32_t motion_x
 Motion vector src_x = dst_x + motion_x / motion_scale src_y = dst_y + motion_y / motion_scale. More...
 
int32_t motion_y
 
uint16_t motion_scale
 

Detailed Description

Definition at line 24 of file motion_vector.h.

Field Documentation

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".

Definition at line 30 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), filter_frame(), and predict_slice_buffered().

uint8_t AVMotionVector::w

Width and height of the block.

Definition at line 34 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), and predict_slice_buffered().

uint8_t AVMotionVector::h

Definition at line 34 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), and predict_slice_buffered().

int16_t AVMotionVector::src_x

Absolute source position.

Can be outside the frame area.

Definition at line 38 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), filter_frame(), and predict_slice_buffered().

int16_t AVMotionVector::src_y
int16_t AVMotionVector::dst_x

Absolute destination position.

Can be outside the frame area.

Definition at line 42 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), filter_frame(), and predict_slice_buffered().

int16_t AVMotionVector::dst_y
uint64_t AVMotionVector::flags

Extra flag information.

Currently unused.

Definition at line 47 of file motion_vector.h.

Referenced by add_mb(), add_mv_data(), decode_packet(), and predict_slice_buffered().

int32_t AVMotionVector::motion_x

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

Definition at line 53 of file motion_vector.h.

Referenced by add_mb(), and predict_slice_buffered().

int32_t AVMotionVector::motion_y

Definition at line 53 of file motion_vector.h.

Referenced by add_mb(), and predict_slice_buffered().

uint16_t AVMotionVector::motion_scale

Definition at line 54 of file motion_vector.h.

Referenced by add_mb(), and predict_slice_buffered().


The documentation for this struct was generated from the following file: