AOMedia AV1 Codec
GlobalMotionInfo Struct Reference

Parameters related to global motion search. More...

#include <encoder.h>

Collaboration diagram for GlobalMotionInfo:

Data Fields

bool search_done
 
YV12_BUFFER_CONFIGref_buf [REF_FRAMES]
 
unsigned char * src_buffer
 
int num_ref_frames [2]
 
FrameDistPair reference_frames [2][REF_FRAMES - 1]
 
int num_src_corners
 
int src_corners [2 *4096]
 
Dimensions for which segment map is allocated.
int segment_map_w
 
int segment_map_h
 

Detailed Description

Parameters related to global motion search.

Field Documentation

◆ search_done

bool GlobalMotionInfo::search_done

Flag to indicate if global motion search needs to be rerun.

◆ ref_buf

YV12_BUFFER_CONFIG* GlobalMotionInfo::ref_buf[REF_FRAMES]

Array of pointers to the frame buffers holding the reference frames. ref_buf[i] stores the pointer to the reference frame of the ith reference frame type.

◆ src_buffer

unsigned char* GlobalMotionInfo::src_buffer

Pointer to the source frame buffer.

◆ num_ref_frames

int GlobalMotionInfo::num_ref_frames[2]

Holds the number of valid reference frames in past and future directions w.r.t. the current frame. num_ref_frames[i] stores the total number of valid reference frames in 'i' direction.

◆ reference_frames

FrameDistPair GlobalMotionInfo::reference_frames[2][REF_FRAMES - 1]

Array of structure which stores the valid reference frames in past and future directions and their corresponding distance from the source frame. reference_frames[i][j] holds the jth valid reference frame type in the direction 'i' and its temporal distance from the source frame .

◆ segment_map_w

int GlobalMotionInfo::segment_map_w

segment map width

◆ segment_map_h

int GlobalMotionInfo::segment_map_h

segment map height

◆ num_src_corners

int GlobalMotionInfo::num_src_corners

Holds the total number of corner points detected in the source frame.

◆ src_corners

int GlobalMotionInfo::src_corners[2 * 4096]

Holds the x and y co-ordinates of the corner points detected in the source frame. src_corners[i] holds the x co-ordinate and src_corners[i+1] holds the y co-ordinate of the ith corner point detected.


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