FFmpeg
Loading...
Searching...
No Matches
cavsdsp.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/cpu.h"
#include "libavutil/lfg.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/cavsdsp.h"
#include "libavcodec/idctdsp.h"

Go to the source code of this file.

Macros

#define STRIDE   16
 

Functions

static void idct8_add_ref (uint8_t *dst, const int16_t coeffs[64])
 
static int check_block (CAVSDSPContext *c, const uint8_t *perm, const int16_t coeffs[64], AVLFG *lfg, int n)
 
int main (void)
 

Variables

static const int8_t t8 [8][8]
 

Macro Definition Documentation

◆ STRIDE

Function Documentation

◆ idct8_add_ref()

static void idct8_add_ref ( uint8_t * dst,
const int16_t coeffs[64] )
static

Definition at line 50 of file cavsdsp.c.

Referenced by check_block().

◆ check_block()

static int check_block ( CAVSDSPContext * c,
const uint8_t * perm,
const int16_t coeffs[64],
AVLFG * lfg,
int n )
static

Definition at line 73 of file cavsdsp.c.

Referenced by main().

◆ main()

int main ( void )

Definition at line 94 of file cavsdsp.c.

Variable Documentation

◆ t8

const int8_t t8[8][8]
static
Initial value:
= {
{ 8, 10, 10, 9, 8, 6, 4, 2 },
{ 8, 9, 4, -2, -8, -10, -10, -6 },
{ 8, 6, -4, -10, -8, 2, 10, 9 },
{ 8, 2, -10, -6, 8, 9, -4, -10 },
{ 8, -2, -10, 6, 8, -9, -4, 10 },
{ 8, -6, -4, 10, -8, -2, 10, -9 },
{ 8, -9, 4, 2, -8, 10, -10, 6 },
{ 8, -10, 10, -9, 8, -6, 4, -2 },
}

Definition at line 39 of file cavsdsp.c.

Referenced by ff_ivi_col_haar8(), ff_ivi_col_slant8(), ff_ivi_inverse_haar_8x8(), ff_ivi_inverse_slant_8x8(), ff_ivi_row_haar8(), ff_ivi_row_slant8(), ff_tx_fft4_ns(), ff_vc1_inv_trans_4x8_msa(), ff_vc1_inv_trans_8x4_msa(), ff_vc1_inv_trans_8x8_lasx(), fic_idct(), fill_data_min_max(), fits_decode_frame(), iadst16_1d(), idct8_add_ref(), idct_1d(), idct_col(), idct_row(), itxfm_wrap(), itxfm_wrap(), main(), mask_edges(), pred8x8l_down_left(), pred8x8l_vertical_left(), put_vc1_mspel_mc_h_v_msa(), vc1_inv_trans_4x8_c(), vc1_inv_trans_8x4_c(), and vc1_inv_trans_8x8_c().