NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only
NvMediaParserClientCb Struct Reference

Detailed Description

Definition at line 535 of file 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 566 of file 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 558 of file 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.

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

Definition at line 543 of file nvmedia_parser.h.

◆ CreateDecrypter

pfnCbNvMediaCreateDecrypter NvMediaParserClientCb::CreateDecrypter

Callback to create NvMediaVideoDecrypter component to handle encrypted contents.

Definition at line 568 of file nvmedia_parser.h.

◆ DecodePicture

pfnCbNvMediaDecodePicture NvMediaParserClientCb::DecodePicture

callback to provide one frame/field worth of data required to achieve decoding using NvMediaVideoDecoder 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.

Definition at line 551 of file nvmedia_parser.h.

◆ DecryptHdr

pfnCbNvMediaDecryptHdr NvMediaParserClientCb::DecryptHdr

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

Definition at line 570 of file nvmedia_parser.h.

◆ DisplayPicture

pfnCbNvMediaDisplayPicture NvMediaParserClientCb::DisplayPicture

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

Definition at line 553 of file 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

Definition at line 583 of file 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.

Definition at line 578 of file 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 588 of file 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 562 of file 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

Definition at line 574 of file nvmedia_parser.h.

◆ UnhandledNALU

pfnCbNvMediaUnhandledNALU NvMediaParserClientCb::UnhandledNALU

Callback to report unhandled NALU.

Definition at line 555 of file nvmedia_parser.h.


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