FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <math.h>
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
#include "libavutil/mem.h"
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
#include "libvo/fastmemcpy.h"
Go to the source code of this file.
Data Structures | |
struct | vf_priv_s |
Macros | |
#define | XMIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | XMAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | N0 4 |
#define | N1 5 |
#define | N2 10 |
#define | SN0 2 |
#define | SN1 2.2360679775 |
#define | SN2 3.16227766017 |
#define | N (1<<16) |
Functions | |
static void | dctA_c (int16_t *dst, uint8_t *src, int stride) |
static void | dctB_c (int16_t *dst, int16_t *src) |
static void | init_thres2 (void) |
static int | hardthresh_c (int16_t *src, int qp) |
static int | mediumthresh_c (int16_t *src, int qp) |
static int | softthresh_c (int16_t *src, int qp) |
static void | filter (struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma) |
static int | config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) |
static void | get_image (struct vf_instance *vf, mp_image_t *mpi) |
static int | put_image (struct vf_instance *vf, mp_image_t *mpi, double pts) |
static void | uninit (struct vf_instance *vf) |
static int | query_format (struct vf_instance *vf, unsigned int fmt) |
static int | control (struct vf_instance *vf, int request, void *data) |
static int | vf_open (vf_instance_t *vf, char *args) |
Variables | |
static const uint8_t | dither [8][8] |
static void(* | dctB )(int16_t *dst, int16_t *src) = dctB_c |
static const int | factor [16] |
static const int | thres [16] |
static int | thres2 [99][16] |
static int(* | requantize )(int16_t *src, int qp) = hardthresh_c |
const vf_info_t | ff_vf_info_pp7 |
Definition at line 45 of file vf_pp7.c.
Referenced by init_thres2().
#define N0 4 |
Definition at line 194 of file vf_pp7.c.
Referenced by celt_decode_band(), celt_deinterleave_hadamard(), celt_extract_collapse_mask(), celt_haar1(), and celt_interleave_hadamard().
#define N2 10 |
Definition at line 196 of file vf_pp7.c.
Referenced by celt_compute_qn().
#define SN0 2 |
Definition at line 197 of file vf_pp7.c.
Referenced by init_thres2().
#define SN2 3.16227766017 |
Definition at line 199 of file vf_pp7.c.
Referenced by init_thres2().
#define N (1<<16) |
Definition at line 200 of file vf_pp7.c.
Referenced by celt_cwrsi(), celt_decode_allocation(), celt_decode_band(), celt_deinterleave_hadamard(), celt_interleave_hadamard(), celt_normalize_residual(), celt_renormalize_vector(), celt_stereo_merge(), evolve(), ff_celt_imdct_init(), fft_calc(), and z_scan_block_avail().
|
static |
|
static |
|
static |
|
static |
Definition at line 285 of file vf_pp7.c.
Referenced by put_image().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 48 of file vf_pp7.c.
Referenced by filter().
|
static |
Definition at line 202 of file vf_pp7.c.
Referenced by adaptive_quantization(), av_resample_init(), avpriv_solve_lls(), build_filter(), create_default_qtables(), ff_audio_resample_init(), ff_jpegls_reset_coding_parameters(), ffserver_set_float_param(), ffserver_set_int_param(), and resample_init().
|
static |
|
static |
Definition at line 216 of file vf_pp7.c.
Referenced by quantize().
|
static |