RetroArch
|
#include <stdint.h>
#include <string.h>
#include <boolean.h>
#include "7z.h"
#include "Bcj2.h"
#include "Bra.h"
#include "CpuArch.h"
#include "LzmaDec.h"
#include "Lzma2Dec.h"
Macros | |
#define | k_Copy 0 |
#define | k_LZMA2 0x21 |
#define | k_LZMA 0x30101 |
#define | k_BCJ 0x03030103 |
#define | k_PPC 0x03030205 |
#define | k_ARM 0x03030501 |
#define | k_ARMT 0x03030701 |
#define | k_SPARC 0x03030805 |
#define | k_BCJ2 0x0303011B |
#define | IS_BCJ2(c) ((c)->MethodID == k_BCJ2 && (c)->NumInStreams == 4 && (c)->NumOutStreams == 1) |
#define | CASE_BRA_CONV(isa) case k_ ## isa: isa ## _Convert(outBuffer, outSize, 0, 0); break; |
Functions | |
static SRes | SzDecodeLzma (CSzCoderInfo *coder, uint64_t inSize, ILookInStream *inStream, uint8_t *outBuffer, size_t outSize, ISzAlloc *allocMain) |
static SRes | SzDecodeLzma2 (CSzCoderInfo *coder, uint64_t inSize, ILookInStream *inStream, uint8_t *outBuffer, size_t outSize, ISzAlloc *allocMain) |
static SRes | SzDecodeCopy (uint64_t inSize, ILookInStream *inStream, uint8_t *outBuffer) |
static bool | IS_MAIN_METHOD (uint32_t m) |
static bool | IS_SUPPORTED_CODER (const CSzCoderInfo *c) |
static SRes | CheckSupportedFolder (const CSzFolder *f) |
static uint64_t | GetSum (const uint64_t *values, uint32_t idx) |
static SRes | SzFolder_Decode2 (const CSzFolder *folder, const uint64_t *packSizes, ILookInStream *inStream, uint64_t startPos, uint8_t *outBuffer, size_t outSize, ISzAlloc *allocMain, uint8_t *tempBuf[]) |
SRes | SzFolder_Decode (const CSzFolder *folder, const uint64_t *packSizes, ILookInStream *inStream, uint64_t startPos, uint8_t *outBuffer, size_t outSize, ISzAlloc *allocMain) |
#define CASE_BRA_CONV | ( | isa | ) | case k_ ## isa: isa ## _Convert(outBuffer, outSize, 0, 0); break; |
#define k_ARM 0x03030501 |
#define k_ARMT 0x03030701 |
#define k_BCJ 0x03030103 |
#define k_BCJ2 0x0303011B |
#define k_Copy 0 |
#define k_LZMA 0x30101 |
#define k_LZMA2 0x21 |
#define k_PPC 0x03030205 |
#define k_SPARC 0x03030805 |
|
static |
|
static |
|
static |
|
static |
SRes SzFolder_Decode | ( | const CSzFolder * | folder, |
const uint64_t * | packSizes, | ||
ILookInStream * | inStream, | ||
uint64_t | startPos, | ||
uint8_t * | outBuffer, | ||
size_t | outSize, | ||
ISzAlloc * | allocMain | ||
) |
|
static |