FFmpeg
Loading...
Searching...
No Matches
proresdsp.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/proresdsp.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/simple_idct_template.c"

Go to the source code of this file.

Macros

#define IN_IDCT_DEPTH   16
 
#define PRORES_ONLY
 
#define BIT_DEPTH   12
 
#define CLIP_MIN   (1 << 2)
 
#define CLIP_MAX_12   ((1 << 12) - CLIP_MIN - 1)
 
#define BLOCK_SIZE   64
 

Functions

static void permute_block (int16_t *dst, const int16_t *src, const uint8_t *perm)
 
static void ref_idct_put_12 (uint16_t *dst, ptrdiff_t linesize, const int16_t *src_block, const int16_t *src_qmat)
 
void checkasm_check_proresdsp (void)
 

Macro Definition Documentation

◆ IN_IDCT_DEPTH

#define IN_IDCT_DEPTH   16

Definition at line 29 of file proresdsp.c.

◆ PRORES_ONLY

#define PRORES_ONLY

Definition at line 30 of file proresdsp.c.

◆ BIT_DEPTH

#define BIT_DEPTH   12

Definition at line 32 of file proresdsp.c.

◆ CLIP_MIN

#define CLIP_MIN   (1 << 2)

Definition at line 37 of file proresdsp.c.

◆ CLIP_MAX_12

#define CLIP_MAX_12   ((1 << 12) - CLIP_MIN - 1)

Definition at line 38 of file proresdsp.c.

◆ BLOCK_SIZE

#define BLOCK_SIZE   64

Definition at line 40 of file proresdsp.c.

Function Documentation

◆ permute_block()

static void permute_block ( int16_t * dst,
const int16_t * src,
const uint8_t * perm )
static

Definition at line 42 of file proresdsp.c.

Referenced by checkasm_check_proresdsp().

◆ ref_idct_put_12()

static void ref_idct_put_12 ( uint16_t * dst,
ptrdiff_t linesize,
const int16_t * src_block,
const int16_t * src_qmat )
static

Definition at line 48 of file proresdsp.c.

Referenced by checkasm_check_proresdsp().

◆ checkasm_check_proresdsp()

void checkasm_check_proresdsp ( void )

Definition at line 69 of file proresdsp.c.