Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
0fedf754
Commit
0fedf754
authored
Apr 26, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libpostproc: Remove disabled code.
parent
dc900310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
postprocess.c
libpostproc/postprocess.c
+0
-32
No files found.
libpostproc/postprocess.c
View file @
0fedf754
...
...
@@ -246,7 +246,6 @@ static inline int isVertDC_C(uint8_t src[], int stride, PPContext *c)
static
inline
int
isHorizMinMaxOk_C
(
uint8_t
src
[],
int
stride
,
int
QP
)
{
int
i
;
#if 1
for
(
i
=
0
;
i
<
2
;
i
++
){
if
((
unsigned
)(
src
[
0
]
-
src
[
5
]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
src
+=
stride
;
...
...
@@ -257,19 +256,11 @@ static inline int isHorizMinMaxOk_C(uint8_t src[], int stride, int QP)
if
((
unsigned
)(
src
[
6
]
-
src
[
3
]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
src
+=
stride
;
}
#else
for
(
i
=
0
;
i
<
8
;
i
++
){
if
((
unsigned
)(
src
[
0
]
-
src
[
7
]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
src
+=
stride
;
}
#endif
return
1
;
}
static
inline
int
isVertMinMaxOk_C
(
uint8_t
src
[],
int
stride
,
int
QP
)
{
#if 1
#if 1
int
x
;
src
+=
stride
*
4
;
for
(
x
=
0
;
x
<
BLOCK_SIZE
;
x
+=
4
){
...
...
@@ -278,30 +269,7 @@ static inline int isVertMinMaxOk_C(uint8_t src[], int stride, int QP)
if
((
unsigned
)(
src
[
2
+
x
+
4
*
stride
]
-
src
[
2
+
x
+
1
*
stride
]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
if
((
unsigned
)(
src
[
3
+
x
+
6
*
stride
]
-
src
[
3
+
x
+
3
*
stride
]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
}
#else
int
x
;
src
+=
stride
*
3
;
for
(
x
=
0
;
x
<
BLOCK_SIZE
;
x
++
){
if
((
unsigned
)(
src
[
x
+
stride
]
-
src
[
x
+
(
stride
<<
3
)]
+
2
*
QP
)
>
4
*
QP
)
return
0
;
}
#endif
return
1
;
#else
int
x
;
src
+=
stride
*
4
;
for
(
x
=
0
;
x
<
BLOCK_SIZE
;
x
++
){
int
min
=
255
;
int
max
=
0
;
int
y
;
for
(
y
=
0
;
y
<
8
;
y
++
){
int
v
=
src
[
x
+
y
*
stride
];
if
(
v
>
max
)
max
=
v
;
if
(
v
<
min
)
min
=
v
;
}
if
(
max
-
min
>
2
*
QP
)
return
0
;
}
return
1
;
#endif
}
static
inline
int
horizClassify_C
(
uint8_t
src
[],
int
stride
,
PPContext
*
c
)
...
...
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