Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
65e6ab0c
Commit
65e6ab0c
authored
Jan 27, 2015
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevcdsp: remove unused parameter from sao_band_filter
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
4b15bba2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
hevc_filter.c
libavcodec/hevc_filter.c
+2
-5
hevcdsp.h
libavcodec/hevcdsp.h
+1
-2
hevcdsp_template.c
libavcodec/hevcdsp_template.c
+1
-2
No files found.
libavcodec/hevc_filter.c
View file @
65e6ab0c
...
@@ -258,11 +258,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y)
...
@@ -258,11 +258,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y)
switch
(
sao
->
type_idx
[
c_idx
])
{
switch
(
sao
->
type_idx
[
c_idx
])
{
case
SAO_BAND
:
case
SAO_BAND
:
copy_CTB
(
dst
,
src
,
width
<<
s
->
sps
->
pixel_shift
,
height
,
stride_dst
,
stride_src
);
copy_CTB
(
dst
,
src
,
width
<<
s
->
sps
->
pixel_shift
,
height
,
stride_dst
,
stride_src
);
s
->
hevcdsp
.
sao_band_filter
(
src
,
dst
,
s
->
hevcdsp
.
sao_band_filter
(
src
,
dst
,
stride_src
,
stride_dst
,
stride_src
,
stride_dst
,
sao
,
width
,
height
,
c_idx
);
sao
,
edges
,
width
,
height
,
c_idx
);
restore_tqb_pixels
(
s
,
x
,
y
,
width
,
height
,
c_idx
);
restore_tqb_pixels
(
s
,
x
,
y
,
width
,
height
,
c_idx
);
sao
->
type_idx
[
c_idx
]
=
SAO_APPLIED
;
sao
->
type_idx
[
c_idx
]
=
SAO_APPLIED
;
break
;
break
;
...
...
libavcodec/hevcdsp.h
View file @
65e6ab0c
...
@@ -59,8 +59,7 @@ typedef struct HEVCDSPContext {
...
@@ -59,8 +59,7 @@ typedef struct HEVCDSPContext {
void
(
*
idct_dc
[
4
])(
int16_t
*
coeffs
);
void
(
*
idct_dc
[
4
])(
int16_t
*
coeffs
);
void
(
*
sao_band_filter
)(
uint8_t
*
_dst
,
uint8_t
*
_src
,
ptrdiff_t
_stride_dst
,
ptrdiff_t
_stride_src
,
void
(
*
sao_band_filter
)(
uint8_t
*
_dst
,
uint8_t
*
_src
,
ptrdiff_t
_stride_dst
,
ptrdiff_t
_stride_src
,
struct
SAOParams
*
sao
,
int
*
borders
,
struct
SAOParams
*
sao
,
int
width
,
int
height
,
int
c_idx
);
int
width
,
int
height
,
int
c_idx
);
void
(
*
sao_edge_filter
[
2
])(
uint8_t
*
_dst
,
uint8_t
*
_src
,
ptrdiff_t
_stride_dst
,
ptrdiff_t
_stride_src
,
void
(
*
sao_edge_filter
[
2
])(
uint8_t
*
_dst
,
uint8_t
*
_src
,
ptrdiff_t
_stride_dst
,
ptrdiff_t
_stride_src
,
struct
SAOParams
*
sao
,
int
*
borders
,
int
_width
,
struct
SAOParams
*
sao
,
int
*
borders
,
int
_width
,
...
...
libavcodec/hevcdsp_template.c
View file @
65e6ab0c
...
@@ -303,8 +303,7 @@ IDCT_DC(32)
...
@@ -303,8 +303,7 @@ IDCT_DC(32)
static
void
FUNC
(
sao_band_filter_0
)(
uint8_t
*
_dst
,
uint8_t
*
_src
,
static
void
FUNC
(
sao_band_filter_0
)(
uint8_t
*
_dst
,
uint8_t
*
_src
,
ptrdiff_t
stride_dst
,
ptrdiff_t
stride_src
,
SAOParams
*
sao
,
ptrdiff_t
stride_dst
,
ptrdiff_t
stride_src
,
SAOParams
*
sao
,
int
*
borders
,
int
width
,
int
height
,
int
width
,
int
height
,
int
c_idx
)
int
c_idx
)
{
{
pixel
*
dst
=
(
pixel
*
)
_dst
;
pixel
*
dst
=
(
pixel
*
)
_dst
;
pixel
*
src
=
(
pixel
*
)
_src
;
pixel
*
src
=
(
pixel
*
)
_src
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment