FFmpeg
sao.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2025 Zhao Zhili
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVCODEC_WASM_HEVC_SAO_H
22 #define AVCODEC_WASM_HEVC_SAO_H
23 
24 #include <stddef.h>
25 #include <stdint.h>
26 
27 void ff_hevc_sao_band_filter_8x8_8_simd128(uint8_t *_dst, const uint8_t *_src,
28  ptrdiff_t _stride_dst,
29  ptrdiff_t _stride_src,
30  const int16_t *sao_offset_val,
31  int sao_left_class, int width,
32  int height);
33 
34 void ff_hevc_sao_band_filter_16x16_8_simd128(uint8_t *_dst, const uint8_t *_src,
35  ptrdiff_t _stride_dst,
36  ptrdiff_t _stride_src,
37  const int16_t *sao_offset_val,
38  int sao_left_class, int width,
39  int height);
40 
41 void ff_hevc_sao_edge_filter_8x8_8_simd128(uint8_t *_dst, const uint8_t *_src,
42  ptrdiff_t stride_dst,
43  const int16_t *sao_offset_val,
44  int eo, int width, int height);
45 
46 void ff_hevc_sao_edge_filter_16x16_8_simd128(uint8_t *_dst, const uint8_t *_src,
47  ptrdiff_t stride_dst,
48  const int16_t *sao_offset_val,
49  int eo, int width, int height);
50 
51 #endif
52 
_dst
uint8_t * _dst
Definition: dsp.h:56
ff_hevc_sao_edge_filter_8x8_8_simd128
void ff_hevc_sao_edge_filter_8x8_8_simd128(uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, const int16_t *sao_offset_val, int eo, int width, int height)
Definition: sao.c:119
_src
uint8_t ptrdiff_t const uint8_t * _src
Definition: dsp.h:56
ff_hevc_sao_band_filter_8x8_8_simd128
void ff_hevc_sao_band_filter_8x8_8_simd128(uint8_t *_dst, const uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src, const int16_t *sao_offset_val, int sao_left_class, int width, int height)
Definition: sao.c:29
ff_hevc_sao_edge_filter_16x16_8_simd128
void ff_hevc_sao_edge_filter_16x16_8_simd128(uint8_t *_dst, const uint8_t *_src, ptrdiff_t stride_dst, const int16_t *sao_offset_val, int eo, int width, int height)
Definition: sao.c:189
height
#define height
Definition: dsp.h:89
ff_hevc_sao_band_filter_16x16_8_simd128
void ff_hevc_sao_band_filter_16x16_8_simd128(uint8_t *_dst, const uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src, const int16_t *sao_offset_val, int sao_left_class, int width, int height)
Definition: sao.c:75
width
#define width
Definition: dsp.h:89