NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaEncodeExternalMEHint Struct Reference

Detailed Description

Holds an External Motion Vector hint.

Definition at line 1917 of file nvmedia_common.h.

Data Fields

int32_t mvx: 12
 Holds the x component of integer pixel MV (relative to current MB) S12.0. More...
 
int32_t mvy: 10
 Holds the y component of integer pixel MV (relative to current MB) S10.0 . More...
 
uint32_t refidx: 5
 Holds the reference index (31=invalid). More...
 
uint32_t dir: 1
 Holds the direction of motion estimation . More...
 
uint32_t partType: 2
 Holds the block partition type. More...
 
uint32_t lastofPart: 1
 Set to NVMEDIA_TRUE for the last MV of (sub) partition. More...
 
uint32_t lastOfMB: 1
 Set to NVMEDIA_TRUE for the last MV of macroblock. More...
 

Field Documentation

uint32_t NvMediaEncodeExternalMEHint::dir

Holds the direction of motion estimation .

0=L0 1=L1.

Definition at line 1925 of file nvmedia_common.h.

uint32_t NvMediaEncodeExternalMEHint::lastOfMB

Set to NVMEDIA_TRUE for the last MV of macroblock.

Definition at line 1931 of file nvmedia_common.h.

uint32_t NvMediaEncodeExternalMEHint::lastofPart

Set to NVMEDIA_TRUE for the last MV of (sub) partition.

Definition at line 1929 of file nvmedia_common.h.

int32_t NvMediaEncodeExternalMEHint::mvx

Holds the x component of integer pixel MV (relative to current MB) S12.0.

Definition at line 1919 of file nvmedia_common.h.

int32_t NvMediaEncodeExternalMEHint::mvy

Holds the y component of integer pixel MV (relative to current MB) S10.0 .

Definition at line 1921 of file nvmedia_common.h.

uint32_t NvMediaEncodeExternalMEHint::partType

Holds the block partition type.

0=16x16 1=16x8 2=8x16 3=8x8 (blocks in partition must be consecutive).

Definition at line 1927 of file nvmedia_common.h.

uint32_t NvMediaEncodeExternalMEHint::refidx

Holds the reference index (31=invalid).

Current we support only 1 reference frame per direction for external hints, so refidx must be 0.

Definition at line 1923 of file nvmedia_common.h.


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