FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
NV_ENC_MEONLY_PARAMS Struct Reference

#include <nvEncodeAPI.h>

Data Fields

uint32_t version
 [in]: Struct version. More...
 
uint32_t inputWidth
 [in]: Specifies the input buffer width More...
 
uint32_t inputHeight
 [in]: Specifies the input buffer height More...
 
NV_ENC_INPUT_PTR inputBuffer
 [in]: Specifies the input buffer pointer. More...
 
NV_ENC_INPUT_PTR referenceFrame
 [in]: Specifies the reference frame pointer More...
 
NV_ENC_OUTPUT_PTR mvBuffer
 [in]: Specifies the pointer to motion vector data buffer allocated by NvEncCreateMVBuffer. More...
 
NV_ENC_BUFFER_FORMAT bufferFmt
 [in]: Specifies the input buffer format. More...
 
voidcompletionEvent
 [in]: Specifies an event to be signalled on completion of motion estimation of this Frame [only if operating in Asynchronous mode]. More...
 
uint32_t viewID
 [in]: Specifies left,right viewID if NV_ENC_CONFIG_H264_MEONLY::bStereoEnable is set. More...
 
NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE meHintCountsPerBlock [2]
 [in]: Specifies the number of hint candidates per block for the current frame. More...
 
NVENC_EXTERNAL_ME_HINTmeExternalHints
 [in]: Specifies the pointer to ME external hints for the current frame. More...
 
uint32_t reserved1 [243]
 [in]: Reserved and must be set to 0 More...
 
voidreserved2 [59]
 [in]: Reserved and must be set to NULL More...
 

Detailed Description

Definition at line 1620 of file nvEncodeAPI.h.

Field Documentation

uint32_t NV_ENC_MEONLY_PARAMS::version

[in]: Struct version.

Must be set to NV_ENC_MEONLY_PARAMS_VER.

Definition at line 1622 of file nvEncodeAPI.h.

uint32_t NV_ENC_MEONLY_PARAMS::inputWidth

[in]: Specifies the input buffer width

Definition at line 1623 of file nvEncodeAPI.h.

uint32_t NV_ENC_MEONLY_PARAMS::inputHeight

[in]: Specifies the input buffer height

Definition at line 1624 of file nvEncodeAPI.h.

NV_ENC_INPUT_PTR NV_ENC_MEONLY_PARAMS::inputBuffer

[in]: Specifies the input buffer pointer.

Client must use a pointer obtained from NvEncCreateInputBuffer() or NvEncMapInputResource() APIs.

Definition at line 1625 of file nvEncodeAPI.h.

NV_ENC_INPUT_PTR NV_ENC_MEONLY_PARAMS::referenceFrame

[in]: Specifies the reference frame pointer

Definition at line 1626 of file nvEncodeAPI.h.

NV_ENC_OUTPUT_PTR NV_ENC_MEONLY_PARAMS::mvBuffer

[in]: Specifies the pointer to motion vector data buffer allocated by NvEncCreateMVBuffer.

Client must lock mvBuffer using NvEncLockBitstream() API to get the motion vector data.

Definition at line 1627 of file nvEncodeAPI.h.

NV_ENC_BUFFER_FORMAT NV_ENC_MEONLY_PARAMS::bufferFmt

[in]: Specifies the input buffer format.

Definition at line 1628 of file nvEncodeAPI.h.

void* NV_ENC_MEONLY_PARAMS::completionEvent

[in]: Specifies an event to be signalled on completion of motion estimation of this Frame [only if operating in Asynchronous mode].

Each output buffer should be associated with a distinct event pointer.

Definition at line 1629 of file nvEncodeAPI.h.

uint32_t NV_ENC_MEONLY_PARAMS::viewID

[in]: Specifies left,right viewID if NV_ENC_CONFIG_H264_MEONLY::bStereoEnable is set.

viewID can be 0,1 if bStereoEnable is set, 0 otherwise.

Definition at line 1632 of file nvEncodeAPI.h.

NVENC_EXTERNAL_ME_HINT_COUNTS_PER_BLOCKTYPE NV_ENC_MEONLY_PARAMS::meHintCountsPerBlock[2]

[in]: Specifies the number of hint candidates per block for the current frame.

meHintCountsPerBlock[0] is for L0 predictors. The candidate count in NV_ENC_PIC_PARAMS::meHintCountsPerBlock[lx] must never exceed NV_ENC_INITIALIZE_PARAMS::maxMEHintCountsPerBlock[lx] provided during encoder intialization.

Definition at line 1635 of file nvEncodeAPI.h.

NVENC_EXTERNAL_ME_HINT* NV_ENC_MEONLY_PARAMS::meExternalHints

[in]: Specifies the pointer to ME external hints for the current frame.

The size of ME hint buffer should be equal to number of macroblocks * the total number of candidates per macroblock. The total number of candidates per MB per direction = 1*meHintCountsPerBlock[Lx].numCandsPerBlk16x16 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk16x8 + 2*meHintCountsPerBlock[Lx].numCandsPerBlk8x8

  • 4*meHintCountsPerBlock[Lx].numCandsPerBlk8x8. For frames using bidirectional ME , the total number of candidates for single macroblock is sum of total number of candidates per MB for each direction (L0 and L1)

Definition at line 1637 of file nvEncodeAPI.h.

uint32_t NV_ENC_MEONLY_PARAMS::reserved1[243]

[in]: Reserved and must be set to 0

Definition at line 1640 of file nvEncodeAPI.h.

void* NV_ENC_MEONLY_PARAMS::reserved2[59]

[in]: Reserved and must be set to NULL

Definition at line 1641 of file nvEncodeAPI.h.


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