clpf.h 587 Bytes
Newer Older
1
2
3
4
5
6
7
8
/*
Copyright (c) 2016, Cisco Systems
(Replace with proper AOM header)
*/

#ifndef VP10_COMMON_CLPF_H_
#define VP10_COMMON_CLPF_H_

Yaowu Xu's avatar
Yaowu Xu committed
9
#include "av1/common/reconinter.h"
10
11
12
13
14
15
16
17
18
19
20
21
22

// Configuration
#define CLPF_ALLOW_PIXEL_PARALLELISM \
  1  // 1 = SIMD friendly (adds a buffer requirement)
#define CLPF_ALLOW_BLOCK_PARALLELISM \
  0  // 1 = MT friendly (degrades quality slighty)
#define CLPF_FILTER_ALL_PLANES \
  0  // 1 = filter both luma and chroma, 0 = filter only luma

void vp10_clpf_frame(const YV12_BUFFER_CONFIG *frame, const VP10_COMMON *cm,
                     MACROBLOCKD *xd);

#endif