DXVA_Slice_HEVC_Short structure

Specifies slice control data.

Syntax

typedef struct _DXVA_Slice_HEVC_Short {
  UINT   BSNALunitDataLocation;
  UINT   SliceBytesInBuffer;
  USHORT wBadSliceChopping;
} DXVA_Slice_HEVC_Short, *LPDXVA_Slice_HEVC_Short;

Members

BSNALunitDataLocation

Specifies the location of the NAL unit.

SliceBytesInBuffer

The number of bytes in the bitstream data buffer that are associated with this slice control data structure.

wBadSliceChopping

If off-host bitstream parsing is used, this value indicates the bad slice chopping and contains one of the following values:

Requirement Value
Value Description
0 All bits for the slice are located within the corresponding bitstream data buffer.
1 The bitstream data buffer contains the start of the slice, but not the entire slice, because the buffer is full.
2 The bitstream data buffer contains the end of the slice. It does not contain the start of the slice, because the start of the slice was located in the previous bitstream data buffer.
3 The bitstream data buffer does not contain the start of the slice because the start of the slice was located in the previous bitstream data buffer and it does not contain the end of the slice becuase the current bitstream data buffer is also full.

 

Remarks

DXVA_Slice_HEVC_Short contains slice control data which is passed to the hardware accelerator from the host software decoder.

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
Header
Dxva.h

See also

Media Foundation Structures