ID3D12XboxDmaCommandList::JPEGDecodeMemoryX Method

Decodes a JPEG resource.

Syntax

public:
HRESULT JPEGDecodeMemoryX(
         const D3D12_TEXTURE_COPY_LOCATION *pDst,
         UINT DstX,
         UINT DstY,
         UINT DstZ,
         D3D12_GPU_VIRTUAL_ADDRESS Source,
         UINT64 SourceSizeBytes
)  

Parameters

pDst
Type: D3D12_TEXTURE_COPY_LOCATION *

[in] The destination resource, as a pointer to an ID3D11Resource instance.

DstX
Type: UINT 

The X coordinate of the destination.

DstY
Type: UINT 

The Y coordinate of the destination.

DstZ
Type: UINT 

The Z coordinate of the destination.

Source
Type: D3D12_GPU_VIRTUAL_ADDRESS 

The source buffer, as a pointer to an ID3D11Buffer instance.

SourceSizeBytes
Type: UINT64 

The size of the JPEG resource, in bytes.

Return value

Type: HRESULT 

One of the Direct3D 12 return codes.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

LZDecompressMemoryX

JPEGDecode

ID3D12XboxDmaCommandList Interface

ID3D12XboxDmaCommandList Members