NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

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

Detailed Description

Definition at line 522 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

pfnCbNvMediaAddRef NvMediaParserClientCb::AddRef

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

Definition at line 553 of file nvmedia_parser.h.

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 545 of file nvmedia_parser.h.

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 530 of file nvmedia_parser.h.

pfnCbNvMediaCreateDecrypter NvMediaParserClientCb::CreateDecrypter

Callback to create NvMediaVideoDecrypter component to handle encrypted contents.

Definition at line 555 of file nvmedia_parser.h.

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 538 of file nvmedia_parser.h.

pfnCbNvMediaDecryptHdr NvMediaParserClientCb::DecryptHdr

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

Definition at line 557 of file nvmedia_parser.h.

pfnCbNvMediaDisplayPicture NvMediaParserClientCb::DisplayPicture

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

Definition at line 540 of file nvmedia_parser.h.

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 570 of file nvmedia_parser.h.

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 565 of file nvmedia_parser.h.

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 575 of file nvmedia_parser.h.

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 549 of file nvmedia_parser.h.

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 561 of file nvmedia_parser.h.

pfnCbNvMediaUnhandledNALU NvMediaParserClientCb::UnhandledNALU

Callback to report unhandled NALU.

Definition at line 542 of file nvmedia_parser.h.


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