Logo Search packages:      
Sourcecode: blender version File versions

postprocess.c File Reference


Detailed Description

postprocessing.

Definition in file postprocess.c.

#include "config.h"
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "postprocess.h"
#include "postprocess_internal.h"
#include "mangle.h"
#include "postprocess_template.c"

Go to the source code of this file.

Defines

#define ABS(a)   ((a) > 0 ? (a) : (-(a)))
#define always_inline   inline
#define attribute_used
#define BLOCK_SIZE   8
#define COMPILE_C
#define GET_MODE_BUFFER_SIZE   500
#define MAX(a, b)   ((a) < (b) ? (b) : (a))
#define memalign(a, b)   malloc(b)
#define MIN(a, b)   ((a) > (b) ? (b) : (a))
#define OPTIONS_ARRAY_SIZE   10
#define RENAME(a)   a ## _C
#define SIGN(a)   ((a) > 0 ? 1 : -1)
#define TEMP_STRIDE   8

Functions

static always_inline void do_a_deblock_C (uint8_t *src, int step, int stride, PPContext *c)
static void doHorizDefFilter_C (uint8_t dst[], int stride, PPContext *c)
static void doHorizLowPass_C (uint8_t dst[], int stride, PPContext *c)
static void global_init (void)
static int horizClassify_C (uint8_t src[], int stride, PPContext *c)
static void horizX1Filter (uint8_t *src, int stride, int QP)
static int isHorizDC_C (uint8_t src[], int stride, PPContext *c)
static int isHorizMinMaxOk_C (uint8_t src[], int stride, int QP)
static int isVertDC_C (uint8_t src[], int stride, PPContext *c)
static int isVertMinMaxOk_C (uint8_t src[], int stride, int QP)
static void postProcess (uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, QP_STORE_T QPs[], int QPStride, int isColor, pp_mode_t *vm, pp_context_t *vc)
void pp_free_context (void *vc)
void pp_free_mode (pp_mode_t *mode)
pp_context_t * pp_get_context (int width, int height, int cpuCaps)
pp_mode_t * pp_get_mode_by_name_and_quality (char *name, int quality)
void pp_postprocess (uint8_t *src[3], int srcStride[3], uint8_t *dst[3], int dstStride[3], int width, int height, QP_STORE_T *QP_store, int QPStride, pp_mode_t *vm, void *vc, int pict_type)
static void reallocAlign (void **p, int alignment, int size)
static void reallocBuffers (PPContext *c, int width, int height, int stride, int qpStride)
static int vertClassify_C (uint8_t src[], int stride, PPContext *c)

Variables

static uint8_t *const clip_tab = clip_table + 256
static uint8_t clip_table [3 *256]
static const int attribute_used deringThreshold = 20
static struct PPFilter filters []
char * pp_help
 a simple help text
static char * replaceTable []
static const int verbose = 0


Generated by  Doxygen 1.6.0   Back to index