跳到主要内容

MTDecode API Reference

MUVIDDEC Functions​

Functions​

Function muvidGetDecoderCaps​

MUresult MUSAAPI muvidGetDecoderCaps(MUVIDDECODECAPS *pdc)

Queries decode capabilities of MTDEC-HW based on CodecType, ChromaFormat and BitDepthMinus8 parameters.

  1. Application fills IN parameters CodecType, ChromaFormat and BitDepthMinus8 of MUVIDDECODECAPS structure

  2. On calling muvidGetDecoderCaps, driver fills OUT parameters if the IN parameters are supported If IN parameters passed to the driver are not supported by MTDEC-HW, then all OUT params are set to 0. E.g: App fills - eCodecType = musaVideoCodec_H264; eChromaFormat = musaVideoChromaFormat_420; nBitDepthMinus8 = 0; Given IN parameters are supported, hence driver fills: bIsSupported = 1; nMinWidth = 16; nMinHeight = 16; nMaxWidth = 8192; nMaxHeight = 8192; nMaxMBCount = 262144; CodedWidth*CodedHeight/256 must be less than or equal to nMaxMBCount

Parameters:

  • pdc: MUVIDDECODECAPS *

Function muvidCreateDecoder​

MUresult MUSAAPI muvidCreateDecoder(MUvideodecoder *phDecoder, MUVIDDECODECREATEINFO *pdci)

Create the decoder object based on pdci. A handle to the created decoder is returned

Parameters:

  • phDecoder: MUvideodecoder *
  • pdci: MUVIDDECODECREATEINFO *

Function muvidDestroyDecoder​

MUresult MUSAAPI muvidDestroyDecoder(MUvideodecoder hDecoder)

Destroy the decoder object

Parameters:

  • hDecoder: MUvideodecoder

Function muvidDecodePicture​

MUresult MUSAAPI muvidDecodePicture(MUvideodecoder hDecoder, MUVIDPICPARAMS *pPicParams)

Decode a single picture (field or frame) Kicks off HW decoding

Parameters:

  • hDecoder: MUvideodecoder
  • pPicParams: MUVIDPICPARAMS *

Function muvidGetDecodeStatus​

MUresult MUSAAPI muvidGetDecodeStatus(MUvideodecoder hDecoder, int nPicIdx, MUVIDGETDECODESTATUS *pDecodeStatus)

Get the decode status for frame corresponding to nPicIdx

Parameters:

  • hDecoder: MUvideodecoder
  • nPicIdx: int
  • pDecodeStatus: MUVIDGETDECODESTATUS *

Function muvidReconfigureDecoder​

MUresult MUSAAPI muvidReconfigureDecoder(MUvideodecoder hDecoder, MUVIDRECONFIGUREDECODERINFO *pDecReconfigParams)

Used to reuse single decoder for multiple clips. Currently supports resolution change, resize params, display area params, target area params change for same codec. Must be called during MUVIDPARSERPARAMS::pfnSequenceCallback

Parameters:

  • hDecoder: MUvideodecoder
  • pDecReconfigParams: MUVIDRECONFIGUREDECODERINFO *

Function muvidMapVideoFrame​

MUresult MUSAAPI muvidMapVideoFrame(MUvideodecoder hDecoder, int nPicIdx, void **pDevPtr, unsigned int *pPitch, MUVIDPROCPARAMS *pVPP)

Post-process and map video frame corresponding to nPicIdx for use in musa. Returns musa device pointer and associated pitch of the video frame

Parameters:

  • hDecoder: MUvideodecoder
  • nPicIdx: int
  • pDevPtr: void **
  • pPitch: unsigned int *
  • pVPP: MUVIDPROCPARAMS *

Function muvidUnmapVideoFrame​

MUresult MUSAAPI muvidUnmapVideoFrame(MUvideodecoder hDecoder, void *DevPtr)

Unmap a previously mapped video frame

Parameters:

  • hDecoder: MUvideodecoder
  • DevPtr: void *

MUVIDDEC Data Structures​

Enumeration types​

Enumeration type MUresult​

Definition: muviddec.h (line 57)

enum MUresult {
MUSA_SUCCESS = 0,
MUSA_ERROR_INVALID_VALUE = 1,
MUSA_ERROR_OUT_OF_MEMORY = 2,
MUSA_ERROR_NOT_INITIALIZED = 3,
MUSA_ERROR_INVALID_DEVICE = 101,
MUSA_ERROR_ILLEGAL_INSTRUCTION = 715,
MUSA_ERROR_LAUNCH_FAILED = 719,
MUSA_ERROR_NOT_SUPPORTED = 801,
MUSA_ERROR_SYSTEM_NOT_READY = 802,
MUSA_ERROR_UNKNOWN = 999
}

Defines Returns codes for MTDEC.

Enumerator MUSA_SUCCESS​

The API call returned with no errors.

Enumerator MUSA_ERROR_INVALID_VALUE​

This indicates that one or more of the parameters passed to the API call

Enumerator MUSA_ERROR_OUT_OF_MEMORY​

The API call failed because it was unable to allocate enough memory to perform the requested operation.

Enumerator MUSA_ERROR_NOT_INITIALIZED​

The API call failed because the driver could not be initialized.

Enumerator MUSA_ERROR_INVALID_DEVICE​

This indicates that the device ordinal supplied by the user is invalid.

Enumerator MUSA_ERROR_ILLEGAL_INSTRUCTION​

The device encountered an illegal instruction

Enumerator MUSA_ERROR_LAUNCH_FAILED​

An exception occurred on the device while executing a process

Enumerator MUSA_ERROR_NOT_SUPPORTED​

The API call failed because the requested operation is not supported on the current system or device.

Enumerator MUSA_ERROR_SYSTEM_NOT_READY​

The system is not ready to work.

Enumerator MUSA_ERROR_UNKNOWN​

This indicates that an unknown internal error has occurred.

Enumeration type musaVideoCodec_enum​

Definition: muviddec.h (line 84)

enum musaVideoCodec_enum {
musaVideoCodec_H264 =0,
musaVideoCodec_HEVC,
musaVideoCodec_VP9,
musaVideoCodec_AV1,
musaVideoCodec_NumCodecs
}
Enumerator musaVideoCodec_H264​

H264

Enumerator musaVideoCodec_HEVC​

HEVC

Enumerator musaVideoCodec_VP9​

VP9

Enumerator musaVideoCodec_AV1​

AV1

Enumerator musaVideoCodec_NumCodecs​

Max codecs

Enumeration type musaVideoSurfaceFormat_enum​

Definition: muviddec.h (line 97)

enum musaVideoSurfaceFormat_enum {
musaVideoSurfaceFormat_NV12 =0,
musaVideoSurfaceFormat_P016 =1,
musaVideoSurfaceFormat_RGBA =2,
musaVideoSurfaceFormat_BGRA =3,
musaVideoSurfaceFormat_I420 =4,
musaVideoSurfaceFormat_DEFAULT =0xFF
}
Enumerator musaVideoSurfaceFormat_NV12​

Semi-Planar YUV [Y plane followed by interleaved UV plane]

Enumerator musaVideoSurfaceFormat_P016​

16 bit Semi-Planar YUV [Y plane followed by interleaved UV plane]. Can be used for 10 bit(6LSB bits 0), 12 bit (4LSB bits 0)

Enumerator musaVideoSurfaceFormat_RGBA​

Four bytes per pixel: red, green, blue, alpha.

Enumerator musaVideoSurfaceFormat_BGRA​

Four bytes per pixel: blue, green, red, alpha.

Enumerator musaVideoSurfaceFormat_I420​

three-plane 8-bit YUV 4:2:0, [contain Y, U and V respectively]

Enumerator musaVideoSurfaceFormat_DEFAULT​

Invalid format

Enumeration type musaVideoDeinterlaceMode_enum​

Definition: muviddec.h (line 114)

enum musaVideoDeinterlaceMode_enum {
musaVideoDeinterlaceMode_Weave =0,
musaVideoDeinterlaceMode_Bob,
musaVideoDeinterlaceMode_Adaptive
}
Enumerator musaVideoDeinterlaceMode_Weave​

Weave both fields (no deinterlacing)

Enumerator musaVideoDeinterlaceMode_Bob​

Drop one field

Enumerator musaVideoDeinterlaceMode_Adaptive​

Adaptive deinterlacing

Enumeration type musaVideoChromaFormat_enum​

Definition: muviddec.h (line 125)

enum musaVideoChromaFormat_enum {
musaVideoChromaFormat_420 =1
}
Enumerator musaVideoChromaFormat_420​

YUV 4:2:0

Enumeration type musaVideoCreateFlags_enum​

Definition: muviddec.h (line 134)

enum musaVideoCreateFlags_enum {
musaVideoCreate_Default = 0x00,
musaVideoCreate_MUSA = 0x01
}
Enumerator musaVideoCreate_Default​

Default operation mode: use dedicated video engines

Enumerator musaVideoCreate_MUSA​

Use musa decoder

Enumeration type muvidDecodeStatus_enum​

Definition: muviddec.h (line 145)

enum muvidDecodeStatus_enum {
muvidDecodeStatus_Invalid = 0,
muvidDecodeStatus_InProgress = 1,
muvidDecodeStatus_Success = 2,
muvidDecodeStatus_Error = 3,
muvidDecodeStatus_Error_Concealed = 4
}
Enumerator muvidDecodeStatus_Invalid​

Decode status is not valid

Enumerator muvidDecodeStatus_InProgress​

Decode is in progress

Enumerator muvidDecodeStatus_Success​

Decode is completed without any errors

Enumerator muvidDecodeStatus_Error​

Decode is completed with an error (error is not concealed)

Enumerator muvidDecodeStatus_Error_Concealed​

Decode is completed with an error and error is concealed

Enumeration type _MUSAPROCFLAG​

Definition: muviddec.h (line 791)

enum _MUSAPROCFLAG {
musaMapVideoFlag_ToSys = 0x0000,
musaMapVideoFlag_ToFd = 0x0001,
musaMapVideoFlag_ExportFd = 0x0002,
musaMapVideoFlag_Musa = 0x0003
}
Enumerator musaMapVideoFlag_ToSys​

Export frame to system memory

Enumerator musaMapVideoFlag_ToFd​

Show frame to target fd

Enumerator musaMapVideoFlag_ExportFd​

Export fd of frame

Enumerator musaMapVideoFlag_Musa​

musa device memory

Typedefs​

Typedef MUcontext​

Definition: muviddec.h (line 72)

typedef void* MUcontext

Return type: void *

Typedef MUdeviceptr​

Definition: muviddec.h (line 73)

typedef void* MUdeviceptr

Return type: void *

Typedef MUvideodecoder​

Definition: muviddec.h (line 76)

typedef void* MUvideodecoder

Return type: void *

Typedef MUvideoctxlock​

Definition: muviddec.h (line 77)

typedef void* MUvideoctxlock

Return type: void *

Typedef musaVideoCodec​

Definition: muviddec.h (line 90)

typedef enum musaVideoCodec_enum musaVideoCodec

Return type: enum musaVideoCodec_enum

Typedef musaVideoSurfaceFormat​

Definition: muviddec.h (line 105)

typedef enum musaVideoSurfaceFormat_enum musaVideoSurfaceFormat

Return type: enum musaVideoSurfaceFormat_enum

Typedef musaVideoDeinterlaceMode​

Definition: muviddec.h (line 118)

typedef enum musaVideoDeinterlaceMode_enum musaVideoDeinterlaceMode

Return type: enum musaVideoDeinterlaceMode_enum

Typedef musaVideoChromaFormat​

Definition: muviddec.h (line 127)

typedef enum musaVideoChromaFormat_enum musaVideoChromaFormat

Return type: enum musaVideoChromaFormat_enum

Typedef musaVideoCreateFlags​

Definition: muviddec.h (line 137)

typedef enum musaVideoCreateFlags_enum musaVideoCreateFlags

Return type: enum musaVideoCreateFlags_enum

Typedef muvidDecodeStatus​

Definition: muviddec.h (line 152)

typedef enum muvidDecodeStatus_enum muvidDecodeStatus

Return type: enum muvidDecodeStatus_enum

Typedef MUVIDDECODECAPS​

Definition: muviddec.h (line 180)

typedef struct _MUVIDDECODECAPS MUVIDDECODECAPS

Return type: struct _MUVIDDECODECAPS

Typedef MUVIDDECODECREATEINFO​

Definition: muviddec.h (line 235)

typedef struct _MUVIDDECODECREATEINFO MUVIDDECODECREATEINFO

Return type: struct _MUVIDDECODECREATEINFO

Typedef MUVIDH264DPBENTRY​

Definition: muviddec.h (line 251)

typedef struct _MUVIDH264DPBENTRY MUVIDH264DPBENTRY

Return type: struct _MUVIDH264DPBENTRY

Typedef MUVIDH264MVCEXT​

Definition: muviddec.h (line 268)

typedef struct _MUVIDH264MVCEXT MUVIDH264MVCEXT

Return type: struct _MUVIDH264MVCEXT

Typedef MUVIDH264SVCEXT​

Definition: muviddec.h (line 309)

typedef struct _MUVIDH264SVCEXT MUVIDH264SVCEXT

Return type: struct _MUVIDH264SVCEXT

Typedef MUVIDH264PICPARAMS​

Definition: muviddec.h (line 371)

typedef struct _MUVIDH264PICPARAMS MUVIDH264PICPARAMS

Return type: struct _MUVIDH264PICPARAMS

Typedef MUVIDHEVCPICPARAMS​

Definition: muviddec.h (line 509)

typedef struct _MUVIDHEVCPICPARAMS MUVIDHEVCPICPARAMS

Return type: struct _MUVIDHEVCPICPARAMS

Typedef MUVIDVP9PICPARAMS​

Definition: muviddec.h (line 580)

typedef struct _MUVIDVP9PICPARAMS MUVIDVP9PICPARAMS

Return type: struct _MUVIDVP9PICPARAMS

Typedef MUVIDAV1PICPARAMS​

Definition: muviddec.h (line 756)

typedef struct _MUVIDAV1PICPARAMS MUVIDAV1PICPARAMS

Return type: struct _MUVIDAV1PICPARAMS

Typedef MUVIDPICPARAMS​

Definition: muviddec.h (line 789)

typedef struct _MUVIDPICPARAMS MUVIDPICPARAMS

Return type: struct _MUVIDPICPARAMS

Typedef MUSAPROCFLAG​

Definition: muviddec.h (line 796)

typedef enum _MUSAPROCFLAG MUSAPROCFLAG

Return type: enum _MUSAPROCFLAG

Typedef MUSAVIDEOFRAMEINFO​

Definition: muviddec.h (line 807)

typedef struct _MUSAVIDEOFRAMEINFO MUSAVIDEOFRAMEINFO

Return type: struct _MUSAVIDEOFRAMEINFO

Typedef MUSAMAPVIDEOTOSYSPARAMS​

Definition: muviddec.h (line 814)

typedef struct _MUSAMAPVIDEOTOSYSPARAMS MUSAMAPVIDEOTOSYSPARAMS

Return type: struct _MUSAMAPVIDEOTOSYSPARAMS

Typedef MUSAMAPVIDEOTOFDPARAMS​

Definition: muviddec.h (line 819)

typedef struct _MUSAMAPVIDEOTOFDPARAMS MUSAMAPVIDEOTOFDPARAMS

Return type: struct _MUSAMAPVIDEOTOFDPARAMS

Typedef MUSAMAPVIDEOTOMUSAPARAMS​

Definition: muviddec.h (line 826)

typedef struct _MUSAMAPVIDEOTOMUSAPARAMS MUSAMAPVIDEOTOMUSAPARAMS

Return type: struct _MUSAMAPVIDEOTOMUSAPARAMS

Typedef MUSAMAPVIDEOEXPORTFDPARAMS​

Definition: muviddec.h (line 831)

typedef struct _MUSAMAPVIDEOEXPORTFDPARAMS MUSAMAPVIDEOEXPORTFDPARAMS

Return type: struct _MUSAMAPVIDEOEXPORTFDPARAMS

Typedef MUSAPROCPARAMS​

Definition: muviddec.h (line 847)

typedef struct _MUSAPROCPARAMS MUSAPROCPARAMS

Return type: struct _MUSAPROCPARAMS

Typedef MUVIDPROCPARAMS​

Definition: muviddec.h (line 875)

typedef struct _MUVIDPROCPARAMS MUVIDPROCPARAMS

Return type: struct _MUVIDPROCPARAMS

Typedef MUVIDGETDECODESTATUS​

Definition: muviddec.h (line 887)

typedef struct _MUVIDGETDECODESTATUS MUVIDGETDECODESTATUS

Return type: struct _MUVIDGETDECODESTATUS

Typedef MUVIDRECONFIGUREDECODERINFO​

Definition: muviddec.h (line 921)

typedef struct _MUVIDRECONFIGUREDECODERINFO MUVIDRECONFIGUREDECODERINFO

Return type: struct _MUVIDRECONFIGUREDECODERINFO


MTMUVID Functions​

Functions​

Function muvidCreateVideoParser​

MUresult MUSAAPI muvidCreateVideoParser(MUvideoparser *pObj, MUVIDPARSERPARAMS *pParams)

Create video parser object and initialize

Parameters:

  • pObj: MUvideoparser *
  • pParams: MUVIDPARSERPARAMS *

Function muvidParseVideoData​

MUresult MUSAAPI muvidParseVideoData(MUvideoparser obj, MUVIDSOURCEDATAPACKET *pPacket)

Parse the video data from source data packet in pPacket Extracts parameter sets like SPS, PPS, bitstream etc. from pPacket and calls back pfnDecodePicture with MUVIDPICPARAMS data for kicking of HW decoding calls back pfnSequenceCallback with MUVIDEOFORMAT data for initial sequence header or when the decoder encounters a video format change calls back pfnDisplayPicture with MUVIDPARSERDISPINFO data to display a video frame

Parameters:

  • obj: MUvideoparser
  • pPacket: MUVIDSOURCEDATAPACKET *

Function muvidDestroyVideoParser​

MUresult MUSAAPI muvidDestroyVideoParser(MUvideoparser obj)

Destroy the video parser

Parameters:

  • obj: MUvideoparser

MTMUVID Data Structures​

Enumeration types​

Enumeration type MUvideopacketflags​

Definition: mtmuvid.h (line 301)

enum MUvideopacketflags {
MUVID_PKT_ENDOFSTREAM = 0x01,
MUVID_PKT_TIMESTAMP = 0x02,
MUVID_PKT_DISCONTINUITY = 0x04,
MUVID_PKT_ENDOFPICTURE = 0x08,
MUVID_PKT_NOTIFY_EOS = 0x10
}

Data packet flags Used in MUVIDSOURCEDATAPACKET structure

Enumerator MUVID_PKT_ENDOFSTREAM​

Set when this is the last packet for this stream

Enumerator MUVID_PKT_TIMESTAMP​

Timestamp is valid

Enumerator MUVID_PKT_DISCONTINUITY​

Set when a discontinuity has to be signalled

Enumerator MUVID_PKT_ENDOFPICTURE​

Set when the packet contains exactly one frame or one field

Enumerator MUVID_PKT_NOTIFY_EOS​

If this flag is set along with MUVID_PKT_ENDOFSTREAM, an additional (dummy) display callback will be invoked with null value of MUVIDPARSERDISPINFO which should be interpreted as end of the stream.

Typedefs​

Typedef MUvideoparser​

Definition: mtmuvid.h (line 115)

typedef void* MUvideoparser

Return type: void *

Typedef MUvideotimestamp​

Definition: mtmuvid.h (line 116)

typedef long long MUvideotimestamp

Return type: long long

Typedef HEVCTIMECODESET​

Definition: mtmuvid.h (line 141)

typedef struct _HEVCTIMECODESET HEVCTIMECODESET

Return type: struct _HEVCTIMECODESET

Typedef HEVCSEITIMECODE​

Definition: mtmuvid.h (line 152)

typedef struct _HEVCSEITIMECODE HEVCSEITIMECODE

Return type: struct _HEVCSEITIMECODE

Typedef MUSEIMESSAGE​

Definition: mtmuvid.h (line 164)

typedef struct _MUSEIMESSAGE MUSEIMESSAGE

Return type: struct _MUSEIMESSAGE

Typedef MUVIDSEIMESSAGEINFO​

Definition: mtmuvid.h (line 269)

typedef struct _MUVIDSEIMESSAGEINFO MUVIDSEIMESSAGEINFO

Return type: struct _MUVIDSEIMESSAGEINFO

Typedef MUVIDSOURCEDATAPACKET​

Definition: mtmuvid.h (line 325)

typedef struct _MUVIDSOURCEDATAPACKET MUVIDSOURCEDATAPACKET

Return type: struct _MUVIDSOURCEDATAPACKET

Typedef MUVIDPARSERDISPINFO​

Definition: mtmuvid.h (line 341)

typedef struct _MUVIDPARSERDISPINFO MUVIDPARSERDISPINFO

Return type: struct _MUVIDPARSERDISPINFO

Typedef MUVIDPARSERPARAMS​

Definition: mtmuvid.h (line 396)

typedef struct _MUVIDPARSERPARAMS MUVIDPARSERPARAMS

Return type: struct _MUVIDPARSERPARAMS

Typedef MUVIDFUNCTIONS​

Definition: mtmuvid.h (line 471)

typedef struct _MUVIDFUNCTIONS MUVIDFUNCTIONS

A list of pointers to the MTDecodeAPI functions.

Return type: struct _MUVIDFUNCTIONS

Macros​

Macro MAX_CLOCK_TS​

#define MAX_CLOCK_TS 3

Structures​


Structure _HEVCSEITIMECODE​

Definition: mtmuvid.h (line 148)

Members​

Public attributes​

Variable time_code_set​

Definition: mtmuvid.h (line 150)

HEVCTIMECODESET _HEVCSEITIMECODE::time_code_set[MAX_CLOCK_TS][MAX_CLOCK_TS]

Type: HEVCTIMECODESET

Variable num_clock_ts​

Definition: mtmuvid.h (line 151)

unsigned char _HEVCSEITIMECODE::num_clock_ts

Type: unsigned char


Structure HEVCSEITIMECODE​

Definition: mtmuvid.h (line 145)

Used to extract Time code SEI in HEVC codec

Members​


Structure _HEVCTIMECODESET​

Definition: mtmuvid.h (line 123)

Members​

Public attributes​

Variable time_offset_value​

Definition: mtmuvid.h (line 125)

unsigned int _HEVCTIMECODESET::time_offset_value

Type: unsigned int

Variable n_frames​

Definition: mtmuvid.h (line 126)

unsigned short _HEVCTIMECODESET::n_frames

Type: unsigned short

Variable clock_timestamp_flag​

Definition: mtmuvid.h (line 127)

unsigned char _HEVCTIMECODESET::clock_timestamp_flag

Type: unsigned char

Variable units_field_based_flag​

Definition: mtmuvid.h (line 128)

unsigned char _HEVCTIMECODESET::units_field_based_flag

Type: unsigned char

Variable counting_type​

Definition: mtmuvid.h (line 129)

unsigned char _HEVCTIMECODESET::counting_type

Type: unsigned char

Variable full_timestamp_flag​

Definition: mtmuvid.h (line 130)

unsigned char _HEVCTIMECODESET::full_timestamp_flag

Type: unsigned char

Variable discontinuity_flag​

Definition: mtmuvid.h (line 131)

unsigned char _HEVCTIMECODESET::discontinuity_flag

Type: unsigned char

Variable cnt_dropped_flag​

Definition: mtmuvid.h (line 132)

unsigned char _HEVCTIMECODESET::cnt_dropped_flag

Type: unsigned char

Variable seconds_value​

Definition: mtmuvid.h (line 133)

unsigned char _HEVCTIMECODESET::seconds_value

Type: unsigned char

Variable minutes_value​

Definition: mtmuvid.h (line 134)

unsigned char _HEVCTIMECODESET::minutes_value

Type: unsigned char

Variable hours_value​

Definition: mtmuvid.h (line 135)

unsigned char _HEVCTIMECODESET::hours_value

Type: unsigned char

Variable seconds_flag​

Definition: mtmuvid.h (line 136)

unsigned char _HEVCTIMECODESET::seconds_flag

Type: unsigned char

Variable minutes_flag​

Definition: mtmuvid.h (line 137)

unsigned char _HEVCTIMECODESET::minutes_flag

Type: unsigned char

Variable hours_flag​

Definition: mtmuvid.h (line 138)

unsigned char _HEVCTIMECODESET::hours_flag

Type: unsigned char

Variable time_offset_length​

Definition: mtmuvid.h (line 139)

unsigned char _HEVCTIMECODESET::time_offset_length

Type: unsigned char

Variable reserved​

Definition: mtmuvid.h (line 140)

unsigned char _HEVCTIMECODESET::reserved

Type: unsigned char


Structure HEVCTIMECODESET​

Definition: mtmuvid.h (line 120)

Used to store Time code extracted from Time code SEI in HEVC codec

Members​


Index of Structures​

H​

M​

_​


Structure _MUSAMAPVIDEOEXPORTFDPARAMS​

Definition: muviddec.h (line 828)

Members​

Public attributes​

Variable handle​

Definition: muviddec.h (line 829)

uint32_t _MUSAMAPVIDEOEXPORTFDPARAMS::handle

Type: uint32_t

Variable frameInfo​

Definition: muviddec.h (line 830)

MUSAVIDEOFRAMEINFO _MUSAMAPVIDEOEXPORTFDPARAMS::frameInfo

The frame info

Type: MUSAVIDEOFRAMEINFO


Structure _MUSAMAPVIDEOTOFDPARAMS​

Definition: muviddec.h (line 816)

Members​

Public attributes​

Variable fd​

Definition: muviddec.h (line 817)

uint32_t _MUSAMAPVIDEOTOFDPARAMS::fd

Type: uint32_t

Variable frameInfo​

Definition: muviddec.h (line 818)

MUSAVIDEOFRAMEINFO _MUSAMAPVIDEOTOFDPARAMS::frameInfo

The frame info

Type: MUSAVIDEOFRAMEINFO


Structure _MUSAMAPVIDEOTOMUSAPARAMS​

Definition: muviddec.h (line 821)

Members​

Public attributes​

Variable dataBase​

Definition: muviddec.h (line 822)

uint8_t* _MUSAMAPVIDEOTOMUSAPARAMS::dataBase

The data base pointer

Type: uint8_t *

Variable frameInfo​

Definition: muviddec.h (line 823)

MUSAVIDEOFRAMEINFO _MUSAMAPVIDEOTOMUSAPARAMS::frameInfo

The frame info

Type: MUSAVIDEOFRAMEINFO

Variable reserved​

Definition: muviddec.h (line 824)

unsigned int _MUSAMAPVIDEOTOMUSAPARAMS::reserved[8][8]

Reserved for future use (set to zero)

Type: unsigned int

Variable reserved2​

Definition: muviddec.h (line 825)

void* _MUSAMAPVIDEOTOMUSAPARAMS::reserved2[2][2]

Reserved for future use (set to zero)

Type: void *


Structure _MUSAMAPVIDEOTOSYSPARAMS​

Definition: muviddec.h (line 809)

Members​

Public attributes​

Variable dataBase​

Definition: muviddec.h (line 810)

uint8_t* _MUSAMAPVIDEOTOSYSPARAMS::dataBase

The data base pointer

Type: uint8_t *

Variable frameInfo​

Definition: muviddec.h (line 811)

MUSAVIDEOFRAMEINFO _MUSAMAPVIDEOTOSYSPARAMS::frameInfo

The frame info

Type: MUSAVIDEOFRAMEINFO

Variable reserved​

Definition: muviddec.h (line 812)

unsigned int _MUSAMAPVIDEOTOSYSPARAMS::reserved[8][8]

Reserved for future use (set to zero)

Type: unsigned int

Variable reserved2​

Definition: muviddec.h (line 813)

void* _MUSAMAPVIDEOTOSYSPARAMS::reserved2[2][2]

Reserved for future use (set to zero)

Type: void *


Structure _MUSAPROCPARAMS​

Definition: muviddec.h (line 833)

Members​

Public attributes​

Variable flag​

Definition: muviddec.h (line 834)

MUSAPROCFLAG _MUSAPROCPARAMS::flag

Type: MUSAPROCFLAG

Variable width​

Definition: muviddec.h (line 835)

uint32_t _MUSAPROCPARAMS::width

IN: The target frame width

Type: uint32_t

Variable height​

Definition: muviddec.h (line 836)

uint32_t _MUSAPROCPARAMS::height

IN: The target frame height

Type: uint32_t

Variable format​

Definition: muviddec.h (line 837)

musaVideoSurfaceFormat _MUSAPROCPARAMS::format

IN: The target frame format

Type: musaVideoSurfaceFormat

Variable reserved​

Definition: muviddec.h (line 838)

uint32_t _MUSAPROCPARAMS::reserved[4][4]

IN: The target frame width

Type: uint32_t

Variable toSysParams​

Definition: muviddec.h (line 841)

MUSAMAPVIDEOTOSYSPARAMS _MUSAPROCPARAMS::toSysParams

Out: The system memory of the frame buffer

Type: MUSAMAPVIDEOTOSYSPARAMS

Variable toFdParams​

Definition: muviddec.h (line 842)

MUSAMAPVIDEOTOFDPARAMS _MUSAPROCPARAMS::toFdParams

IN: To show target fd

Type: MUSAMAPVIDEOTOFDPARAMS

Variable exportFdParams​

Definition: muviddec.h (line 843)

MUSAMAPVIDEOEXPORTFDPARAMS _MUSAPROCPARAMS::exportFdParams

Out: The export frame info

Type: MUSAMAPVIDEOEXPORTFDPARAMS

Variable toMusaParams​

Definition: muviddec.h (line 844)

MUSAMAPVIDEOTOMUSAPARAMS _MUSAPROCPARAMS::toMusaParams

Type: MUSAMAPVIDEOTOMUSAPARAMS

Variable specificParams​

Definition: muviddec.h (line 845)

union _MUSAPROCPARAMS _MUSAPROCPARAMS::specificParams

Type: union _MUSAPROCPARAMS

Variable reserved1​

Definition: muviddec.h (line 846)

void* _MUSAPROCPARAMS::reserved1[3][3]

Reserved for future use (set to zero)

Type: void *


Structure _MUSAVIDEOFRAMEINFO​

Definition: muviddec.h (line 798)

Members​

Public attributes​

Variable width​

Definition: muviddec.h (line 799)

uint16_t _MUSAVIDEOFRAMEINFO::width

The width of the video frame

Type: uint16_t

Variable height​

Definition: muviddec.h (line 800)

uint16_t _MUSAVIDEOFRAMEINFO::height

The height of the video frame

Type: uint16_t

Variable dataSize​

Definition: muviddec.h (line 801)

uint32_t _MUSAVIDEOFRAMEINFO::dataSize

The data size of the video frame

Type: uint32_t

Variable numPlanes​

Definition: muviddec.h (line 802)

uint32_t _MUSAVIDEOFRAMEINFO::numPlanes

The planes of the video frame, can not be greater than 4

Type: uint32_t

Variable reserved​

Definition: muviddec.h (line 803)

uint32_t _MUSAVIDEOFRAMEINFO::reserved[3][3]

Type: uint32_t

Variable pitches​

Definition: muviddec.h (line 804)

uint32_t _MUSAVIDEOFRAMEINFO::pitches[4][4]

An array indicating the scanline pitch in bytes for each plane

Type: uint32_t

Variable offsets​

Definition: muviddec.h (line 805)

uint32_t _MUSAVIDEOFRAMEINFO::offsets[4][4]

An array indicating the byte offset from the beginning of the image data to the start of each plane.

Type: uint32_t

Variable reserved1​

Definition: muviddec.h (line 806)

unsigned int _MUSAVIDEOFRAMEINFO::reserved1[8][8]

Reserved for future use (set to zero)

Type: unsigned int


Structure _MUSEIMESSAGE​

Definition: mtmuvid.h (line 159)

Members​

Public attributes​

Variable sei_message_type​

Definition: mtmuvid.h (line 161)

unsigned char _MUSEIMESSAGE::sei_message_type

OUT: SEI Message Type

Type: unsigned char

Variable reserved​

Definition: mtmuvid.h (line 162)

unsigned char _MUSEIMESSAGE::reserved[3][3]

Type: unsigned char

Variable sei_message_size​

Definition: mtmuvid.h (line 163)

unsigned int _MUSEIMESSAGE::sei_message_size

OUT: SEI Message Size

Type: unsigned int


Structure MUSEIMESSAGE​

Definition: mtmuvid.h (line 156)

Used in MUVIDSEIMESSAGEINFO structure

Members​


Structure _MUVIDAV1PICPARAMS​

Definition: muviddec.h (line 587)

Members​

Public attributes​

Variable width​

Definition: muviddec.h (line 589)

unsigned int _MUVIDAV1PICPARAMS::width

Type: unsigned int

Variable height​

Definition: muviddec.h (line 590)

unsigned int _MUVIDAV1PICPARAMS::height

Type: unsigned int

Variable frame_offset​

Definition: muviddec.h (line 591)

unsigned int _MUVIDAV1PICPARAMS::frame_offset

Type: unsigned int

Variable decodePicIdx​

Definition: muviddec.h (line 592)

int _MUVIDAV1PICPARAMS::decodePicIdx

Type: int

Variable profile​

Definition: muviddec.h (line 596)

unsigned int _MUVIDAV1PICPARAMS::profile

Type: unsigned int

Variable use_128x128_superblock​

Definition: muviddec.h (line 597)

unsigned int _MUVIDAV1PICPARAMS::use_128x128_superblock

Type: unsigned int

Variable subsampling_x​

Definition: muviddec.h (line 598)

unsigned int _MUVIDAV1PICPARAMS::subsampling_x

Type: unsigned int

Variable subsampling_y​

Definition: muviddec.h (line 599)

unsigned int _MUVIDAV1PICPARAMS::subsampling_y

Type: unsigned int

Variable mono_chrome​

Definition: muviddec.h (line 600)

unsigned int _MUVIDAV1PICPARAMS::mono_chrome

Type: unsigned int

Variable bit_depth_minus8​

Definition: muviddec.h (line 601)

unsigned int _MUVIDAV1PICPARAMS::bit_depth_minus8

Type: unsigned int

Variable enable_filter_intra​

Definition: muviddec.h (line 602)

unsigned int _MUVIDAV1PICPARAMS::enable_filter_intra

Type: unsigned int

Variable enable_intra_edge_filter​

Definition: muviddec.h (line 603)

unsigned int _MUVIDAV1PICPARAMS::enable_intra_edge_filter

Type: unsigned int

Variable enable_interintra_compound​

Definition: muviddec.h (line 604)

unsigned int _MUVIDAV1PICPARAMS::enable_interintra_compound

Type: unsigned int

Variable enable_masked_compound​

Definition: muviddec.h (line 605)

unsigned int _MUVIDAV1PICPARAMS::enable_masked_compound

Type: unsigned int

Variable enable_dual_filter​

Definition: muviddec.h (line 607)

unsigned int _MUVIDAV1PICPARAMS::enable_dual_filter

Type: unsigned int

Variable enable_order_hint​

Definition: muviddec.h (line 608)

unsigned int _MUVIDAV1PICPARAMS::enable_order_hint

Type: unsigned int

Variable order_hint_bits_minus1​

Definition: muviddec.h (line 609)

unsigned int _MUVIDAV1PICPARAMS::order_hint_bits_minus1

Type: unsigned int

Variable enable_jnt_comp​

Definition: muviddec.h (line 610)

unsigned int _MUVIDAV1PICPARAMS::enable_jnt_comp

Type: unsigned int

Variable enable_superres​

Definition: muviddec.h (line 611)

unsigned int _MUVIDAV1PICPARAMS::enable_superres

Type: unsigned int

Variable enable_cdef​

Definition: muviddec.h (line 612)

unsigned int _MUVIDAV1PICPARAMS::enable_cdef

Type: unsigned int

Variable enable_restoration​

Definition: muviddec.h (line 613)

unsigned int _MUVIDAV1PICPARAMS::enable_restoration

Type: unsigned int

Variable enable_fgs​

Definition: muviddec.h (line 614)

unsigned int _MUVIDAV1PICPARAMS::enable_fgs

Type: unsigned int

Variable reserved0_7bits​

Definition: muviddec.h (line 615)

unsigned int _MUVIDAV1PICPARAMS::reserved0_7bits

Type: unsigned int

Variable frame_type​

Definition: muviddec.h (line 618)

unsigned int _MUVIDAV1PICPARAMS::frame_type

Type: unsigned int

Variable show_frame​

Definition: muviddec.h (line 619)

unsigned int _MUVIDAV1PICPARAMS::show_frame

Type: unsigned int

Variable disable_cdf_update​

Definition: muviddec.h (line 620)

unsigned int _MUVIDAV1PICPARAMS::disable_cdf_update

Type: unsigned int

Variable allow_screen_content_tools​

Definition: muviddec.h (line 621)

unsigned int _MUVIDAV1PICPARAMS::allow_screen_content_tools

Type: unsigned int

Variable force_integer_mv​

Definition: muviddec.h (line 622)

unsigned int _MUVIDAV1PICPARAMS::force_integer_mv

Type: unsigned int

Variable coded_denom​

Definition: muviddec.h (line 623)

unsigned int _MUVIDAV1PICPARAMS::coded_denom

Type: unsigned int

Variable allow_intrabc​

Definition: muviddec.h (line 624)

unsigned int _MUVIDAV1PICPARAMS::allow_intrabc

Type: unsigned int

Variable allow_high_precision_mv​

Definition: muviddec.h (line 625)

unsigned int _MUVIDAV1PICPARAMS::allow_high_precision_mv

Type: unsigned int

Variable interp_filter​

Definition: muviddec.h (line 626)

unsigned int _MUVIDAV1PICPARAMS::interp_filter

Type: unsigned int

Variable switchable_motion_mode​

Definition: muviddec.h (line 627)

unsigned int _MUVIDAV1PICPARAMS::switchable_motion_mode

Type: unsigned int

Variable use_ref_frame_mvs​

Definition: muviddec.h (line 628)

unsigned int _MUVIDAV1PICPARAMS::use_ref_frame_mvs

Type: unsigned int

Variable disable_frame_end_update_cdf​

Definition: muviddec.h (line 629)

unsigned int _MUVIDAV1PICPARAMS::disable_frame_end_update_cdf

Type: unsigned int

Variable delta_q_present​

Definition: muviddec.h (line 630)

unsigned int _MUVIDAV1PICPARAMS::delta_q_present

Type: unsigned int

Variable delta_q_res​

Definition: muviddec.h (line 631)

unsigned int _MUVIDAV1PICPARAMS::delta_q_res

Type: unsigned int

Variable using_qmatrix​

Definition: muviddec.h (line 632)

unsigned int _MUVIDAV1PICPARAMS::using_qmatrix

Type: unsigned int

Variable coded_lossless​

Definition: muviddec.h (line 633)

unsigned int _MUVIDAV1PICPARAMS::coded_lossless

Type: unsigned int

Variable use_superres​

Definition: muviddec.h (line 634)

unsigned int _MUVIDAV1PICPARAMS::use_superres

Type: unsigned int

Variable tx_mode​

Definition: muviddec.h (line 635)

unsigned int _MUVIDAV1PICPARAMS::tx_mode

Type: unsigned int

Variable reference_mode​

Definition: muviddec.h (line 636)

unsigned int _MUVIDAV1PICPARAMS::reference_mode

Type: unsigned int

Variable allow_warped_motion​

Definition: muviddec.h (line 637)

unsigned int _MUVIDAV1PICPARAMS::allow_warped_motion

Type: unsigned int

Variable reduced_tx_set​

Definition: muviddec.h (line 638)

unsigned int _MUVIDAV1PICPARAMS::reduced_tx_set

Type: unsigned int

Variable skip_mode​

Definition: muviddec.h (line 639)

unsigned int _MUVIDAV1PICPARAMS::skip_mode

Type: unsigned int

Variable reserved1_3bits​

Definition: muviddec.h (line 640)

unsigned int _MUVIDAV1PICPARAMS::reserved1_3bits

Type: unsigned int

Variable num_tile_cols​

Definition: muviddec.h (line 643)

unsigned int _MUVIDAV1PICPARAMS::num_tile_cols

Type: unsigned int

Variable num_tile_rows​

Definition: muviddec.h (line 644)

unsigned int _MUVIDAV1PICPARAMS::num_tile_rows

Type: unsigned int

Variable context_update_tile_id​

Definition: muviddec.h (line 645)

unsigned int _MUVIDAV1PICPARAMS::context_update_tile_id

Type: unsigned int

Variable tile_widths​

Definition: muviddec.h (line 646)

unsigned short _MUVIDAV1PICPARAMS::tile_widths[64][64]

Type: unsigned short

Variable tile_heights​

Definition: muviddec.h (line 647)

unsigned short _MUVIDAV1PICPARAMS::tile_heights[64][64]

Type: unsigned short

Variable cdef_damping_minus_3​

Definition: muviddec.h (line 650)

unsigned char _MUVIDAV1PICPARAMS::cdef_damping_minus_3

Type: unsigned char

Variable cdef_bits​

Definition: muviddec.h (line 651)

unsigned char _MUVIDAV1PICPARAMS::cdef_bits

Type: unsigned char

Variable reserved2_4bits​

Definition: muviddec.h (line 652)

unsigned char _MUVIDAV1PICPARAMS::reserved2_4bits

Type: unsigned char

Variable cdef_y_strength​

Definition: muviddec.h (line 653)

unsigned char _MUVIDAV1PICPARAMS::cdef_y_strength[8][8]

Type: unsigned char

Variable cdef_uv_strength​

Definition: muviddec.h (line 654)

unsigned char _MUVIDAV1PICPARAMS::cdef_uv_strength[8][8]

Type: unsigned char

Variable SkipModeFrame0​

Definition: muviddec.h (line 657)

unsigned char _MUVIDAV1PICPARAMS::SkipModeFrame0

Type: unsigned char

Variable SkipModeFrame1​

Definition: muviddec.h (line 658)

unsigned char _MUVIDAV1PICPARAMS::SkipModeFrame1

Type: unsigned char

Variable base_qindex​

Definition: muviddec.h (line 661)

unsigned char _MUVIDAV1PICPARAMS::base_qindex

Type: unsigned char

Variable qp_y_dc_delta_q​

Definition: muviddec.h (line 662)

char _MUVIDAV1PICPARAMS::qp_y_dc_delta_q

Type: char

Variable qp_u_dc_delta_q​

Definition: muviddec.h (line 663)

char _MUVIDAV1PICPARAMS::qp_u_dc_delta_q

Type: char

Variable qp_v_dc_delta_q​

Definition: muviddec.h (line 664)

char _MUVIDAV1PICPARAMS::qp_v_dc_delta_q

Type: char

Variable qp_u_ac_delta_q​

Definition: muviddec.h (line 665)

char _MUVIDAV1PICPARAMS::qp_u_ac_delta_q

Type: char

Variable qp_v_ac_delta_q​

Definition: muviddec.h (line 666)

char _MUVIDAV1PICPARAMS::qp_v_ac_delta_q

Type: char

Variable qm_y​

Definition: muviddec.h (line 667)

unsigned char _MUVIDAV1PICPARAMS::qm_y

Type: unsigned char

Variable qm_u​

Definition: muviddec.h (line 668)

unsigned char _MUVIDAV1PICPARAMS::qm_u

Type: unsigned char

Variable qm_v​

Definition: muviddec.h (line 669)

unsigned char _MUVIDAV1PICPARAMS::qm_v

Type: unsigned char

Variable segmentation_enabled​

Definition: muviddec.h (line 672)

unsigned char _MUVIDAV1PICPARAMS::segmentation_enabled

Type: unsigned char

Variable segmentation_update_map​

Definition: muviddec.h (line 673)

unsigned char _MUVIDAV1PICPARAMS::segmentation_update_map

Type: unsigned char

Variable segmentation_update_data​

Definition: muviddec.h (line 674)

unsigned char _MUVIDAV1PICPARAMS::segmentation_update_data

Type: unsigned char

Variable segmentation_temporal_update​

Definition: muviddec.h (line 675)

unsigned char _MUVIDAV1PICPARAMS::segmentation_temporal_update

Type: unsigned char

Variable reserved3_4bits​

Definition: muviddec.h (line 676)

unsigned char _MUVIDAV1PICPARAMS::reserved3_4bits

Type: unsigned char

Variable segmentation_feature_data​

Definition: muviddec.h (line 677)

short _MUVIDAV1PICPARAMS::segmentation_feature_data[8][8][8][8]

Type: short

Variable segmentation_feature_mask​

Definition: muviddec.h (line 678)

unsigned char _MUVIDAV1PICPARAMS::segmentation_feature_mask[8][8]

Type: unsigned char

Variable loop_filter_level​

Definition: muviddec.h (line 681)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_level[2][2]

Type: unsigned char

Variable loop_filter_level_u​

Definition: muviddec.h (line 682)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_level_u

Type: unsigned char

Variable loop_filter_level_v​

Definition: muviddec.h (line 683)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_level_v

Type: unsigned char

Variable loop_filter_sharpness​

Definition: muviddec.h (line 684)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_sharpness

Type: unsigned char

Variable loop_filter_ref_deltas​

Definition: muviddec.h (line 685)

char _MUVIDAV1PICPARAMS::loop_filter_ref_deltas[8][8]

Type: char

Variable loop_filter_mode_deltas​

Definition: muviddec.h (line 686)

char _MUVIDAV1PICPARAMS::loop_filter_mode_deltas[2][2]

Type: char

Variable loop_filter_delta_enabled​

Definition: muviddec.h (line 687)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_delta_enabled

Type: unsigned char

Variable loop_filter_delta_update​

Definition: muviddec.h (line 688)

unsigned char _MUVIDAV1PICPARAMS::loop_filter_delta_update

Type: unsigned char

Variable delta_lf_present​

Definition: muviddec.h (line 690)

unsigned char _MUVIDAV1PICPARAMS::delta_lf_present

Type: unsigned char

Variable delta_lf_res​

Definition: muviddec.h (line 691)

unsigned char _MUVIDAV1PICPARAMS::delta_lf_res

Type: unsigned char

Variable delta_lf_multi​

Definition: muviddec.h (line 692)

unsigned char _MUVIDAV1PICPARAMS::delta_lf_multi

Type: unsigned char

Variable reserved4_2bits​

Definition: muviddec.h (line 693)

unsigned char _MUVIDAV1PICPARAMS::reserved4_2bits

Type: unsigned char

Variable lr_unit_size​

Definition: muviddec.h (line 696)

unsigned char _MUVIDAV1PICPARAMS::lr_unit_size[3][3]

Type: unsigned char

Variable lr_type​

Definition: muviddec.h (line 697)

unsigned char _MUVIDAV1PICPARAMS::lr_type[3][3]

Type: unsigned char

Variable primary_ref_frame​

Definition: muviddec.h (line 700)

unsigned char _MUVIDAV1PICPARAMS::primary_ref_frame

Type: unsigned char

Variable ref_frame_map​

Definition: muviddec.h (line 702)

unsigned char _MUVIDAV1PICPARAMS::ref_frame_map[8][8]

Type: unsigned char

Variable temporal_layer_id​

Definition: muviddec.h (line 704)

unsigned char _MUVIDAV1PICPARAMS::temporal_layer_id

Type: unsigned char

Variable spatial_layer_id​

Definition: muviddec.h (line 705)

unsigned char _MUVIDAV1PICPARAMS::spatial_layer_id

Type: unsigned char

Variable reserved5_32bits​

Definition: muviddec.h (line 707)

unsigned char _MUVIDAV1PICPARAMS::reserved5_32bits[4][4]

Type: unsigned char

Variable index​

Definition: muviddec.h (line 714)

unsigned char _MUVIDAV1PICPARAMS::index

Type: unsigned char

Variable reserved24Bits​

Definition: muviddec.h (line 715)

unsigned char _MUVIDAV1PICPARAMS::reserved24Bits[3][3]

Type: unsigned char

Variable ref_frame​

Definition: muviddec.h (line 716)

struct _MUVIDAV1PICPARAMS _MUVIDAV1PICPARAMS::ref_frame[7][7]

Type: struct _MUVIDAV1PICPARAMS

Variable invalid​

Definition: muviddec.h (line 720)

unsigned char _MUVIDAV1PICPARAMS::invalid

Type: unsigned char

Variable wmtype​

Definition: muviddec.h (line 721)

unsigned char _MUVIDAV1PICPARAMS::wmtype

Type: unsigned char

Variable reserved5Bits​

Definition: muviddec.h (line 722)

unsigned char _MUVIDAV1PICPARAMS::reserved5Bits

Type: unsigned char

Variable reserved24Bits​

Definition: muviddec.h (line 723)

char _MUVIDAV1PICPARAMS::reserved24Bits[3][3]

Type: char

Variable wmmat​

Definition: muviddec.h (line 724)

int _MUVIDAV1PICPARAMS::wmmat[6][6]

Type: int

Variable global_motion​

Definition: muviddec.h (line 725)

struct _MUVIDAV1PICPARAMS _MUVIDAV1PICPARAMS::global_motion[7][7]

Type: struct _MUVIDAV1PICPARAMS

Variable apply_grain​

Definition: muviddec.h (line 728)

unsigned short _MUVIDAV1PICPARAMS::apply_grain

Type: unsigned short

Variable overlap_flag​

Definition: muviddec.h (line 729)

unsigned short _MUVIDAV1PICPARAMS::overlap_flag

Type: unsigned short

Variable scaling_shift_minus8​

Definition: muviddec.h (line 730)

unsigned short _MUVIDAV1PICPARAMS::scaling_shift_minus8

Type: unsigned short

Variable chroma_scaling_from_luma​

Definition: muviddec.h (line 731)

unsigned short _MUVIDAV1PICPARAMS::chroma_scaling_from_luma

Type: unsigned short

Variable ar_coeff_lag​

Definition: muviddec.h (line 732)

unsigned short _MUVIDAV1PICPARAMS::ar_coeff_lag

Type: unsigned short

Variable ar_coeff_shift_minus6​

Definition: muviddec.h (line 733)

unsigned short _MUVIDAV1PICPARAMS::ar_coeff_shift_minus6

Type: unsigned short

Variable grain_scale_shift​

Definition: muviddec.h (line 734)

unsigned short _MUVIDAV1PICPARAMS::grain_scale_shift

Type: unsigned short

Variable clip_to_restricted_range​

Definition: muviddec.h (line 735)

unsigned short _MUVIDAV1PICPARAMS::clip_to_restricted_range

Type: unsigned short

Variable reserved6_4bits​

Definition: muviddec.h (line 736)

unsigned short _MUVIDAV1PICPARAMS::reserved6_4bits

Type: unsigned short

Variable num_y_points​

Definition: muviddec.h (line 737)

unsigned char _MUVIDAV1PICPARAMS::num_y_points

Type: unsigned char

Variable scaling_points_y​

Definition: muviddec.h (line 738)

unsigned char _MUVIDAV1PICPARAMS::scaling_points_y[14][2][14][2]

Type: unsigned char

Variable num_cb_points​

Definition: muviddec.h (line 739)

unsigned char _MUVIDAV1PICPARAMS::num_cb_points

Type: unsigned char

Variable scaling_points_cb​

Definition: muviddec.h (line 740)

unsigned char _MUVIDAV1PICPARAMS::scaling_points_cb[10][2][10][2]

Type: unsigned char

Variable num_cr_points​

Definition: muviddec.h (line 741)

unsigned char _MUVIDAV1PICPARAMS::num_cr_points

Type: unsigned char

Variable scaling_points_cr​

Definition: muviddec.h (line 742)

unsigned char _MUVIDAV1PICPARAMS::scaling_points_cr[10][2][10][2]

Type: unsigned char

Variable reserved7_8bits​

Definition: muviddec.h (line 743)

unsigned char _MUVIDAV1PICPARAMS::reserved7_8bits

Type: unsigned char

Variable random_seed​

Definition: muviddec.h (line 744)

unsigned short _MUVIDAV1PICPARAMS::random_seed

Type: unsigned short

Variable ar_coeffs_y​

Definition: muviddec.h (line 745)

short _MUVIDAV1PICPARAMS::ar_coeffs_y[24][24]

Type: short

Variable ar_coeffs_cb​

Definition: muviddec.h (line 746)

short _MUVIDAV1PICPARAMS::ar_coeffs_cb[25][25]

Type: short

Variable ar_coeffs_cr​

Definition: muviddec.h (line 747)

short _MUVIDAV1PICPARAMS::ar_coeffs_cr[25][25]

Type: short

Variable cb_mult​

Definition: muviddec.h (line 748)

unsigned char _MUVIDAV1PICPARAMS::cb_mult

Type: unsigned char

Variable cb_luma_mult​

Definition: muviddec.h (line 749)

unsigned char _MUVIDAV1PICPARAMS::cb_luma_mult

Type: unsigned char

Variable cb_offset​

Definition: muviddec.h (line 750)

short _MUVIDAV1PICPARAMS::cb_offset

Type: short

Variable cr_mult​

Definition: muviddec.h (line 751)

unsigned char _MUVIDAV1PICPARAMS::cr_mult

Type: unsigned char

Variable cr_luma_mult​

Definition: muviddec.h (line 752)

unsigned char _MUVIDAV1PICPARAMS::cr_luma_mult

Type: unsigned char

Variable cr_offset​

Definition: muviddec.h (line 753)

short _MUVIDAV1PICPARAMS::cr_offset

Type: short

Variable reserved​

Definition: muviddec.h (line 755)

int _MUVIDAV1PICPARAMS::reserved[7][7]

Type: int


Structure MUVIDAV1PICPARAMS​

Definition: muviddec.h (line 583)

AV1 picture parameters This structure is used in MUVIDPICPARAMS structure

Members​


Structure MUVIDAV1SEQHDR​

Definition: mtmuvid.h (line 276)

AV1 specific sequence header information

Members​

Public attributes​

Variable max_width​

Definition: mtmuvid.h (line 277)

unsigned int MUVIDAV1SEQHDR::max_width

Type: unsigned int

Variable max_height​

Definition: mtmuvid.h (line 278)

unsigned int MUVIDAV1SEQHDR::max_height

Type: unsigned int

Variable reserved​

Definition: mtmuvid.h (line 279)

unsigned char MUVIDAV1SEQHDR::reserved[1016][1016]

Type: unsigned char


Structure _MUVIDDECODECAPS​

Definition: muviddec.h (line 158)

Members​

Public attributes​

Variable eCodecType​

Definition: muviddec.h (line 160)

musaVideoCodec _MUVIDDECODECAPS::eCodecType

IN: musaVideoCodec_XXX

Type: musaVideoCodec

Variable eChromaFormat​

Definition: muviddec.h (line 161)

musaVideoChromaFormat _MUVIDDECODECAPS::eChromaFormat

IN: musaVideoChromaFormat_XXX

Type: musaVideoChromaFormat

Variable nBitDepthMinus8​

Definition: muviddec.h (line 162)

unsigned int _MUVIDDECODECAPS::nBitDepthMinus8

IN: The Value "BitDepth minus 8"

Type: unsigned int

Variable reserved1​

Definition: muviddec.h (line 163)

unsigned int _MUVIDDECODECAPS::reserved1[3][3]

Reserved for future use - set to zero

Type: unsigned int

Variable bIsSupported​

Definition: muviddec.h (line 165)

unsigned char _MUVIDDECODECAPS::bIsSupported

OUT: 1 if codec supported, 0 if not supported

Type: unsigned char

Variable nNumMTDECs​

Definition: muviddec.h (line 166)

unsigned char _MUVIDDECODECAPS::nNumMTDECs

OUT: Number of MTDECs that can support IN params

Type: unsigned char

Variable nOutputFormatMask​

Definition: muviddec.h (line 167)

unsigned short _MUVIDDECODECAPS::nOutputFormatMask

OUT: each bit represents corresponding musaVideoSurfaceFormat enum

Type: unsigned short

Variable nMaxWidth​

Definition: muviddec.h (line 168)

unsigned int _MUVIDDECODECAPS::nMaxWidth

OUT: Max supported coded width in pixels

Type: unsigned int

Variable nMaxHeight​

Definition: muviddec.h (line 169)

unsigned int _MUVIDDECODECAPS::nMaxHeight

OUT: Max supported coded height in pixels

Type: unsigned int

Variable nMaxMBCount​

Definition: muviddec.h (line 170)

unsigned int _MUVIDDECODECAPS::nMaxMBCount

OUT: Max supported macroblock count CodedWidth*CodedHeight/256 must be <= nMaxMBCount

Type: unsigned int

Variable nMinWidth​

Definition: muviddec.h (line 172)

unsigned short _MUVIDDECODECAPS::nMinWidth

OUT: Min supported coded width in pixels

Type: unsigned short

Variable nMinHeight​

Definition: muviddec.h (line 173)

unsigned short _MUVIDDECODECAPS::nMinHeight

OUT: Min supported coded height in pixels

Type: unsigned short

Variable bIsHistogramSupported​

Definition: muviddec.h (line 174)

unsigned char _MUVIDDECODECAPS::bIsHistogramSupported

OUT: 1 if Y component histogram output is supported, 0 if not Note: histogram is computed on original picture data before any post-processing like scaling, cropping, etc. is applied

Type: unsigned char

Variable nCounterBitDepth​

Definition: muviddec.h (line 177)

unsigned char _MUVIDDECODECAPS::nCounterBitDepth

OUT: histogram counter bit depth

Type: unsigned char

Variable nMaxHistogramBins​

Definition: muviddec.h (line 178)

unsigned short _MUVIDDECODECAPS::nMaxHistogramBins

OUT: Max number of histogram bins

Type: unsigned short

Variable reserved3​

Definition: muviddec.h (line 179)

unsigned int _MUVIDDECODECAPS::reserved3[10][10]

Reserved for future use - set to zero

Type: unsigned int


Structure MUVIDDECODECAPS​

Definition: muviddec.h (line 155)

This structure is used in muvidGetDecoderCaps API

Members​


Structure _MUVIDDECODECREATEINFO​

Definition: muviddec.h (line 186)

Members​

Public attributes​

Variable ulWidth​

Definition: muviddec.h (line 188)

unsigned long _MUVIDDECODECREATEINFO::ulWidth

IN: Coded sequence width in pixels

Type: unsigned long

Variable ulHeight​

Definition: muviddec.h (line 189)

unsigned long _MUVIDDECODECREATEINFO::ulHeight

IN: Coded sequence height in pixels

Type: unsigned long

Variable ulNumDecodeSurfaces​

Definition: muviddec.h (line 190)

unsigned long _MUVIDDECODECREATEINFO::ulNumDecodeSurfaces

IN: Maximum number of internal decode surfaces

Type: unsigned long

Variable CodecType​

Definition: muviddec.h (line 191)

musaVideoCodec _MUVIDDECODECREATEINFO::CodecType

IN: musaVideoCodec_XXX

Type: musaVideoCodec

Variable ChromaFormat​

Definition: muviddec.h (line 192)

musaVideoChromaFormat _MUVIDDECODECREATEINFO::ChromaFormat

IN: musaVideoChromaFormat_XXX

Type: musaVideoChromaFormat

Variable ulCreationFlags​

Definition: muviddec.h (line 193)

unsigned long _MUVIDDECODECREATEINFO::ulCreationFlags

IN: Decoder creation flags (musaVideoCreateFlags_XXX)

Type: unsigned long

Variable bitDepthMinus8​

Definition: muviddec.h (line 194)

unsigned long _MUVIDDECODECREATEINFO::bitDepthMinus8

IN: The value "BitDepth minus 8"

Type: unsigned long

Variable ulIntraDecodeOnly​

Definition: muviddec.h (line 195)

unsigned long _MUVIDDECODECREATEINFO::ulIntraDecodeOnly

IN: Set 1 only if video has all intra frames (default value is 0). This will optimize video memory for Intra frames only decoding. The support is limited to specific codecs - H264, HEVC, VP9, the flag will be ignored for codecs which are not supported. However decoding might fail if the flag is enabled in case of supported codecs for regular bit streams having P and/or B frames.

Type: unsigned long

Variable ulMaxWidth​

Definition: muviddec.h (line 200)

unsigned long _MUVIDDECODECREATEINFO::ulMaxWidth

IN: Coded sequence max width in pixels used with reconfigure Decoder

Type: unsigned long

Variable ulMaxHeight​

Definition: muviddec.h (line 201)

unsigned long _MUVIDDECODECREATEINFO::ulMaxHeight

IN: Coded sequence max height in pixels used with reconfigure Decoder

Type: unsigned long

Variable Reserved1​

Definition: muviddec.h (line 202)

unsigned long _MUVIDDECODECREATEINFO::Reserved1

Reserved for future use - set to zero

Type: unsigned long

Variable left​

Definition: muviddec.h (line 207)

short _MUVIDDECODECREATEINFO::left

Type: short

Variable top​

Definition: muviddec.h (line 208)

short _MUVIDDECODECREATEINFO::top

Type: short

Variable right​

Definition: muviddec.h (line 209)

short _MUVIDDECODECREATEINFO::right

Type: short

Variable bottom​

Definition: muviddec.h (line 210)

short _MUVIDDECODECREATEINFO::bottom

Type: short

Variable display_area​

Definition: muviddec.h (line 211)

struct _MUVIDDECODECREATEINFO _MUVIDDECODECREATEINFO::display_area

IN: area of the frame that should be displayed

Type: struct _MUVIDDECODECREATEINFO

Variable OutputFormat​

Definition: muviddec.h (line 213)

musaVideoSurfaceFormat _MUVIDDECODECREATEINFO::OutputFormat

IN: musaVideoSurfaceFormat_XXX

Type: musaVideoSurfaceFormat

Variable DeinterlaceMode​

Definition: muviddec.h (line 214)

musaVideoDeinterlaceMode _MUVIDDECODECREATEINFO::DeinterlaceMode

IN: musaVideoDeinterlaceMode_XXX

Type: musaVideoDeinterlaceMode

Variable ulTargetWidth​

Definition: muviddec.h (line 215)

unsigned long _MUVIDDECODECREATEINFO::ulTargetWidth

IN: Post-processed output width (Should be aligned to 2)

Type: unsigned long

Variable ulTargetHeight​

Definition: muviddec.h (line 216)

unsigned long _MUVIDDECODECREATEINFO::ulTargetHeight

IN: Post-processed output height (Should be aligned to 2)

Type: unsigned long

Variable ulNumOutputSurfaces​

Definition: muviddec.h (line 217)

unsigned long _MUVIDDECODECREATEINFO::ulNumOutputSurfaces

IN: Maximum number of output surfaces simultaneously mapped

Type: unsigned long

Variable vidLock​

Definition: muviddec.h (line 218)

MUvideoctxlock _MUVIDDECODECREATEINFO::vidLock

IN: If non-NULL, context lock used for synchronizing ownership of the musa context. Needed for musaVideoCreate_PreferMUSA decode

Type: MUvideoctxlock

Variable target_rect​

Definition: muviddec.h (line 229)

struct _MUVIDDECODECREATEINFO _MUVIDDECODECREATEINFO::target_rect

IN: target rectangle in the output frame (for aspect ratio conversion) if a null rectangle is specified, {0,0,ulTargetWidth,ulTargetHeight} will be used

Type: struct _MUVIDDECODECREATEINFO

Variable enableHistogram​

Definition: muviddec.h (line 231)

unsigned long _MUVIDDECODECREATEINFO::enableHistogram

IN: enable histogram output, if supported

Type: unsigned long

Variable Reserved2​

Definition: muviddec.h (line 232)

unsigned long _MUVIDDECODECREATEINFO::Reserved2[4][4]

Reserved for future use - set to zero

Type: unsigned long

Variable deviceName​

Definition: muviddec.h (line 233)

const char* _MUVIDDECODECREATEINFO::deviceName

IN: The device name to Decode (for example: /dev/dri/renderD128). Used only on Linux.

Type: const char *

Variable pvReserved2​

Definition: muviddec.h (line 234)

void* _MUVIDDECODECREATEINFO::pvReserved2[3][3]

Reserved for future use - set to NULL

Type: void *


Structure MUVIDDECODECREATEINFO​

Definition: muviddec.h (line 183)

This structure is used in muvidCreateDecoder API

Members​


Structure MUVIDEOFORMATEX​

Definition: mtmuvid.h (line 287)

Video format including raw sequence header information

Members​

Public attributes​

Variable format​

Definition: mtmuvid.h (line 289)

MUVIDEOFORMAT MUVIDEOFORMATEX::format

OUT: MUVIDEOFORMAT structure

Type: MUVIDEOFORMAT

Variable av1​

Definition: mtmuvid.h (line 291)

MUVIDAV1SEQHDR MUVIDEOFORMATEX::av1

Type: MUVIDAV1SEQHDR

Variable raw_seqhdr_data​

Definition: mtmuvid.h (line 292)

unsigned char MUVIDEOFORMATEX::raw_seqhdr_data[1024][1024]

OUT: Sequence header data

Type: unsigned char

Variable​

Definition: mtmuvid.h (line 293)

union MUVIDEOFORMATEX MUVIDEOFORMATEX

Type: union MUVIDEOFORMATEX


Structure MUVIDEOFORMAT​

Definition: mtmuvid.h (line 171)

Video format

Members​

Public attributes​

Variable codec​

Definition: mtmuvid.h (line 173)

musaVideoCodec MUVIDEOFORMAT::codec

OUT: Compression format

Type: musaVideoCodec

Variable numerator​

Definition: mtmuvid.h (line 179)

unsigned int MUVIDEOFORMAT::numerator

< OUT: frame rate numerator (0 = unspecified or variable frame rate) OUT: frame rate denominator (0 = unspecified or variable frame rate)

Type: unsigned int

Variable denominator​

Definition: mtmuvid.h (line 181)

unsigned int MUVIDEOFORMAT::denominator

Type: unsigned int

Variable frame_rate​

Definition: mtmuvid.h (line 182)

struct MUVIDEOFORMAT MUVIDEOFORMAT::frame_rate

OUT: frame rate = numerator / denominator (for example: 30000/1001)

Type: struct MUVIDEOFORMAT

Variable progressive_sequence​

Definition: mtmuvid.h (line 183)

unsigned char MUVIDEOFORMAT::progressive_sequence

OUT: 0=interlaced, 1=progressive

Type: unsigned char

Variable bit_depth_luma_minus8​

Definition: mtmuvid.h (line 184)

unsigned char MUVIDEOFORMAT::bit_depth_luma_minus8

OUT: high bit depth luma. E.g, 2 for 10-bitdepth, 4 for 12-bitdepth

Type: unsigned char

Variable bit_depth_chroma_minus8​

Definition: mtmuvid.h (line 185)

unsigned char MUVIDEOFORMAT::bit_depth_chroma_minus8

OUT: high bit depth chroma. E.g, 2 for 10-bitdepth, 4 for 12-bitdepth

Type: unsigned char

Variable min_num_decode_surfaces​

Definition: mtmuvid.h (line 186)

unsigned char MUVIDEOFORMAT::min_num_decode_surfaces

OUT: Minimum number of decode surfaces to be allocated for correct decoding. The client can send this value in ulNumDecodeSurfaces (in MUVIDDECODECREATEINFO structure). This guarantees correct functionality and optimal video memory usage but not necessarily the best performance, which depends on the design of the overall application. The optimal number of decode surfaces (in terms of performance and memory utilization) should be decided by experimentation for each application, but it cannot go below min_num_decode_surfaces. If this value is used for ulNumDecodeSurfaces then it must be returned to parser during sequence callback.

Type: unsigned char

Variable coded_width​

Definition: mtmuvid.h (line 197)

unsigned int MUVIDEOFORMAT::coded_width

OUT: coded frame width in pixels

Type: unsigned int

Variable coded_height​

Definition: mtmuvid.h (line 198)

unsigned int MUVIDEOFORMAT::coded_height

OUT: coded frame height in pixels

Type: unsigned int

Variable left​

Definition: mtmuvid.h (line 206)

int MUVIDEOFORMAT::left

OUT: left position of display rect

Type: int

Variable top​

Definition: mtmuvid.h (line 207)

int MUVIDEOFORMAT::top

OUT: top position of display rect

Type: int

Variable right​

Definition: mtmuvid.h (line 208)

int MUVIDEOFORMAT::right

OUT: right position of display rect

Type: int

Variable bottom​

Definition: mtmuvid.h (line 209)

int MUVIDEOFORMAT::bottom

OUT: bottom position of display rect

Type: int

Variable display_area​

Definition: mtmuvid.h (line 210)

struct MUVIDEOFORMAT MUVIDEOFORMAT::display_area

area of the frame that should be displayed typical example: coded_width = 1920, coded_height = 1088 display_area = { 0,0,1920,1080 }

Type: struct MUVIDEOFORMAT

Variable chroma_format​

Definition: mtmuvid.h (line 211)

musaVideoChromaFormat MUVIDEOFORMAT::chroma_format

OUT: Chroma format

Type: musaVideoChromaFormat

Variable bitrate​

Definition: mtmuvid.h (line 212)

unsigned int MUVIDEOFORMAT::bitrate

OUT: video bitrate (bps, 0=unknown)

Type: unsigned int

Variable x​

Definition: mtmuvid.h (line 217)

int MUVIDEOFORMAT::x

Type: int

Variable y​

Definition: mtmuvid.h (line 218)

int MUVIDEOFORMAT::y

Type: int

Variable display_aspect_ratio​

Definition: mtmuvid.h (line 219)

struct MUVIDEOFORMAT MUVIDEOFORMAT::display_aspect_ratio

OUT: Display Aspect Ratio = x:y (4:3, 16:9, etc)

Type: struct MUVIDEOFORMAT

Variable video_format​

Definition: mtmuvid.h (line 225)

unsigned char MUVIDEOFORMAT::video_format

OUT: 0-Component, 1-PAL, 2-NTSC, 3-SECAM, 4-MAC, 5-Unspecified

Type: unsigned char

Variable video_full_range_flag​

Definition: mtmuvid.h (line 226)

unsigned char MUVIDEOFORMAT::video_full_range_flag

OUT: indicates the black level and luma and chroma range

Type: unsigned char

Variable reserved_zero_bits​

Definition: mtmuvid.h (line 227)

unsigned char MUVIDEOFORMAT::reserved_zero_bits

Reserved bits

Type: unsigned char

Variable color_primaries​

Definition: mtmuvid.h (line 228)

unsigned char MUVIDEOFORMAT::color_primaries

OUT: chromaticity coordinates of source primaries

Type: unsigned char

Variable transfer_characteristics​

Definition: mtmuvid.h (line 229)

unsigned char MUVIDEOFORMAT::transfer_characteristics

OUT: opto-electronic transfer characteristic of the source picture

Type: unsigned char

Variable matrix_coefficients​

Definition: mtmuvid.h (line 230)

unsigned char MUVIDEOFORMAT::matrix_coefficients

OUT: used in deriving luma and chroma signals from RGB primaries

Type: unsigned char

Variable video_signal_description​

Definition: mtmuvid.h (line 231)

struct MUVIDEOFORMAT MUVIDEOFORMAT::video_signal_description

Video Signal Description Refer section E.2.1 (VUI parameters semantics) of H264 spec file

Type: struct MUVIDEOFORMAT

Variable seqhdr_data_length​

Definition: mtmuvid.h (line 232)

unsigned int MUVIDEOFORMAT::seqhdr_data_length

OUT: Additional bytes following (MUVIDEOFORMATEX)

Type: unsigned int

Variable reserved1​

Definition: mtmuvid.h (line 233)

unsigned int MUVIDEOFORMAT::reserved1[8][8]

Type: unsigned int


Structure _MUVIDFUNCTIONS​

Definition: mtmuvid.h (line 458)

A list of pointers to the MTDecodeAPI functions.

Members​

Public attributes​

Variable muvidCreateVideoParser​

Definition: mtmuvid.h (line 460)

pfnMuvidCreateVideoParser _MUVIDFUNCTIONS::muvidCreateVideoParser

Type: pfnMuvidCreateVideoParser

Variable muvidParseVideoData​

Definition: mtmuvid.h (line 461)

pfnMuvidParseVideoData _MUVIDFUNCTIONS::muvidParseVideoData

Type: pfnMuvidParseVideoData

Variable muvidDestroyVideoParser​

Definition: mtmuvid.h (line 462)

pfnMuvidDestroyVideoParser _MUVIDFUNCTIONS::muvidDestroyVideoParser

Type: pfnMuvidDestroyVideoParser

Variable muvidGetDecoderCaps​

Definition: mtmuvid.h (line 463)

pfnMuvidGetDecoderCaps _MUVIDFUNCTIONS::muvidGetDecoderCaps

Type: pfnMuvidGetDecoderCaps

Variable muvidCreateDecoder​

Definition: mtmuvid.h (line 464)

pfnMuvidCreateDecoder _MUVIDFUNCTIONS::muvidCreateDecoder

Type: pfnMuvidCreateDecoder

Variable muvidDestroyDecoder​

Definition: mtmuvid.h (line 465)

pfnMuvidDestroyDecoder _MUVIDFUNCTIONS::muvidDestroyDecoder

Type: pfnMuvidDestroyDecoder

Variable muvidDecodePicture​

Definition: mtmuvid.h (line 466)

pfnMuvidDecodePicture _MUVIDFUNCTIONS::muvidDecodePicture

Type: pfnMuvidDecodePicture

Variable muvidGetDecodeStatus​

Definition: mtmuvid.h (line 467)

pfnMuvidGetDecodeStatus _MUVIDFUNCTIONS::muvidGetDecodeStatus

Type: pfnMuvidGetDecodeStatus

Variable muvidReconfigureDecoder​

Definition: mtmuvid.h (line 468)

pfnMuvidReconfigureDecoder _MUVIDFUNCTIONS::muvidReconfigureDecoder

Type: pfnMuvidReconfigureDecoder

Variable muvidMapVideoFrame​

Definition: mtmuvid.h (line 469)

pfnMuvidMapVideoFrame _MUVIDFUNCTIONS::muvidMapVideoFrame

Type: pfnMuvidMapVideoFrame

Variable muvidUnmapVideoFrame​

Definition: mtmuvid.h (line 470)

pfnMuvidUnmapVideoFrame _MUVIDFUNCTIONS::muvidUnmapVideoFrame

Type: pfnMuvidUnmapVideoFrame


Structure _MUVIDGETDECODESTATUS​

Definition: muviddec.h (line 882)

Members​

Public attributes​

Variable decodeStatus​

Definition: muviddec.h (line 884)

muvidDecodeStatus _MUVIDGETDECODESTATUS::decodeStatus

IN: The decode status of the video frame

Type: muvidDecodeStatus

Variable reserved​

Definition: muviddec.h (line 885)

unsigned int _MUVIDGETDECODESTATUS::reserved[31][31]

Reserved for future use. Set to Zero

Type: unsigned int

Variable pReserved​

Definition: muviddec.h (line 886)

void* _MUVIDGETDECODESTATUS::pReserved[8][8]

Reserved for future use. Set to Zero

Type: void *


Structure MUVIDGETDECODESTATUS​

Definition: muviddec.h (line 878)

Struct for reporting decode status. This structure is used in muvidGetDecodeStatus API.

Members​


Structure _MUVIDH264DPBENTRY​

Definition: muviddec.h (line 242)

Members​

Public attributes​

Variable PicIdx​

Definition: muviddec.h (line 244)

int _MUVIDH264DPBENTRY::PicIdx

picture index of reference frame

Type: int

Variable FrameIdx​

Definition: muviddec.h (line 245)

int _MUVIDH264DPBENTRY::FrameIdx

frame_num(short-term) or LongTermFrameIdx(long-term)

Type: int

Variable is_long_term​

Definition: muviddec.h (line 246)

int _MUVIDH264DPBENTRY::is_long_term

0=short term reference, 1=long term reference

Type: int

Variable not_existing​

Definition: muviddec.h (line 247)

int _MUVIDH264DPBENTRY::not_existing

non-existing reference frame (corresponding PicIdx should be set to -1)

Type: int

Variable used_for_reference​

Definition: muviddec.h (line 248)

int _MUVIDH264DPBENTRY::used_for_reference

0=unused, 1=top_field, 2=bottom_field, 3=both_fields

Type: int

Variable FieldOrderCnt​

Definition: muviddec.h (line 249)

int _MUVIDH264DPBENTRY::FieldOrderCnt[2][2]

field order count of top and bottom fields

Type: int

Variable Reserved​

Definition: muviddec.h (line 250)

int _MUVIDH264DPBENTRY::Reserved[3][3]

Reserved for future use - set to zero

Type: int


Structure MUVIDH264DPBENTRY​

Definition: muviddec.h (line 238)

H.264 DPB entry This structure is used in MUVIDH264PICPARAMS structure

Members​


Structure _MUVIDH264MVCEXT​

Definition: muviddec.h (line 258)

Members​

Public attributes​

Variable num_views_minus1​

Definition: muviddec.h (line 260)

int _MUVIDH264MVCEXT::num_views_minus1

Max number of coded views minus 1 in video : Range - 0 to 1023

Type: int

Variable view_id​

Definition: muviddec.h (line 261)

int _MUVIDH264MVCEXT::view_id

view identifier

Type: int

Variable inter_view_flag​

Definition: muviddec.h (line 262)

unsigned char _MUVIDH264MVCEXT::inter_view_flag

1 if used for inter-view prediction, 0 if not

Type: unsigned char

Variable num_inter_view_refs_l0​

Definition: muviddec.h (line 263)

unsigned char _MUVIDH264MVCEXT::num_inter_view_refs_l0

number of inter-view ref pics in RefPicList0

Type: unsigned char

Variable num_inter_view_refs_l1​

Definition: muviddec.h (line 264)

unsigned char _MUVIDH264MVCEXT::num_inter_view_refs_l1

number of inter-view ref pics in RefPicList1

Type: unsigned char

Variable MVCReserved8Bits​

Definition: muviddec.h (line 265)

unsigned char _MUVIDH264MVCEXT::MVCReserved8Bits

Reserved bits

Type: unsigned char

Variable InterViewRefsL0​

Definition: muviddec.h (line 266)

int _MUVIDH264MVCEXT::InterViewRefsL0[16][16]

view id of the i-th view component for inter-view prediction in RefPicList0

Type: int

Variable InterViewRefsL1​

Definition: muviddec.h (line 267)

int _MUVIDH264MVCEXT::InterViewRefsL1[16][16]

view id of the i-th view component for inter-view prediction in RefPicList1

Type: int


Structure MUVIDH264MVCEXT​

Definition: muviddec.h (line 254)

H.264 MVC picture parameters ext This structure is used in MUVIDH264PICPARAMS structure

Members​


Structure _MUVIDH264PICPARAMS​

Definition: muviddec.h (line 316)

Members​

Public attributes​

Variable log2_max_frame_num_minus4​

Definition: muviddec.h (line 319)

int _MUVIDH264PICPARAMS::log2_max_frame_num_minus4

Type: int

Variable pic_order_cnt_type​

Definition: muviddec.h (line 320)

int _MUVIDH264PICPARAMS::pic_order_cnt_type

Type: int

Variable log2_max_pic_order_cnt_lsb_minus4​

Definition: muviddec.h (line 321)

int _MUVIDH264PICPARAMS::log2_max_pic_order_cnt_lsb_minus4

Type: int

Variable delta_pic_order_always_zero_flag​

Definition: muviddec.h (line 322)

int _MUVIDH264PICPARAMS::delta_pic_order_always_zero_flag

Type: int

Variable frame_mbs_only_flag​

Definition: muviddec.h (line 323)

int _MUVIDH264PICPARAMS::frame_mbs_only_flag

Type: int

Variable direct_8x8_inference_flag​

Definition: muviddec.h (line 324)

int _MUVIDH264PICPARAMS::direct_8x8_inference_flag

Type: int

Variable num_ref_frames​

Definition: muviddec.h (line 325)

int _MUVIDH264PICPARAMS::num_ref_frames

Type: int

Variable residual_colour_transform_flag​

Definition: muviddec.h (line 326)

unsigned char _MUVIDH264PICPARAMS::residual_colour_transform_flag

Type: unsigned char

Variable bit_depth_luma_minus8​

Definition: muviddec.h (line 327)

unsigned char _MUVIDH264PICPARAMS::bit_depth_luma_minus8

Type: unsigned char

Variable bit_depth_chroma_minus8​

Definition: muviddec.h (line 328)

unsigned char _MUVIDH264PICPARAMS::bit_depth_chroma_minus8

Type: unsigned char

Variable qpprime_y_zero_transform_bypass_flag​

Definition: muviddec.h (line 329)

unsigned char _MUVIDH264PICPARAMS::qpprime_y_zero_transform_bypass_flag

Type: unsigned char

Variable entropy_coding_mode_flag​

Definition: muviddec.h (line 331)

int _MUVIDH264PICPARAMS::entropy_coding_mode_flag

Type: int

Variable pic_order_present_flag​

Definition: muviddec.h (line 332)

int _MUVIDH264PICPARAMS::pic_order_present_flag

Type: int

Variable num_ref_idx_l0_active_minus1​

Definition: muviddec.h (line 333)

int _MUVIDH264PICPARAMS::num_ref_idx_l0_active_minus1

Type: int

Variable num_ref_idx_l1_active_minus1​

Definition: muviddec.h (line 334)

int _MUVIDH264PICPARAMS::num_ref_idx_l1_active_minus1

Type: int

Variable weighted_pred_flag​

Definition: muviddec.h (line 335)

int _MUVIDH264PICPARAMS::weighted_pred_flag

Type: int

Variable weighted_bipred_idc​

Definition: muviddec.h (line 336)

int _MUVIDH264PICPARAMS::weighted_bipred_idc

Type: int

Variable pic_init_qp_minus26​

Definition: muviddec.h (line 337)

int _MUVIDH264PICPARAMS::pic_init_qp_minus26

Type: int

Variable deblocking_filter_control_present_flag​

Definition: muviddec.h (line 338)

int _MUVIDH264PICPARAMS::deblocking_filter_control_present_flag

Type: int

Variable redundant_pic_cnt_present_flag​

Definition: muviddec.h (line 339)

int _MUVIDH264PICPARAMS::redundant_pic_cnt_present_flag

Type: int

Variable transform_8x8_mode_flag​

Definition: muviddec.h (line 340)

int _MUVIDH264PICPARAMS::transform_8x8_mode_flag

Type: int

Variable MbaffFrameFlag​

Definition: muviddec.h (line 341)

int _MUVIDH264PICPARAMS::MbaffFrameFlag

Type: int

Variable constrained_intra_pred_flag​

Definition: muviddec.h (line 342)

int _MUVIDH264PICPARAMS::constrained_intra_pred_flag

Type: int

Variable chroma_qp_index_offset​

Definition: muviddec.h (line 343)

int _MUVIDH264PICPARAMS::chroma_qp_index_offset

Type: int

Variable second_chroma_qp_index_offset​

Definition: muviddec.h (line 344)

int _MUVIDH264PICPARAMS::second_chroma_qp_index_offset

Type: int

Variable ref_pic_flag​

Definition: muviddec.h (line 345)

int _MUVIDH264PICPARAMS::ref_pic_flag

Type: int

Variable frame_num​

Definition: muviddec.h (line 346)

int _MUVIDH264PICPARAMS::frame_num

Type: int

Variable CurrFieldOrderCnt​

Definition: muviddec.h (line 347)

int _MUVIDH264PICPARAMS::CurrFieldOrderCnt[2][2]

Type: int

Variable dpb​

Definition: muviddec.h (line 349)

MUVIDH264DPBENTRY _MUVIDH264PICPARAMS::dpb[16][16]

Type: MUVIDH264DPBENTRY

Variable WeightScale4x4​

Definition: muviddec.h (line 351)

unsigned char _MUVIDH264PICPARAMS::WeightScale4x4[6][16][6][16]

Type: unsigned char

Variable WeightScale8x8​

Definition: muviddec.h (line 352)

unsigned char _MUVIDH264PICPARAMS::WeightScale8x8[2][64][2][64]

Type: unsigned char

Variable fmo_aso_enable​

Definition: muviddec.h (line 354)

unsigned char _MUVIDH264PICPARAMS::fmo_aso_enable

Type: unsigned char

Variable num_slice_groups_minus1​

Definition: muviddec.h (line 355)

unsigned char _MUVIDH264PICPARAMS::num_slice_groups_minus1

Type: unsigned char

Variable slice_group_map_type​

Definition: muviddec.h (line 356)

unsigned char _MUVIDH264PICPARAMS::slice_group_map_type

Type: unsigned char

Variable pic_init_qs_minus26​

Definition: muviddec.h (line 357)

signed char _MUVIDH264PICPARAMS::pic_init_qs_minus26

Type: signed char

Variable slice_group_change_rate_minus1​

Definition: muviddec.h (line 358)

unsigned int _MUVIDH264PICPARAMS::slice_group_change_rate_minus1

Type: unsigned int

Variable slice_group_map_addr​

Definition: muviddec.h (line 361)

unsigned long long _MUVIDH264PICPARAMS::slice_group_map_addr

Type: unsigned long long

Variable pMb2SliceGroupMap​

Definition: muviddec.h (line 362)

const unsigned char* _MUVIDH264PICPARAMS::pMb2SliceGroupMap

Type: const unsigned char *

Variable fmo​

Definition: muviddec.h (line 363)

union _MUVIDH264PICPARAMS _MUVIDH264PICPARAMS::fmo

Type: union _MUVIDH264PICPARAMS

Variable Reserved​

Definition: muviddec.h (line 364)

unsigned int _MUVIDH264PICPARAMS::Reserved[12][12]

Type: unsigned int

Variable mvcext​

Definition: muviddec.h (line 368)

MUVIDH264MVCEXT _MUVIDH264PICPARAMS::mvcext

Type: MUVIDH264MVCEXT

Variable svcext​

Definition: muviddec.h (line 369)

MUVIDH264SVCEXT _MUVIDH264PICPARAMS::svcext

Type: MUVIDH264SVCEXT

Variable​

Definition: muviddec.h (line 370)

union _MUVIDH264PICPARAMS _MUVIDH264PICPARAMS

Type: union _MUVIDH264PICPARAMS


Structure MUVIDH264PICPARAMS​

Definition: muviddec.h (line 312)

H.264 picture parameters This structure is used in MUVIDPICPARAMS structure

Members​


Structure _MUVIDH264SVCEXT​

Definition: muviddec.h (line 275)

Members​

Public attributes​

Variable profile_idc​

Definition: muviddec.h (line 277)

unsigned char _MUVIDH264SVCEXT::profile_idc

Type: unsigned char

Variable level_idc​

Definition: muviddec.h (line 278)

unsigned char _MUVIDH264SVCEXT::level_idc

Type: unsigned char

Variable DQId​

Definition: muviddec.h (line 279)

unsigned char _MUVIDH264SVCEXT::DQId

Type: unsigned char

Variable DQIdMax​

Definition: muviddec.h (line 280)

unsigned char _MUVIDH264SVCEXT::DQIdMax

Type: unsigned char

Variable disable_inter_layer_deblocking_filter_idc​

Definition: muviddec.h (line 281)

unsigned char _MUVIDH264SVCEXT::disable_inter_layer_deblocking_filter_idc

Type: unsigned char

Variable ref_layer_chroma_phase_y_plus1​

Definition: muviddec.h (line 282)

unsigned char _MUVIDH264SVCEXT::ref_layer_chroma_phase_y_plus1

Type: unsigned char

Variable inter_layer_slice_alpha_c0_offset_div2​

Definition: muviddec.h (line 283)

signed char _MUVIDH264SVCEXT::inter_layer_slice_alpha_c0_offset_div2

Type: signed char

Variable inter_layer_slice_beta_offset_div2​

Definition: muviddec.h (line 284)

signed char _MUVIDH264SVCEXT::inter_layer_slice_beta_offset_div2

Type: signed char

Variable DPBEntryValidFlag​

Definition: muviddec.h (line 286)

unsigned short _MUVIDH264SVCEXT::DPBEntryValidFlag

Type: unsigned short

Variable inter_layer_deblocking_filter_control_present_flag​

Definition: muviddec.h (line 287)

unsigned char _MUVIDH264SVCEXT::inter_layer_deblocking_filter_control_present_flag

Type: unsigned char

Variable extended_spatial_scalability_idc​

Definition: muviddec.h (line 288)

unsigned char _MUVIDH264SVCEXT::extended_spatial_scalability_idc

Type: unsigned char

Variable adaptive_tcoeff_level_prediction_flag​

Definition: muviddec.h (line 289)

unsigned char _MUVIDH264SVCEXT::adaptive_tcoeff_level_prediction_flag

Type: unsigned char

Variable slice_header_restriction_flag​

Definition: muviddec.h (line 290)

unsigned char _MUVIDH264SVCEXT::slice_header_restriction_flag

Type: unsigned char

Variable chroma_phase_x_plus1_flag​

Definition: muviddec.h (line 291)

unsigned char _MUVIDH264SVCEXT::chroma_phase_x_plus1_flag

Type: unsigned char

Variable chroma_phase_y_plus1​

Definition: muviddec.h (line 292)

unsigned char _MUVIDH264SVCEXT::chroma_phase_y_plus1

Type: unsigned char

Variable tcoeff_level_prediction_flag​

Definition: muviddec.h (line 294)

unsigned char _MUVIDH264SVCEXT::tcoeff_level_prediction_flag

Type: unsigned char

Variable constrained_intra_resampling_flag​

Definition: muviddec.h (line 295)

unsigned char _MUVIDH264SVCEXT::constrained_intra_resampling_flag

Type: unsigned char

Variable ref_layer_chroma_phase_x_plus1_flag​

Definition: muviddec.h (line 296)

unsigned char _MUVIDH264SVCEXT::ref_layer_chroma_phase_x_plus1_flag

Type: unsigned char

Variable store_ref_base_pic_flag​

Definition: muviddec.h (line 297)

unsigned char _MUVIDH264SVCEXT::store_ref_base_pic_flag

Type: unsigned char

Variable Reserved8BitsA​

Definition: muviddec.h (line 298)

unsigned char _MUVIDH264SVCEXT::Reserved8BitsA

Type: unsigned char

Variable Reserved8BitsB​

Definition: muviddec.h (line 299)

unsigned char _MUVIDH264SVCEXT::Reserved8BitsB

Type: unsigned char

Variable scaled_ref_layer_left_offset​

Definition: muviddec.h (line 301)

short _MUVIDH264SVCEXT::scaled_ref_layer_left_offset

Type: short

Variable scaled_ref_layer_top_offset​

Definition: muviddec.h (line 302)

short _MUVIDH264SVCEXT::scaled_ref_layer_top_offset

Type: short

Variable scaled_ref_layer_right_offset​

Definition: muviddec.h (line 303)

short _MUVIDH264SVCEXT::scaled_ref_layer_right_offset

Type: short

Variable scaled_ref_layer_bottom_offset​

Definition: muviddec.h (line 304)

short _MUVIDH264SVCEXT::scaled_ref_layer_bottom_offset

Type: short

Variable Reserved16Bits​

Definition: muviddec.h (line 305)

unsigned short _MUVIDH264SVCEXT::Reserved16Bits

Type: unsigned short

Variable pNextLayer​

Definition: muviddec.h (line 306)

struct _MUVIDPICPARAMS* _MUVIDH264SVCEXT::pNextLayer

Points to the picparams for the next layer to be decoded. Linked list ends at the target layer.

Type: struct _MUVIDPICPARAMS *

Variable bRefBaseLayer​

Definition: muviddec.h (line 308)

int _MUVIDH264SVCEXT::bRefBaseLayer

whether to store ref base pic

Type: int


Structure MUVIDH264SVCEXT​

Definition: muviddec.h (line 271)

H.264 SVC picture parameters ext This structure is used in MUVIDH264PICPARAMS structure

Members​


Structure _MUVIDHEVCPICPARAMS​

Definition: muviddec.h (line 378)

Members​

Public attributes​

Variable pic_width_in_luma_samples​

Definition: muviddec.h (line 381)

int _MUVIDHEVCPICPARAMS::pic_width_in_luma_samples

Type: int

Variable pic_height_in_luma_samples​

Definition: muviddec.h (line 382)

int _MUVIDHEVCPICPARAMS::pic_height_in_luma_samples

Type: int

Variable log2_min_luma_coding_block_size_minus3​

Definition: muviddec.h (line 383)

unsigned char _MUVIDHEVCPICPARAMS::log2_min_luma_coding_block_size_minus3

Type: unsigned char

Variable log2_diff_max_min_luma_coding_block_size​

Definition: muviddec.h (line 384)

unsigned char _MUVIDHEVCPICPARAMS::log2_diff_max_min_luma_coding_block_size

Type: unsigned char

Variable log2_min_transform_block_size_minus2​

Definition: muviddec.h (line 385)

unsigned char _MUVIDHEVCPICPARAMS::log2_min_transform_block_size_minus2

Type: unsigned char

Variable log2_diff_max_min_transform_block_size​

Definition: muviddec.h (line 386)

unsigned char _MUVIDHEVCPICPARAMS::log2_diff_max_min_transform_block_size

Type: unsigned char

Variable pcm_enabled_flag​

Definition: muviddec.h (line 387)

unsigned char _MUVIDHEVCPICPARAMS::pcm_enabled_flag

Type: unsigned char

Variable log2_min_pcm_luma_coding_block_size_minus3​

Definition: muviddec.h (line 388)

unsigned char _MUVIDHEVCPICPARAMS::log2_min_pcm_luma_coding_block_size_minus3

Type: unsigned char

Variable log2_diff_max_min_pcm_luma_coding_block_size​

Definition: muviddec.h (line 389)

unsigned char _MUVIDHEVCPICPARAMS::log2_diff_max_min_pcm_luma_coding_block_size

Type: unsigned char

Variable pcm_sample_bit_depth_luma_minus1​

Definition: muviddec.h (line 390)

unsigned char _MUVIDHEVCPICPARAMS::pcm_sample_bit_depth_luma_minus1

Type: unsigned char

Variable pcm_sample_bit_depth_chroma_minus1​

Definition: muviddec.h (line 392)

unsigned char _MUVIDHEVCPICPARAMS::pcm_sample_bit_depth_chroma_minus1

Type: unsigned char

Variable pcm_loop_filter_disabled_flag​

Definition: muviddec.h (line 393)

unsigned char _MUVIDHEVCPICPARAMS::pcm_loop_filter_disabled_flag

Type: unsigned char

Variable strong_intra_smoothing_enabled_flag​

Definition: muviddec.h (line 394)

unsigned char _MUVIDHEVCPICPARAMS::strong_intra_smoothing_enabled_flag

Type: unsigned char

Variable max_transform_hierarchy_depth_intra​

Definition: muviddec.h (line 395)

unsigned char _MUVIDHEVCPICPARAMS::max_transform_hierarchy_depth_intra

Type: unsigned char

Variable max_transform_hierarchy_depth_inter​

Definition: muviddec.h (line 396)

unsigned char _MUVIDHEVCPICPARAMS::max_transform_hierarchy_depth_inter

Type: unsigned char

Variable amp_enabled_flag​

Definition: muviddec.h (line 397)

unsigned char _MUVIDHEVCPICPARAMS::amp_enabled_flag

Type: unsigned char

Variable separate_colour_plane_flag​

Definition: muviddec.h (line 398)

unsigned char _MUVIDHEVCPICPARAMS::separate_colour_plane_flag

Type: unsigned char

Variable log2_max_pic_order_cnt_lsb_minus4​

Definition: muviddec.h (line 399)

unsigned char _MUVIDHEVCPICPARAMS::log2_max_pic_order_cnt_lsb_minus4

Type: unsigned char

Variable num_short_term_ref_pic_sets​

Definition: muviddec.h (line 401)

unsigned char _MUVIDHEVCPICPARAMS::num_short_term_ref_pic_sets

Type: unsigned char

Variable long_term_ref_pics_present_flag​

Definition: muviddec.h (line 402)

unsigned char _MUVIDHEVCPICPARAMS::long_term_ref_pics_present_flag

Type: unsigned char

Variable num_long_term_ref_pics_sps​

Definition: muviddec.h (line 403)

unsigned char _MUVIDHEVCPICPARAMS::num_long_term_ref_pics_sps

Type: unsigned char

Variable sps_temporal_mvp_enabled_flag​

Definition: muviddec.h (line 404)

unsigned char _MUVIDHEVCPICPARAMS::sps_temporal_mvp_enabled_flag

Type: unsigned char

Variable sample_adaptive_offset_enabled_flag​

Definition: muviddec.h (line 405)

unsigned char _MUVIDHEVCPICPARAMS::sample_adaptive_offset_enabled_flag

Type: unsigned char

Variable scaling_list_enable_flag​

Definition: muviddec.h (line 406)

unsigned char _MUVIDHEVCPICPARAMS::scaling_list_enable_flag

Type: unsigned char

Variable IrapPicFlag​

Definition: muviddec.h (line 407)

unsigned char _MUVIDHEVCPICPARAMS::IrapPicFlag

Type: unsigned char

Variable IdrPicFlag​

Definition: muviddec.h (line 408)

unsigned char _MUVIDHEVCPICPARAMS::IdrPicFlag

Type: unsigned char

Variable bit_depth_luma_minus8​

Definition: muviddec.h (line 410)

unsigned char _MUVIDHEVCPICPARAMS::bit_depth_luma_minus8

Type: unsigned char

Variable bit_depth_chroma_minus8​

Definition: muviddec.h (line 411)

unsigned char _MUVIDHEVCPICPARAMS::bit_depth_chroma_minus8

Type: unsigned char

Variable log2_max_transform_skip_block_size_minus2​

Definition: muviddec.h (line 413)

unsigned char _MUVIDHEVCPICPARAMS::log2_max_transform_skip_block_size_minus2

Type: unsigned char

Variable log2_sao_offset_scale_luma​

Definition: muviddec.h (line 414)

unsigned char _MUVIDHEVCPICPARAMS::log2_sao_offset_scale_luma

Type: unsigned char

Variable log2_sao_offset_scale_chroma​

Definition: muviddec.h (line 415)

unsigned char _MUVIDHEVCPICPARAMS::log2_sao_offset_scale_chroma

Type: unsigned char

Variable high_precision_offsets_enabled_flag​

Definition: muviddec.h (line 416)

unsigned char _MUVIDHEVCPICPARAMS::high_precision_offsets_enabled_flag

Type: unsigned char

Variable reserved1​

Definition: muviddec.h (line 417)

unsigned char _MUVIDHEVCPICPARAMS::reserved1[10][10]

Type: unsigned char

Variable dependent_slice_segments_enabled_flag​

Definition: muviddec.h (line 420)

unsigned char _MUVIDHEVCPICPARAMS::dependent_slice_segments_enabled_flag

Type: unsigned char

Variable slice_segment_header_extension_present_flag​

Definition: muviddec.h (line 421)

unsigned char _MUVIDHEVCPICPARAMS::slice_segment_header_extension_present_flag

Type: unsigned char

Variable sign_data_hiding_enabled_flag​

Definition: muviddec.h (line 422)

unsigned char _MUVIDHEVCPICPARAMS::sign_data_hiding_enabled_flag

Type: unsigned char

Variable cu_qp_delta_enabled_flag​

Definition: muviddec.h (line 423)

unsigned char _MUVIDHEVCPICPARAMS::cu_qp_delta_enabled_flag

Type: unsigned char

Variable diff_cu_qp_delta_depth​

Definition: muviddec.h (line 424)

unsigned char _MUVIDHEVCPICPARAMS::diff_cu_qp_delta_depth

Type: unsigned char

Variable init_qp_minus26​

Definition: muviddec.h (line 425)

signed char _MUVIDHEVCPICPARAMS::init_qp_minus26

Type: signed char

Variable pps_cb_qp_offset​

Definition: muviddec.h (line 426)

signed char _MUVIDHEVCPICPARAMS::pps_cb_qp_offset

Type: signed char

Variable pps_cr_qp_offset​

Definition: muviddec.h (line 427)

signed char _MUVIDHEVCPICPARAMS::pps_cr_qp_offset

Type: signed char

Variable constrained_intra_pred_flag​

Definition: muviddec.h (line 429)

unsigned char _MUVIDHEVCPICPARAMS::constrained_intra_pred_flag

Type: unsigned char

Variable weighted_pred_flag​

Definition: muviddec.h (line 430)

unsigned char _MUVIDHEVCPICPARAMS::weighted_pred_flag

Type: unsigned char

Variable weighted_bipred_flag​

Definition: muviddec.h (line 431)

unsigned char _MUVIDHEVCPICPARAMS::weighted_bipred_flag

Type: unsigned char

Variable transform_skip_enabled_flag​

Definition: muviddec.h (line 432)

unsigned char _MUVIDHEVCPICPARAMS::transform_skip_enabled_flag

Type: unsigned char

Variable transquant_bypass_enabled_flag​

Definition: muviddec.h (line 433)

unsigned char _MUVIDHEVCPICPARAMS::transquant_bypass_enabled_flag

Type: unsigned char

Variable entropy_coding_sync_enabled_flag​

Definition: muviddec.h (line 434)

unsigned char _MUVIDHEVCPICPARAMS::entropy_coding_sync_enabled_flag

Type: unsigned char

Variable log2_parallel_merge_level_minus2​

Definition: muviddec.h (line 435)

unsigned char _MUVIDHEVCPICPARAMS::log2_parallel_merge_level_minus2

Type: unsigned char

Variable num_extra_slice_header_bits​

Definition: muviddec.h (line 436)

unsigned char _MUVIDHEVCPICPARAMS::num_extra_slice_header_bits

Type: unsigned char

Variable loop_filter_across_tiles_enabled_flag​

Definition: muviddec.h (line 438)

unsigned char _MUVIDHEVCPICPARAMS::loop_filter_across_tiles_enabled_flag

Type: unsigned char

Variable loop_filter_across_slices_enabled_flag​

Definition: muviddec.h (line 439)

unsigned char _MUVIDHEVCPICPARAMS::loop_filter_across_slices_enabled_flag

Type: unsigned char

Variable output_flag_present_flag​

Definition: muviddec.h (line 440)

unsigned char _MUVIDHEVCPICPARAMS::output_flag_present_flag

Type: unsigned char

Variable num_ref_idx_l0_default_active_minus1​

Definition: muviddec.h (line 441)

unsigned char _MUVIDHEVCPICPARAMS::num_ref_idx_l0_default_active_minus1

Type: unsigned char

Variable num_ref_idx_l1_default_active_minus1​

Definition: muviddec.h (line 442)

unsigned char _MUVIDHEVCPICPARAMS::num_ref_idx_l1_default_active_minus1

Type: unsigned char

Variable lists_modification_present_flag​

Definition: muviddec.h (line 443)

unsigned char _MUVIDHEVCPICPARAMS::lists_modification_present_flag

Type: unsigned char

Variable cabac_init_present_flag​

Definition: muviddec.h (line 444)

unsigned char _MUVIDHEVCPICPARAMS::cabac_init_present_flag

Type: unsigned char

Variable pps_slice_chroma_qp_offsets_present_flag​

Definition: muviddec.h (line 445)

unsigned char _MUVIDHEVCPICPARAMS::pps_slice_chroma_qp_offsets_present_flag

Type: unsigned char

Variable deblocking_filter_override_enabled_flag​

Definition: muviddec.h (line 447)

unsigned char _MUVIDHEVCPICPARAMS::deblocking_filter_override_enabled_flag

Type: unsigned char

Variable pps_deblocking_filter_disabled_flag​

Definition: muviddec.h (line 448)

unsigned char _MUVIDHEVCPICPARAMS::pps_deblocking_filter_disabled_flag

Type: unsigned char

Variable pps_beta_offset_div2​

Definition: muviddec.h (line 449)

signed char _MUVIDHEVCPICPARAMS::pps_beta_offset_div2

Type: signed char

Variable pps_tc_offset_div2​

Definition: muviddec.h (line 450)

signed char _MUVIDHEVCPICPARAMS::pps_tc_offset_div2

Type: signed char

Variable tiles_enabled_flag​

Definition: muviddec.h (line 451)

unsigned char _MUVIDHEVCPICPARAMS::tiles_enabled_flag

Type: unsigned char

Variable uniform_spacing_flag​

Definition: muviddec.h (line 452)

unsigned char _MUVIDHEVCPICPARAMS::uniform_spacing_flag

Type: unsigned char

Variable num_tile_columns_minus1​

Definition: muviddec.h (line 453)

unsigned char _MUVIDHEVCPICPARAMS::num_tile_columns_minus1

Type: unsigned char

Variable num_tile_rows_minus1​

Definition: muviddec.h (line 454)

unsigned char _MUVIDHEVCPICPARAMS::num_tile_rows_minus1

Type: unsigned char

Variable column_width_minus1​

Definition: muviddec.h (line 456)

unsigned short _MUVIDHEVCPICPARAMS::column_width_minus1[21][21]

Type: unsigned short

Variable row_height_minus1​

Definition: muviddec.h (line 457)

unsigned short _MUVIDHEVCPICPARAMS::row_height_minus1[21][21]

Type: unsigned short

Variable sps_range_extension_flag​

Definition: muviddec.h (line 460)

unsigned char _MUVIDHEVCPICPARAMS::sps_range_extension_flag

Type: unsigned char

Variable transform_skip_rotation_enabled_flag​

Definition: muviddec.h (line 461)

unsigned char _MUVIDHEVCPICPARAMS::transform_skip_rotation_enabled_flag

Type: unsigned char

Variable transform_skip_context_enabled_flag​

Definition: muviddec.h (line 462)

unsigned char _MUVIDHEVCPICPARAMS::transform_skip_context_enabled_flag

Type: unsigned char

Variable implicit_rdpcm_enabled_flag​

Definition: muviddec.h (line 463)

unsigned char _MUVIDHEVCPICPARAMS::implicit_rdpcm_enabled_flag

Type: unsigned char

Variable explicit_rdpcm_enabled_flag​

Definition: muviddec.h (line 465)

unsigned char _MUVIDHEVCPICPARAMS::explicit_rdpcm_enabled_flag

Type: unsigned char

Variable extended_precision_processing_flag​

Definition: muviddec.h (line 466)

unsigned char _MUVIDHEVCPICPARAMS::extended_precision_processing_flag

Type: unsigned char

Variable intra_smoothing_disabled_flag​

Definition: muviddec.h (line 467)

unsigned char _MUVIDHEVCPICPARAMS::intra_smoothing_disabled_flag

Type: unsigned char

Variable persistent_rice_adaptation_enabled_flag​

Definition: muviddec.h (line 468)

unsigned char _MUVIDHEVCPICPARAMS::persistent_rice_adaptation_enabled_flag

Type: unsigned char

Variable cabac_bypass_alignment_enabled_flag​

Definition: muviddec.h (line 470)

unsigned char _MUVIDHEVCPICPARAMS::cabac_bypass_alignment_enabled_flag

Type: unsigned char

Variable pps_range_extension_flag​

Definition: muviddec.h (line 471)

unsigned char _MUVIDHEVCPICPARAMS::pps_range_extension_flag

Type: unsigned char

Variable cross_component_prediction_enabled_flag​

Definition: muviddec.h (line 472)

unsigned char _MUVIDHEVCPICPARAMS::cross_component_prediction_enabled_flag

Type: unsigned char

Variable chroma_qp_offset_list_enabled_flag​

Definition: muviddec.h (line 473)

unsigned char _MUVIDHEVCPICPARAMS::chroma_qp_offset_list_enabled_flag

Type: unsigned char

Variable diff_cu_chroma_qp_offset_depth​

Definition: muviddec.h (line 475)

unsigned char _MUVIDHEVCPICPARAMS::diff_cu_chroma_qp_offset_depth

Type: unsigned char

Variable chroma_qp_offset_list_len_minus1​

Definition: muviddec.h (line 476)

unsigned char _MUVIDHEVCPICPARAMS::chroma_qp_offset_list_len_minus1

Type: unsigned char

Variable cb_qp_offset_list​

Definition: muviddec.h (line 477)

signed char _MUVIDHEVCPICPARAMS::cb_qp_offset_list[6][6]

Type: signed char

Variable cr_qp_offset_list​

Definition: muviddec.h (line 479)

signed char _MUVIDHEVCPICPARAMS::cr_qp_offset_list[6][6]

Type: signed char

Variable reserved2​

Definition: muviddec.h (line 480)

unsigned char _MUVIDHEVCPICPARAMS::reserved2[2][2]

Type: unsigned char

Variable reserved3​

Definition: muviddec.h (line 482)

unsigned int _MUVIDHEVCPICPARAMS::reserved3[8][8]

Type: unsigned int

Variable NumBitsForShortTermRPSInSlice​

Definition: muviddec.h (line 485)

int _MUVIDHEVCPICPARAMS::NumBitsForShortTermRPSInSlice

Type: int

Variable NumDeltaPocsOfRefRpsIdx​

Definition: muviddec.h (line 486)

int _MUVIDHEVCPICPARAMS::NumDeltaPocsOfRefRpsIdx

Type: int

Variable NumPocTotalCurr​

Definition: muviddec.h (line 487)

int _MUVIDHEVCPICPARAMS::NumPocTotalCurr

Type: int

Variable NumPocStCurrBefore​

Definition: muviddec.h (line 488)

int _MUVIDHEVCPICPARAMS::NumPocStCurrBefore

Type: int

Variable NumPocStCurrAfter​

Definition: muviddec.h (line 489)

int _MUVIDHEVCPICPARAMS::NumPocStCurrAfter

Type: int

Variable NumPocLtCurr​

Definition: muviddec.h (line 490)

int _MUVIDHEVCPICPARAMS::NumPocLtCurr

Type: int

Variable CurrPicOrderCntVal​

Definition: muviddec.h (line 491)

int _MUVIDHEVCPICPARAMS::CurrPicOrderCntVal

Type: int

Variable RefPicIdx​

Definition: muviddec.h (line 492)

int _MUVIDHEVCPICPARAMS::RefPicIdx[16][16]

Type: int

Variable PicOrderCntVal​

Definition: muviddec.h (line 493)

int _MUVIDHEVCPICPARAMS::PicOrderCntVal[16][16]

Type: int

Variable IsLongTerm​

Definition: muviddec.h (line 494)

unsigned char _MUVIDHEVCPICPARAMS::IsLongTerm[16][16]

Type: unsigned char

Variable RefPicSetStCurrBefore​

Definition: muviddec.h (line 495)

unsigned char _MUVIDHEVCPICPARAMS::RefPicSetStCurrBefore[8][8]

Type: unsigned char

Variable RefPicSetStCurrAfter​

Definition: muviddec.h (line 496)

unsigned char _MUVIDHEVCPICPARAMS::RefPicSetStCurrAfter[8][8]

Type: unsigned char

Variable RefPicSetLtCurr​

Definition: muviddec.h (line 497)

unsigned char _MUVIDHEVCPICPARAMS::RefPicSetLtCurr[8][8]

Type: unsigned char

Variable RefPicSetInterLayer0​

Definition: muviddec.h (line 498)

unsigned char _MUVIDHEVCPICPARAMS::RefPicSetInterLayer0[8][8]

Type: unsigned char

Variable RefPicSetInterLayer1​

Definition: muviddec.h (line 499)

unsigned char _MUVIDHEVCPICPARAMS::RefPicSetInterLayer1[8][8]

Type: unsigned char

Variable reserved4​

Definition: muviddec.h (line 500)

unsigned int _MUVIDHEVCPICPARAMS::reserved4[12][12]

Type: unsigned int

Variable ScalingList4x4​

Definition: muviddec.h (line 503)

unsigned char _MUVIDHEVCPICPARAMS::ScalingList4x4[6][16][6][16]

Type: unsigned char

Variable ScalingList8x8​

Definition: muviddec.h (line 504)

unsigned char _MUVIDHEVCPICPARAMS::ScalingList8x8[6][64][6][64]

Type: unsigned char

Variable ScalingList16x16​

Definition: muviddec.h (line 505)

unsigned char _MUVIDHEVCPICPARAMS::ScalingList16x16[6][64][6][64]

Type: unsigned char

Variable ScalingList32x32​

Definition: muviddec.h (line 506)

unsigned char _MUVIDHEVCPICPARAMS::ScalingList32x32[2][64][2][64]

Type: unsigned char

Variable ScalingListDCCoeff16x16​

Definition: muviddec.h (line 507)

unsigned char _MUVIDHEVCPICPARAMS::ScalingListDCCoeff16x16[6][6]

Type: unsigned char

Variable ScalingListDCCoeff32x32​

Definition: muviddec.h (line 508)

unsigned char _MUVIDHEVCPICPARAMS::ScalingListDCCoeff32x32[2][2]

Type: unsigned char


Structure MUVIDHEVCPICPARAMS​

Definition: muviddec.h (line 374)

HEVC picture parameters This structure is used in MUVIDPICPARAMS structure

Members​


Structure MUVIDOPERATINGPOINTINFO​

Definition: mtmuvid.h (line 241)

Operating point information of scalable bitstream

Members​

Public attributes​

Variable codec​

Definition: mtmuvid.h (line 243)

musaVideoCodec MUVIDOPERATINGPOINTINFO::codec

Type: musaVideoCodec

Variable operating_points_cnt​

Definition: mtmuvid.h (line 248)

unsigned char MUVIDOPERATINGPOINTINFO::operating_points_cnt

Type: unsigned char

Variable reserved24_bits​

Definition: mtmuvid.h (line 249)

unsigned char MUVIDOPERATINGPOINTINFO::reserved24_bits[3][3]

Type: unsigned char

Variable operating_points_idc​

Definition: mtmuvid.h (line 250)

unsigned short MUVIDOPERATINGPOINTINFO::operating_points_idc[32][32]

Type: unsigned short

Variable av1​

Definition: mtmuvid.h (line 251)

struct MUVIDOPERATINGPOINTINFO MUVIDOPERATINGPOINTINFO::av1

Type: struct MUVIDOPERATINGPOINTINFO

Variable CodecReserved​

Definition: mtmuvid.h (line 252)

unsigned char MUVIDOPERATINGPOINTINFO::CodecReserved[1024][1024]

Type: unsigned char

Variable​

Definition: mtmuvid.h (line 253)

union MUVIDOPERATINGPOINTINFO MUVIDOPERATINGPOINTINFO

Type: union MUVIDOPERATINGPOINTINFO

Variable reserved1​

Definition: mtmuvid.h (line 254)

unsigned int MUVIDOPERATINGPOINTINFO::reserved1[8][8]

Type: unsigned int


Structure _MUVIDPARSERDISPINFO​

Definition: mtmuvid.h (line 332)

Members​

Public attributes​

Variable picture_index​

Definition: mtmuvid.h (line 334)

int _MUVIDPARSERDISPINFO::picture_index

OUT: Index of the current picture

Type: int

Variable progressive_frame​

Definition: mtmuvid.h (line 335)

int _MUVIDPARSERDISPINFO::progressive_frame

OUT: 1 if progressive frame; 0 otherwise

Type: int

Variable top_field_first​

Definition: mtmuvid.h (line 336)

int _MUVIDPARSERDISPINFO::top_field_first

OUT: 1 if top field is displayed first; 0 otherwise

Type: int

Variable repeat_first_field​

Definition: mtmuvid.h (line 337)

int _MUVIDPARSERDISPINFO::repeat_first_field

OUT: Number of additional fields (1=ivtc, 2=frame doubling, 4=frame tripling, -1=unpaired field)

Type: int

Variable timestamp​

Definition: mtmuvid.h (line 339)

MUvideotimestamp _MUVIDPARSERDISPINFO::timestamp

OUT: Presentation time stamp

Type: MUvideotimestamp

Variable reserved​

Definition: mtmuvid.h (line 340)

int _MUVIDPARSERDISPINFO::reserved[9][9]

Type: int


Structure MUVIDPARSERDISPINFO​

Definition: mtmuvid.h (line 329)

Used in muvidParseVideoData API with PFNVIDDISPLAYCALLBACK pfnDisplayPicture

Members​


Structure _MUVIDPARSERPARAMS​

Definition: mtmuvid.h (line 372)

Members​

Public attributes​

Variable CodecType​

Definition: mtmuvid.h (line 374)

musaVideoCodec _MUVIDPARSERPARAMS::CodecType

IN: musaVideoCodec_XXX

Type: musaVideoCodec

Variable ulMaxNumDecodeSurfaces​

Definition: mtmuvid.h (line 375)

unsigned int _MUVIDPARSERPARAMS::ulMaxNumDecodeSurfaces

IN: Max # of decode surfaces (parser will cycle through these)

Type: unsigned int

Variable ulClockRate​

Definition: mtmuvid.h (line 376)

unsigned int _MUVIDPARSERPARAMS::ulClockRate

IN: Timestamp units in Hz (0=default=10000000Hz)

Type: unsigned int

Variable ulErrorThreshold​

Definition: mtmuvid.h (line 377)

unsigned int _MUVIDPARSERPARAMS::ulErrorThreshold

IN: % Error threshold (0-100) for calling pfnDecodePicture (100=always IN: call pfnDecodePicture even if picture bitstream is fully corrupted) IN: don't support this for now

Type: unsigned int

Variable ulMaxDisplayDelay​

Definition: mtmuvid.h (line 380)

unsigned int _MUVIDPARSERPARAMS::ulMaxDisplayDelay

IN: Max display queue delay (improves pipelining of decode with display) 0=no delay (recommended values: 2..4)

Type: unsigned int

Variable bAnnexb​

Definition: mtmuvid.h (line 382)

unsigned int _MUVIDPARSERPARAMS::bAnnexb

IN: AV1 annexB stream

Type: unsigned int

Variable uReserved​

Definition: mtmuvid.h (line 383)

unsigned int _MUVIDPARSERPARAMS::uReserved

Reserved for future use - set to zero

Type: unsigned int

Variable uReserved1​

Definition: mtmuvid.h (line 384)

unsigned int _MUVIDPARSERPARAMS::uReserved1[4][4]

IN: Reserved for future use - set to 0

Type: unsigned int

Variable pUserData​

Definition: mtmuvid.h (line 385)

void* _MUVIDPARSERPARAMS::pUserData

IN: User data for callbacks

Type: void *

Variable pfnSequenceCallback​

Definition: mtmuvid.h (line 386)

PFNVIDSEQUENCECALLBACK _MUVIDPARSERPARAMS::pfnSequenceCallback

IN: Called before decoding frames and/or whenever there is a fmt change

Type: PFNVIDSEQUENCECALLBACK

Variable pfnDecodePicture​

Definition: mtmuvid.h (line 387)

PFNVIDDECODECALLBACK _MUVIDPARSERPARAMS::pfnDecodePicture

IN: Called when a picture is ready to be decoded (decode order)

Type: PFNVIDDECODECALLBACK

Variable pfnDisplayPicture​

Definition: mtmuvid.h (line 388)

PFNVIDDISPLAYCALLBACK _MUVIDPARSERPARAMS::pfnDisplayPicture

IN: Called whenever a picture is ready to be displayed (display order)

Type: PFNVIDDISPLAYCALLBACK

Variable pfnGetOperatingPoint​

Definition: mtmuvid.h (line 389)

PFNVIDOPPOINTCALLBACK _MUVIDPARSERPARAMS::pfnGetOperatingPoint

IN: Called from AV1 sequence header to get operating point of a AV1 scalable bitstream

Type: PFNVIDOPPOINTCALLBACK

Variable pfnGetSEIMsg​

Definition: mtmuvid.h (line 391)

PFNVIDSEIMSGCALLBACK _MUVIDPARSERPARAMS::pfnGetSEIMsg

IN: Called when all SEI messages are parsed for particular frame

Type: PFNVIDSEIMSGCALLBACK

Variable deviceName​

Definition: mtmuvid.h (line 392)

const char* _MUVIDPARSERPARAMS::deviceName

IN: The device name to Decode (for example: /dev/dri/renderD128). Used only on Linux.

Type: const char *

Variable pvReserved2​

Definition: mtmuvid.h (line 394)

void* _MUVIDPARSERPARAMS::pvReserved2[4][4]

Reserved for future use - set to NULL

Type: void *

Variable pExtVideoInfo​

Definition: mtmuvid.h (line 395)

MUVIDEOFORMATEX* _MUVIDPARSERPARAMS::pExtVideoInfo

IN: [Optional] sequence header data from system layer, current no used

Type: MUVIDEOFORMATEX *


Structure MUVIDPARSERPARAMS​

Definition: mtmuvid.h (line 369)

Used in muvidCreateVideoParser API

Members​


Structure _MUVIDPICPARAMS​

Definition: muviddec.h (line 764)

Members​

Public attributes​

Variable PicWidthInMbs​

Definition: muviddec.h (line 766)

int _MUVIDPICPARAMS::PicWidthInMbs

IN: Coded frame size in macroblocks

Type: int

Variable FrameHeightInMbs​

Definition: muviddec.h (line 767)

int _MUVIDPICPARAMS::FrameHeightInMbs

IN: Coded frame height in macroblocks

Type: int

Variable CurrPicIdx​

Definition: muviddec.h (line 768)

int _MUVIDPICPARAMS::CurrPicIdx

IN: Output index of the current picture

Type: int

Variable field_pic_flag​

Definition: muviddec.h (line 769)

int _MUVIDPICPARAMS::field_pic_flag

IN: 0=frame picture, 1=field picture

Type: int

Variable bottom_field_flag​

Definition: muviddec.h (line 770)

int _MUVIDPICPARAMS::bottom_field_flag

IN: 0=top field, 1=bottom field (ignored if field_pic_flag=0)

Type: int

Variable second_field​

Definition: muviddec.h (line 771)

int _MUVIDPICPARAMS::second_field

IN: Second field of a complementary field pair

Type: int

Variable nBitstreamDataLen​

Definition: muviddec.h (line 773)

unsigned int _MUVIDPICPARAMS::nBitstreamDataLen

IN: Number of bytes in bitstream data buffer

Type: unsigned int

Variable pBitstreamData​

Definition: muviddec.h (line 774)

const unsigned char* _MUVIDPICPARAMS::pBitstreamData

IN: Ptr to bitstream data for this picture (slice-layer)

Type: const unsigned char *

Variable nNumSlices​

Definition: muviddec.h (line 775)

unsigned int _MUVIDPICPARAMS::nNumSlices

IN: Number of slices in this picture

Type: unsigned int

Variable pSliceDataOffsets​

Definition: muviddec.h (line 776)

const unsigned int* _MUVIDPICPARAMS::pSliceDataOffsets

IN: nNumSlices entries, contains offset of each slice within the bitstream data buffer

Type: const unsigned int *

Variable ref_pic_flag​

Definition: muviddec.h (line 778)

int _MUVIDPICPARAMS::ref_pic_flag

IN: This picture is a reference picture

Type: int

Variable intra_pic_flag​

Definition: muviddec.h (line 779)

int _MUVIDPICPARAMS::intra_pic_flag

IN: This picture is entirely intra coded

Type: int

Variable Reserved​

Definition: muviddec.h (line 780)

unsigned int _MUVIDPICPARAMS::Reserved[30][30]

Reserved for future use

Type: unsigned int

Variable h264​

Definition: muviddec.h (line 783)

MUVIDH264PICPARAMS _MUVIDPICPARAMS::h264

Type: MUVIDH264PICPARAMS

Variable hevc​

Definition: muviddec.h (line 784)

MUVIDHEVCPICPARAMS _MUVIDPICPARAMS::hevc

Type: MUVIDHEVCPICPARAMS

Variable vp9​

Definition: muviddec.h (line 785)

MUVIDVP9PICPARAMS _MUVIDPICPARAMS::vp9

Type: MUVIDVP9PICPARAMS

Variable av1​

Definition: muviddec.h (line 786)

MUVIDAV1PICPARAMS _MUVIDPICPARAMS::av1

Type: MUVIDAV1PICPARAMS

Variable CodecReserved​

Definition: muviddec.h (line 787)

unsigned int _MUVIDPICPARAMS::CodecReserved[1024][1024]

Type: unsigned int

Variable CodecSpecific​

Definition: muviddec.h (line 788)

union _MUVIDPICPARAMS _MUVIDPICPARAMS::CodecSpecific

Type: union _MUVIDPICPARAMS


Structure MUVIDPICPARAMS​

Definition: muviddec.h (line 759)

Picture parameters for decoding This structure is used in muvidDecodePicture API IN for muvidDecodePicture

Members​


Structure _MUVIDPROCPARAMS​

Definition: muviddec.h (line 854)

Members​

Public attributes​

Variable progressive_frame​

Definition: muviddec.h (line 856)

int _MUVIDPROCPARAMS::progressive_frame

IN: Input is progressive (deinterlace_mode will be ignored)

Type: int

Variable second_field​

Definition: muviddec.h (line 857)

int _MUVIDPROCPARAMS::second_field

IN: Output the second field (ignored if deinterlace mode is Weave)

Type: int

Variable top_field_first​

Definition: muviddec.h (line 858)

int _MUVIDPROCPARAMS::top_field_first

IN: Input frame is top field first (1st field is top, 2nd field is bottom)

Type: int

Variable unpaired_field​

Definition: muviddec.h (line 859)

int _MUVIDPROCPARAMS::unpaired_field

IN: Input only contains one field (2nd field is invalid)

Type: int

Variable reserved_flags​

Definition: muviddec.h (line 861)

unsigned int _MUVIDPROCPARAMS::reserved_flags

Reserved for future use (set to zero)

Type: unsigned int

Variable reserved_zero​

Definition: muviddec.h (line 862)

unsigned int _MUVIDPROCPARAMS::reserved_zero

Reserved (set to zero)

Type: unsigned int

Variable raw_input_dptr​

Definition: muviddec.h (line 863)

unsigned long long _MUVIDPROCPARAMS::raw_input_dptr

IN: Input MUdeviceptr for raw YUV extensions

Type: unsigned long long

Variable raw_input_pitch​

Definition: muviddec.h (line 864)

unsigned int _MUVIDPROCPARAMS::raw_input_pitch

IN: pitch in bytes of raw YUV input (should be aligned appropriately)

Type: unsigned int

Variable raw_input_format​

Definition: muviddec.h (line 865)

unsigned int _MUVIDPROCPARAMS::raw_input_format

IN: Input YUV format (musaVideoCodec_enum)

Type: unsigned int

Variable raw_output_dptr​

Definition: muviddec.h (line 866)

unsigned long long _MUVIDPROCPARAMS::raw_output_dptr

IN: Output MUdeviceptr for raw YUV extensions

Type: unsigned long long

Variable raw_output_pitch​

Definition: muviddec.h (line 867)

unsigned int _MUVIDPROCPARAMS::raw_output_pitch

IN: pitch in bytes of raw YUV output (should be aligned appropriately)

Type: unsigned int

Variable Reserved1​

Definition: muviddec.h (line 868)

unsigned int _MUVIDPROCPARAMS::Reserved1

Type: unsigned int

Variable Reserved_stream​

Definition: muviddec.h (line 869)

void* _MUVIDPROCPARAMS::Reserved_stream

Type: void *

Variable Reserved​

Definition: muviddec.h (line 870)

unsigned int _MUVIDPROCPARAMS::Reserved[46][46]

Reserved for future use (set to zero)

Type: unsigned int

Variable histogram_dptr​

Definition: muviddec.h (line 871)

unsigned long long* _MUVIDPROCPARAMS::histogram_dptr

OUT: Output MUdeviceptr for histogram extensions

Type: unsigned long long *

Variable Reserved2​

Definition: muviddec.h (line 872)

void* _MUVIDPROCPARAMS::Reserved2[1][1]

Reserved for future use (set to zero)

Type: void *

Variable postProcParams​

Definition: muviddec.h (line 873)

MUSAPROCPARAMS* _MUVIDPROCPARAMS::postProcParams

Reserved for future use (set to zero)

Type: MUSAPROCPARAMS *

Variable Reserved3​

Definition: muviddec.h (line 874)

void* _MUVIDPROCPARAMS::Reserved3[3][3]

Reserved for future use (set to zero)

Type: void *


Structure MUVIDPROCPARAMS​

Definition: muviddec.h (line 850)

Picture parameters for postprocessing This structure is used in muvidMapVideoFrame API

Members​


Structure _MUVIDRECONFIGUREDECODERINFO​

Definition: muviddec.h (line 894)

Members​

Public attributes​

Variable ulWidth​

Definition: muviddec.h (line 896)

unsigned int _MUVIDRECONFIGUREDECODERINFO::ulWidth

IN: Coded sequence width in pixels, MUST be < = ulMaxWidth defined at MUVIDDECODECREATEINFO

Type: unsigned int

Variable ulHeight​

Definition: muviddec.h (line 897)

unsigned int _MUVIDRECONFIGUREDECODERINFO::ulHeight

IN: Coded sequence height in pixels, MUST be < = ulMaxHeight defined at MUVIDDECODECREATEINFO

Type: unsigned int

Variable ulTargetWidth​

Definition: muviddec.h (line 898)

unsigned int _MUVIDRECONFIGUREDECODERINFO::ulTargetWidth

IN: Post processed output width

Type: unsigned int

Variable ulTargetHeight​

Definition: muviddec.h (line 899)

unsigned int _MUVIDRECONFIGUREDECODERINFO::ulTargetHeight

IN: Post Processed output height

Type: unsigned int

Variable ulNumDecodeSurfaces​

Definition: muviddec.h (line 900)

unsigned int _MUVIDRECONFIGUREDECODERINFO::ulNumDecodeSurfaces

IN: Maximum number of internal decode surfaces

Type: unsigned int

Variable reserved1​

Definition: muviddec.h (line 901)

unsigned int _MUVIDRECONFIGUREDECODERINFO::reserved1[12][12]

Reserved for future use. Set to Zero

Type: unsigned int

Variable left​

Definition: muviddec.h (line 906)

short _MUVIDRECONFIGUREDECODERINFO::left

Type: short

Variable top​

Definition: muviddec.h (line 907)

short _MUVIDRECONFIGUREDECODERINFO::top

Type: short

Variable right​

Definition: muviddec.h (line 908)

short _MUVIDRECONFIGUREDECODERINFO::right

Type: short

Variable bottom​

Definition: muviddec.h (line 909)

short _MUVIDRECONFIGUREDECODERINFO::bottom

Type: short

Variable display_area​

Definition: muviddec.h (line 910)

struct _MUVIDRECONFIGUREDECODERINFO _MUVIDRECONFIGUREDECODERINFO::display_area

IN: Area of frame to be displayed. Use-case : Source Cropping

Type: struct _MUVIDRECONFIGUREDECODERINFO

Variable target_rect​

Definition: muviddec.h (line 919)

struct _MUVIDRECONFIGUREDECODERINFO _MUVIDRECONFIGUREDECODERINFO::target_rect

IN: Target Rectangle in the OutputFrame. Use-case : Aspect ratio Conversion

Type: struct _MUVIDRECONFIGUREDECODERINFO

Variable reserved2​

Definition: muviddec.h (line 920)

unsigned int _MUVIDRECONFIGUREDECODERINFO::reserved2[11][11]

Reserved for future use. Set to Zero

Type: unsigned int


Structure MUVIDRECONFIGUREDECODERINFO​

Definition: muviddec.h (line 890)

Struct for decoder reset This structure is used in muvidReconfigureDecoder() API

Members​


Structure _MUVIDSEIMESSAGEINFO​

Definition: mtmuvid.h (line 262)

Members​

Public attributes​

Variable pSEIData​

Definition: mtmuvid.h (line 264)

void* _MUVIDSEIMESSAGEINFO::pSEIData

OUT: SEI Message Data

Type: void *

Variable pSEIMessage​

Definition: mtmuvid.h (line 265)

MUSEIMESSAGE* _MUVIDSEIMESSAGEINFO::pSEIMessage

OUT: SEI Message Info

Type: MUSEIMESSAGE *

Variable sei_message_count​

Definition: mtmuvid.h (line 266)

unsigned int _MUVIDSEIMESSAGEINFO::sei_message_count

OUT: SEI Message Count

Type: unsigned int

Variable picIdx​

Definition: mtmuvid.h (line 267)

unsigned int _MUVIDSEIMESSAGEINFO::picIdx

OUT: SEI Message Pic Index

Type: unsigned int

Variable reserved​

Definition: mtmuvid.h (line 268)

unsigned int _MUVIDSEIMESSAGEINFO::reserved[8][8]

Type: unsigned int


Structure MUVIDSEIMESSAGEINFO​

Definition: mtmuvid.h (line 259)

Used in muvidParseVideoData API with PFNVIDSEIMSGCALLBACK pfnGetSEIMsg

Members​


Structure _MUVIDSOURCEDATAPACKET​

Definition: mtmuvid.h (line 318)

Members​

Public attributes​

Variable flags​

Definition: mtmuvid.h (line 320)

unsigned long _MUVIDSOURCEDATAPACKET::flags

IN: Combination of MUVID_PKT_XXX flags

Type: unsigned long

Variable payload_size​

Definition: mtmuvid.h (line 321)

unsigned long _MUVIDSOURCEDATAPACKET::payload_size

IN: number of bytes in the payload (may be zero if EOS flag is set)

Type: unsigned long

Variable payload​

Definition: mtmuvid.h (line 322)

const unsigned char* _MUVIDSOURCEDATAPACKET::payload

IN: Pointer to packet payload data (may be NULL if EOS flag is set)

Type: const unsigned char *

Variable timestamp​

Definition: mtmuvid.h (line 323)

MUvideotimestamp _MUVIDSOURCEDATAPACKET::timestamp

IN: Presentation time stamp (10MHz clock), only valid if MUVID_PKT_TIMESTAMP flag is set

Type: MUvideotimestamp


Structure MUVIDSOURCEDATAPACKET​

Definition: mtmuvid.h (line 313)

Data Packet Used in muvidParseVideoData API IN for muvidParseVideoData

Members​


Structure _MUVIDVP9PICPARAMS​

Definition: muviddec.h (line 516)

VP9 picture parameters.

This structure is used in MUVIDPICPARAMS.

Members​

Public attributes​

Variable width​

Definition: muviddec.h (line 518)

unsigned int _MUVIDVP9PICPARAMS::width

Type: unsigned int

Variable height​

Definition: muviddec.h (line 519)

unsigned int _MUVIDVP9PICPARAMS::height

Type: unsigned int

Variable LastRefIdx​

Definition: muviddec.h (line 522)

unsigned char _MUVIDVP9PICPARAMS::LastRefIdx

Type: unsigned char

Variable GoldenRefIdx​

Definition: muviddec.h (line 523)

unsigned char _MUVIDVP9PICPARAMS::GoldenRefIdx

Type: unsigned char

Variable AltRefIdx​

Definition: muviddec.h (line 524)

unsigned char _MUVIDVP9PICPARAMS::AltRefIdx

Type: unsigned char

Variable colorSpace​

Definition: muviddec.h (line 525)

unsigned char _MUVIDVP9PICPARAMS::colorSpace

Type: unsigned char

Variable profile​

Definition: muviddec.h (line 527)

unsigned short _MUVIDVP9PICPARAMS::profile

Type: unsigned short

Variable frameContextIdx​

Definition: muviddec.h (line 528)

unsigned short _MUVIDVP9PICPARAMS::frameContextIdx

Type: unsigned short

Variable frameType​

Definition: muviddec.h (line 529)

unsigned short _MUVIDVP9PICPARAMS::frameType

Type: unsigned short

Variable showFrame​

Definition: muviddec.h (line 530)

unsigned short _MUVIDVP9PICPARAMS::showFrame

Type: unsigned short

Variable errorResilient​

Definition: muviddec.h (line 531)

unsigned short _MUVIDVP9PICPARAMS::errorResilient

Type: unsigned short

Variable frameParallelDecoding​

Definition: muviddec.h (line 532)

unsigned short _MUVIDVP9PICPARAMS::frameParallelDecoding

Type: unsigned short

Variable subSamplingX​

Definition: muviddec.h (line 533)

unsigned short _MUVIDVP9PICPARAMS::subSamplingX

Type: unsigned short

Variable subSamplingY​

Definition: muviddec.h (line 534)

unsigned short _MUVIDVP9PICPARAMS::subSamplingY

Type: unsigned short

Variable intraOnly​

Definition: muviddec.h (line 535)

unsigned short _MUVIDVP9PICPARAMS::intraOnly

Type: unsigned short

Variable allow_high_precision_mv​

Definition: muviddec.h (line 536)

unsigned short _MUVIDVP9PICPARAMS::allow_high_precision_mv

Type: unsigned short

Variable refreshEntropyProbs​

Definition: muviddec.h (line 537)

unsigned short _MUVIDVP9PICPARAMS::refreshEntropyProbs

Type: unsigned short

Variable reserved2Bits​

Definition: muviddec.h (line 538)

unsigned short _MUVIDVP9PICPARAMS::reserved2Bits

Type: unsigned short

Variable reserved16Bits​

Definition: muviddec.h (line 540)

unsigned short _MUVIDVP9PICPARAMS::reserved16Bits

Type: unsigned short

Variable refFrameSignBias​

Definition: muviddec.h (line 542)

unsigned char _MUVIDVP9PICPARAMS::refFrameSignBias[4]

Type: unsigned char

Variable bitDepthMinus8Luma​

Definition: muviddec.h (line 544)

unsigned char _MUVIDVP9PICPARAMS::bitDepthMinus8Luma

Type: unsigned char

Variable bitDepthMinus8Chroma​

Definition: muviddec.h (line 545)

unsigned char _MUVIDVP9PICPARAMS::bitDepthMinus8Chroma

Type: unsigned char

Variable loopFilterLevel​

Definition: muviddec.h (line 546)

unsigned char _MUVIDVP9PICPARAMS::loopFilterLevel

Type: unsigned char

Variable loopFilterSharpness​

Definition: muviddec.h (line 547)

unsigned char _MUVIDVP9PICPARAMS::loopFilterSharpness

Type: unsigned char

Variable modeRefLfEnabled​

Definition: muviddec.h (line 549)

unsigned char _MUVIDVP9PICPARAMS::modeRefLfEnabled

Type: unsigned char

Variable log2_tile_columns​

Definition: muviddec.h (line 550)

unsigned char _MUVIDVP9PICPARAMS::log2_tile_columns

Type: unsigned char

Variable log2_tile_rows​

Definition: muviddec.h (line 551)

unsigned char _MUVIDVP9PICPARAMS::log2_tile_rows

Type: unsigned char

Variable segmentEnabled​

Definition: muviddec.h (line 553)

unsigned char _MUVIDVP9PICPARAMS::segmentEnabled

Type: unsigned char

Variable segmentMapUpdate​

Definition: muviddec.h (line 554)

unsigned char _MUVIDVP9PICPARAMS::segmentMapUpdate

Type: unsigned char

Variable segmentMapTemporalUpdate​

Definition: muviddec.h (line 555)

unsigned char _MUVIDVP9PICPARAMS::segmentMapTemporalUpdate

Type: unsigned char

Variable segmentFeatureMode​

Definition: muviddec.h (line 556)

unsigned char _MUVIDVP9PICPARAMS::segmentFeatureMode

Type: unsigned char

Variable reserved4Bits​

Definition: muviddec.h (line 557)

unsigned char _MUVIDVP9PICPARAMS::reserved4Bits

Type: unsigned char

Variable segmentFeatureEnable​

Definition: muviddec.h (line 560)

unsigned char _MUVIDVP9PICPARAMS::segmentFeatureEnable[8][4]

Type: unsigned char

Variable segmentFeatureData​

Definition: muviddec.h (line 561)

short _MUVIDVP9PICPARAMS::segmentFeatureData[8][4]

Type: short

Variable mb_segment_tree_probs​

Definition: muviddec.h (line 562)

unsigned char _MUVIDVP9PICPARAMS::mb_segment_tree_probs[7]

Type: unsigned char

Variable segment_pred_probs​

Definition: muviddec.h (line 563)

unsigned char _MUVIDVP9PICPARAMS::segment_pred_probs[3]

Type: unsigned char

Variable reservedSegment16Bits​

Definition: muviddec.h (line 564)

unsigned char _MUVIDVP9PICPARAMS::reservedSegment16Bits[2]

Type: unsigned char

Variable qpYAc​

Definition: muviddec.h (line 566)

int _MUVIDVP9PICPARAMS::qpYAc

Type: int

Variable qpYDc​

Definition: muviddec.h (line 567)

int _MUVIDVP9PICPARAMS::qpYDc

Type: int

Variable qpChDc​

Definition: muviddec.h (line 568)

int _MUVIDVP9PICPARAMS::qpChDc

Type: int

Variable qpChAc​

Definition: muviddec.h (line 569)

int _MUVIDVP9PICPARAMS::qpChAc

Type: int

Variable activeRefIdx​

Definition: muviddec.h (line 571)

unsigned int _MUVIDVP9PICPARAMS::activeRefIdx[3]

Type: unsigned int

Variable resetFrameContext​

Definition: muviddec.h (line 572)

unsigned int _MUVIDVP9PICPARAMS::resetFrameContext

Type: unsigned int

Variable mcomp_filter_type​

Definition: muviddec.h (line 573)

unsigned int _MUVIDVP9PICPARAMS::mcomp_filter_type

Type: unsigned int

Variable mbRefLfDelta​

Definition: muviddec.h (line 574)

unsigned int _MUVIDVP9PICPARAMS::mbRefLfDelta[4]

Type: unsigned int

Variable mbModeLfDelta​

Definition: muviddec.h (line 575)

unsigned int _MUVIDVP9PICPARAMS::mbModeLfDelta[2]

Type: unsigned int

Variable frameTagSize​

Definition: muviddec.h (line 576)

unsigned int _MUVIDVP9PICPARAMS::frameTagSize

Type: unsigned int

Variable offsetToDctParts​

Definition: muviddec.h (line 577)

unsigned int _MUVIDVP9PICPARAMS::offsetToDctParts

Type: unsigned int

Variable reserved128Bits​

Definition: muviddec.h (line 578)

unsigned int _MUVIDVP9PICPARAMS::reserved128Bits[4]

Type: unsigned int


Structure MUVIDVP9PICPARAMS​

Definition: muviddec.h (line 512)

VP9 picture parameters.

This typedef aliases _MUVIDVP9PICPARAMS and is used in MUVIDPICPARAMS.

Members​