Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
MtCoder.h File Reference
#include "MtDec.h"

Go to the source code of this file.

Data Structures

struct  CMtProgressThunk
 
struct  CMtCoderThread
 
struct  IMtCoderCallback2
 
struct  CMtCoderBlock
 
struct  CMtCoder_
 

Macros

#define MTCODER_GET_NUM_BLOCKS_FROM_THREADS(numThreads)
 
#define MTCODER_THREADS_MAX   64
 
#define MTCODER_BLOCKS_MAX   (MTCODER_GET_NUM_BLOCKS_FROM_THREADS(MTCODER_THREADS_MAX) + 3)
 
#define MtProgressThunk_INIT(p)
 

Typedefs

typedef struct CMtCoder_ CMtCoder
 

Functions

void MtProgressThunk_CreateVTable (CMtProgressThunk *p)
 
void MtCoder_Construct (CMtCoder *p)
 
void MtCoder_Destruct (CMtCoder *p)
 
SRes MtCoder_Code (CMtCoder *p)
 

Macro Definition Documentation

◆ MTCODER_BLOCKS_MAX

#define MTCODER_BLOCKS_MAX   (MTCODER_GET_NUM_BLOCKS_FROM_THREADS(MTCODER_THREADS_MAX) + 3)

◆ MTCODER_GET_NUM_BLOCKS_FROM_THREADS

#define MTCODER_GET_NUM_BLOCKS_FROM_THREADS ( numThreads)
Value:
((numThreads) + (numThreads) / 8 + 1)

◆ MTCODER_THREADS_MAX

#define MTCODER_THREADS_MAX   64

◆ MtProgressThunk_INIT

#define MtProgressThunk_INIT ( p)
Value:
{ (p)->inSize = 0; (p)->outSize = 0; }

Typedef Documentation

◆ CMtCoder

typedef struct CMtCoder_ CMtCoder

Function Documentation

◆ MtCoder_Code()

SRes MtCoder_Code ( CMtCoder * p)

◆ MtCoder_Construct()

void MtCoder_Construct ( CMtCoder * p)

◆ MtCoder_Destruct()

void MtCoder_Destruct ( CMtCoder * p)

◆ MtProgressThunk_CreateVTable()

void MtProgressThunk_CreateVTable ( CMtProgressThunk * p)