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
c9f8809e
Commit
c9f8809e
authored
May 17, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc/intra_pred: simplify neighboring sample derivation
parent
25bb7eaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
hevcpred_template.c
libavcodec/hevcpred_template.c
+7
-9
No files found.
libavcodec/hevcpred_template.c
View file @
c9f8809e
...
@@ -159,10 +159,10 @@ do { \
...
@@ -159,10 +159,10 @@ do { \
}
}
}
}
if
(
cand_bottom_left
)
{
if
(
cand_bottom_left
)
{
for
(
i
=
size
+
bottom_left_size
;
i
<
(
size
<<
1
);
i
++
)
for
(
i
=
size
;
i
<
size
+
bottom_left_size
;
i
++
)
left
[
i
]
=
POS
(
-
1
,
size
+
bottom_left_size
-
1
);
for
(
i
=
size
+
bottom_left_size
-
1
;
i
>=
size
;
i
--
)
left
[
i
]
=
POS
(
-
1
,
i
);
left
[
i
]
=
POS
(
-
1
,
i
);
EXTEND
(
left
+
size
+
bottom_left_size
,
POS
(
-
1
,
size
+
bottom_left_size
-
1
),
size
-
bottom_left_size
);
}
}
if
(
cand_left
)
if
(
cand_left
)
for
(
i
=
size
-
1
;
i
>=
0
;
i
--
)
for
(
i
=
size
-
1
;
i
>=
0
;
i
--
)
...
@@ -172,13 +172,11 @@ do { \
...
@@ -172,13 +172,11 @@ do { \
top
[
-
1
]
=
left
[
-
1
];
top
[
-
1
]
=
left
[
-
1
];
}
}
if
(
cand_up
)
if
(
cand_up
)
for
(
i
=
size
-
1
;
i
>=
0
;
i
--
)
memcpy
(
top
,
src
-
stride
,
size
*
sizeof
(
pixel
));
top
[
i
]
=
POS
(
i
,
-
1
);
if
(
cand_up_right
)
{
if
(
cand_up_right
)
{
for
(
i
=
size
+
top_right_size
;
i
<
(
size
<<
1
);
i
++
)
memcpy
(
top
+
size
,
src
-
stride
+
size
,
size
*
sizeof
(
pixel
));
top
[
i
]
=
POS
(
size
+
top_right_size
-
1
,
-
1
);
EXTEND
(
top
+
size
+
top_right_size
,
POS
(
size
+
top_right_size
-
1
,
-
1
),
for
(
i
=
size
+
top_right_size
-
1
;
i
>=
size
;
i
--
)
size
-
top_right_size
);
top
[
i
]
=
POS
(
i
,
-
1
);
}
}
if
(
s
->
pps
->
constrained_intra_pred_flag
==
1
)
{
if
(
s
->
pps
->
constrained_intra_pred_flag
==
1
)
{
...
...
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