#include "shared/shared.h"
#include "common/cvar.h"
#include "refresh/images.h"
Go to the source code of this file.
Macros | |
#define | FIX(x) (int)((x) * (1 << 16)) |
Functions | |
static q_noinline int | diff (uint32_t A_u32, uint32_t B_u32) |
static int | same (uint32_t A, uint32_t B) |
static uint64_t | grow (uint64_t n) |
static uint32_t | pack (uint64_t n) |
static q_noinline uint32_t | blend_1_1 (uint32_t A, uint32_t B) |
static q_noinline uint32_t | blend_3_1 (uint32_t A, uint32_t B) |
static q_noinline uint32_t | blend_7_1 (uint32_t A, uint32_t B) |
static q_noinline uint32_t | blend_5_3 (uint32_t A, uint32_t B) |
static q_noinline uint32_t | blend_2_1_1 (uint32_t A, uint32_t B, uint32_t C) |
static q_noinline uint32_t | blend_5_2_1 (uint32_t A, uint32_t B, uint32_t C) |
static q_noinline uint32_t | blend_6_1_1 (uint32_t A, uint32_t B, uint32_t C) |
static q_noinline uint32_t | blend_2_3_3 (uint32_t A, uint32_t B, uint32_t C) |
static q_noinline uint32_t | blend_14_1_1 (uint32_t A, uint32_t B, uint32_t C) |
static q_noinline uint32_t | hq2x_blend (int rule, uint32_t E, uint32_t A, uint32_t B, uint32_t D, uint32_t F, uint32_t H) |
static q_noinline void | hq4x_blend (int rule, uint32_t *p00, uint32_t *p01, uint32_t *p10, uint32_t *p11, uint32_t E, uint32_t A, uint32_t B, uint32_t D, uint32_t F, uint32_t H) |
void | HQ2x_Render (uint32_t *output, const uint32_t *input, int width, int height) |
void | HQ4x_Render (uint32_t *output, const uint32_t *input, int width, int height) |
void | HQ2x_Init (void) |
Variables | |
static const uint8_t | hqTable [256] |
static uint8_t | rotTable [256] |
static int32_t | yccTable [8][256] |
static int32_t | maxY |
static int32_t | maxCb |
static int32_t | maxCr |
|
static |
|
static |
|
static |
Definition at line 126 of file hq2x.c.
Referenced by hq2x_blend(), and hq4x_blend().
|
static |
|
static |
Definition at line 111 of file hq2x.c.
Referenced by hq2x_blend(), and hq4x_blend().
|
static |
Definition at line 131 of file hq2x.c.
Referenced by hq2x_blend(), and hq4x_blend().
|
static |
|
static |
Definition at line 136 of file hq2x.c.
Referenced by hq2x_blend(), and hq4x_blend().
|
static |
|
static |
Definition at line 55 of file hq2x.c.
Referenced by Com_TimeDiff(), Com_TimeDiffLong(), GL_ArrayBits(), GL_StateBits(), HQ2x_Render(), HQ4x_Render(), Key_SetDest(), misc_viper_bomb_prethink(), NET_Stats_f(), NET_UpdateStats(), same(), turret_breach_think(), vkpt_shadow_map_setup(), and write_index().
|
inlinestatic |
Definition at line 92 of file hq2x.c.
Referenced by blend_14_1_1(), blend_1_1(), blend_2_1_1(), blend_2_3_3(), blend_3_1(), blend_5_2_1(), blend_5_3(), blend_6_1_1(), and blend_7_1().
|
static |
|
static |
Definition at line 405 of file hq2x.c.
Referenced by GL_Upscale32().
|
inlinestatic |
Definition at line 99 of file hq2x.c.
Referenced by blend_14_1_1(), blend_1_1(), blend_2_1_1(), blend_2_3_3(), blend_3_1(), blend_5_2_1(), blend_5_3(), blend_6_1_1(), blend_7_1(), CL_Record_f(), load_pak_file(), open_from_pak(), pack_alloc(), pack_get(), pack_hash_file(), pack_put(), and q_printf().
|
inlinestatic |
Definition at line 87 of file hq2x.c.
Referenced by hq2x_blend(), and hq4x_blend().
|
static |
Definition at line 32 of file hq2x.c.
Referenced by HQ2x_Render(), and HQ4x_Render().
|
static |
Definition at line 53 of file hq2x.c.
Referenced by diff(), and HQ2x_Init().
|
static |
Definition at line 53 of file hq2x.c.
Referenced by diff(), and HQ2x_Init().
|
static |
Definition at line 53 of file hq2x.c.
Referenced by diff(), and HQ2x_Init().
|
static |
Definition at line 51 of file hq2x.c.
Referenced by HQ2x_Init(), HQ2x_Render(), and HQ4x_Render().
|
static |
Definition at line 52 of file hq2x.c.
Referenced by diff(), and HQ2x_Init().