NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

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

Detailed Description

Definition at line 521 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 552 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 544 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 529 of file nvmedia_parser.h.

pfnCbNvMediaCreateDecrypter NvMediaParserClientCb::CreateDecrypter

Callback to create NvMediaVideoDecrypter component to handle encrypted contents.

Definition at line 554 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 537 of file nvmedia_parser.h.

pfnCbNvMediaDecryptHdr NvMediaParserClientCb::DecryptHdr

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

Definition at line 556 of file nvmedia_parser.h.

pfnCbNvMediaDisplayPicture NvMediaParserClientCb::DisplayPicture

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

Definition at line 539 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 569 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 564 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 574 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 548 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 560 of file nvmedia_parser.h.

pfnCbNvMediaUnhandledNALU NvMediaParserClientCb::UnhandledNALU

Callback to report unhandled NALU.

Definition at line 541 of file nvmedia_parser.h.


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