NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release

Detailed Description

Definition at line 541 of file tvmr/include/nvmedia_parser.h.

Collaboration diagram for NvMediaParserClientCb:

Data Fields

pfnCbNvMediaBeginSequence BeginSequence
 callback to provide sequence level information to client Client will use this to create NvMediaVideoDecoder based on codec type. More...
 
pfnCbNvMediaDecodePicture DecodePicture
 callback to provide one frame/field worth of data required to achieve decoding using NvMediaVideoDecoder component. More...
 
pfnCbNvMediaDisplayPicture DisplayPicture
 Callback to pass frame-buffer with its timestamp in display order for display. More...
 
pfnCbNvMediaUnhandledNALU UnhandledNALU
 Callback to report unhandled NALU. More...
 
pfnCbNvMediaAllocPictureBuffer AllocPictureBuffer
 callback to get one free frame-buffer to do current frame decoding. More...
 
pfnCbNvMediaRelease Release
 Callback to tell client to decrement the buffer reference count by 1. More...
 
pfnCbNvMediaAddRef AddRef
 Callback to increase ref counting of buffer by 1 when surface is used as reference. More...
 
pfnCbNvMediaCreateDecrypter CreateDecrypter
 Callback to create NvMediaVideoDecrypter component to handle encrypted contents. More...
 
pfnCbNvMediaDecryptHdr DecryptHdr
 Callback to pass encrypted data for decryption of frame-headers. More...
 
pfnCbNvMediaSliceDecode SliceDecode
 Callback to pass slice level data for the slice level decoding use case. More...
 
pfnCbNvMediaGetClearHdr GetClearHdr
 callback to get clear header data from NvMediaVideoDecrypter. More...
 
pfnCbNvMediaGetBackwardUpdates GetBackwardUpdates
 callback to get backward prabability data for VP9 codec. More...
 
pfnCbNvMediaGetDpbInfoForMetadata GetDpbInfoForMetadata
 callback to pass internal DPB information to the client. More...
 

Field Documentation

◆ AddRef

pfnCbNvMediaAddRef NvMediaParserClientCb::AddRef

Callback to increase ref counting of buffer by 1 when surface is used as reference.

Definition at line 572 of file tvmr/include/nvmedia_parser.h.

◆ AllocPictureBuffer

pfnCbNvMediaAllocPictureBuffer NvMediaParserClientCb::AllocPictureBuffer

callback to get one free frame-buffer to do current frame decoding.

Increase the ref counting of buffer by 1

Definition at line 564 of file tvmr/include/nvmedia_parser.h.

◆ BeginSequence

pfnCbNvMediaBeginSequence NvMediaParserClientCb::BeginSequence

callback to provide sequence level information to client Client will use this to create NvMediaVideoDecoder based on codec type.

callback to provide sequence level information to client Client will use this to create NvMediaIDE based on codec type.

Client will use NvMediaVideoDecoderCreateEx based on need. Clients use codec sequence information to create output buffers required for decoding.

Client will use NvMediaIDECreate based on need. Clients use codec sequence information to create output buffers required for decoding.

Definition at line 549 of file tvmr/include/nvmedia_parser.h.

◆ CreateDecrypter

pfnCbNvMediaCreateDecrypter NvMediaParserClientCb::CreateDecrypter

Callback to create NvMediaVideoDecrypter component to handle encrypted contents.

Callback to create NvMediaVideoDecrypter component to handle encrypted contents.

Definition at line 574 of file tvmr/include/nvmedia_parser.h.

◆ DecodePicture

pfnCbNvMediaDecodePicture NvMediaParserClientCb::DecodePicture

callback to provide one frame/field worth of data required to achieve decoding using NvMediaVideoDecoder component.

callback to provide one frame/field worth of data required to achieve decoding using NvMediaIDE component.

Client will get NvMediaParserPictureData information. It will have to just update video surface pointer with NvMediaVideoSurface pointers. Client will call NvMediaVideoDecoderRenderEx based on use case requirement.

Client will get NvMediaParserPictureData information. It will have to just update target surface pointer with a reference to an NvSciBufObj where the frame needs to be rendered. Client will call NvMediaIDERender based on use case requirement.

Definition at line 557 of file tvmr/include/nvmedia_parser.h.

◆ DecryptHdr

pfnCbNvMediaDecryptHdr NvMediaParserClientCb::DecryptHdr

Callback to pass encrypted data for decryption of frame-headers.

Definition at line 576 of file tvmr/include/nvmedia_parser.h.

◆ DisplayPicture

pfnCbNvMediaDisplayPicture NvMediaParserClientCb::DisplayPicture

Callback to pass frame-buffer with its timestamp in display order for display.

Definition at line 559 of file tvmr/include/nvmedia_parser.h.

◆ GetBackwardUpdates

pfnCbNvMediaGetBackwardUpdates NvMediaParserClientCb::GetBackwardUpdates

callback to get backward prabability data for VP9 codec.

Client will call NvMediaVideoDecoderGetBackwardUpdates inside this callback to fill the NvMediaVP9BackwardUpdates structure

Client will call NvMediaIDEGetBackwardUpdates inside this callback to fill the NvMediaVP9BackwardUpdates structure

Definition at line 589 of file tvmr/include/nvmedia_parser.h.

◆ GetClearHdr

pfnCbNvMediaGetClearHdr NvMediaParserClientCb::GetClearHdr

callback to get clear header data from NvMediaVideoDecrypter.

This is called after DecryptHdr callback to get frame-headers data.

This is called after DecryptHdr callback to get frame-headers data.

Definition at line 584 of file tvmr/include/nvmedia_parser.h.

◆ GetDpbInfoForMetadata

pfnCbNvMediaGetDpbInfoForMetadata NvMediaParserClientCb::GetDpbInfoForMetadata

callback to pass internal DPB information to the client.

Some clients need DPB information to support error-resilience in the encoder. This callback supports conferencing use cases.

Definition at line 594 of file tvmr/include/nvmedia_parser.h.

◆ Release

pfnCbNvMediaRelease NvMediaParserClientCb::Release

Callback to tell client to decrement the buffer reference count by 1.

When the reference count reaches 0, the buffer can be used for further for decoding

Definition at line 568 of file tvmr/include/nvmedia_parser.h.

◆ SliceDecode

pfnCbNvMediaSliceDecode NvMediaParserClientCb::SliceDecode

Callback to pass slice level data for the slice level decoding use case.

Client will call NvMediaVideoDecoderSliceDecode() to pass the information for slice level decoding

Client will call NvMediaIDESliceDecode() to pass the information for slice level decoding

Definition at line 580 of file tvmr/include/nvmedia_parser.h.

◆ UnhandledNALU

pfnCbNvMediaUnhandledNALU NvMediaParserClientCb::UnhandledNALU

Callback to report unhandled NALU.

Definition at line 561 of file tvmr/include/nvmedia_parser.h.


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