nn::cx::SecureUncompressLRC Function

Syntax

#include <nn/cx.h>

s32 SecureUncompressLRC(
     const u8 * srcp,
     u32 srcSize,
     u8 * destp,
     void * work
);

Parameters

Name Description
in srcp Compressed data address.
in srcSize Compressed data size.
out destp Decompressed data address.
in work Work region (requires a region of nncx::UNCOMPRESS_LRC_WORK_SIZE (= 36864) bytes).

Return Values

If the conversion succeeds, returns 0; otherwise, returns a negative error code.

Description

Decompresses LZ-Range Coder compressed data.

Argument values must adhere to the following restrictions:

Revision History

2011/06/27
Added text about the restriction on argument values.
2010/11/10
Initial version.

CONFIDENTIAL