NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.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 543 of file nvmedia_common_encode.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 551 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeExternalMEHint::lastOfMB

Set to NVMEDIA_TRUE for the last MV of macroblock.

Definition at line 557 of file nvmedia_common_encode.h.

uint32_t NvMediaEncodeExternalMEHint::lastofPart

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

Definition at line 555 of file nvmedia_common_encode.h.

int32_t NvMediaEncodeExternalMEHint::mvx

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

Definition at line 545 of file nvmedia_common_encode.h.

int32_t NvMediaEncodeExternalMEHint::mvy

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

Definition at line 547 of file nvmedia_common_encode.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 553 of file nvmedia_common_encode.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 549 of file nvmedia_common_encode.h.


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