Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
3ba40ebb
Commit
3ba40ebb
authored
12 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
ivi_common: do not call MC for intra frames when dc_transform is unset
CC:libav-stable@libav.org
parent
3e2f2002
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/ivi_common.c
+4
-3
4 additions, 3 deletions
libavcodec/ivi_common.c
with
4 additions
and
3 deletions
libavcodec/ivi_common.c
+
4
−
3
View file @
3ba40ebb
...
...
@@ -527,9 +527,10 @@ static int ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile
/* block not coded */
/* for intra blocks apply the dc slant transform */
/* for inter - perform the motion compensation without delta */
if
(
is_intra
&&
band
->
dc_transform
)
{
band
->
dc_transform
(
&
prev_dc
,
band
->
buf
+
buf_offs
,
band
->
pitch
,
blk_size
);
if
(
is_intra
)
{
if
(
band
->
dc_transform
)
band
->
dc_transform
(
&
prev_dc
,
band
->
buf
+
buf_offs
,
band
->
pitch
,
blk_size
);
}
else
mc_no_delta_func
(
band
->
buf
+
buf_offs
,
band
->
ref_buf
+
buf_offs
+
mv_y
*
band
->
pitch
+
mv_x
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment