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
ee17be3f
Commit
ee17be3f
authored
11 years ago
by
Luca Barbato
Browse files
Options
Downloads
Patches
Plain Diff
hevc: Use get_se_golomb_long
Do not use inline functions that refer to tables present in other libraries.
parent
5eacbb53
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/hevc.c
+5
-5
5 additions, 5 deletions
libavformat/hevc.c
with
5 additions
and
5 deletions
libavformat/hevc.c
+
5
−
5
View file @
ee17be3f
...
@@ -402,10 +402,10 @@ static void skip_scaling_list_data(GetBitContext *gb)
...
@@ -402,10 +402,10 @@ static void skip_scaling_list_data(GetBitContext *gb)
num_coeffs
=
FFMIN
(
64
,
1
<<
(
4
+
(
i
<<
1
)));
num_coeffs
=
FFMIN
(
64
,
1
<<
(
4
+
(
i
<<
1
)));
if
(
i
>
1
)
if
(
i
>
1
)
get_se_golomb
(
gb
);
// scaling_list_dc_coef_minus8[i-2][j]
get_se_golomb
_long
(
gb
);
// scaling_list_dc_coef_minus8[i-2][j]
for
(
k
=
0
;
k
<
num_coeffs
;
k
++
)
for
(
k
=
0
;
k
<
num_coeffs
;
k
++
)
get_se_golomb
(
gb
);
// scaling_list_delta_coef
get_se_golomb
_long
(
gb
);
// scaling_list_delta_coef
}
}
}
}
...
@@ -593,7 +593,7 @@ static int hvcc_parse_pps(GetBitContext *gb,
...
@@ -593,7 +593,7 @@ static int hvcc_parse_pps(GetBitContext *gb,
get_ue_golomb_long
(
gb
);
// num_ref_idx_l0_default_active_minus1
get_ue_golomb_long
(
gb
);
// num_ref_idx_l0_default_active_minus1
get_ue_golomb_long
(
gb
);
// num_ref_idx_l1_default_active_minus1
get_ue_golomb_long
(
gb
);
// num_ref_idx_l1_default_active_minus1
get_se_golomb
(
gb
);
// init_qp_minus26
get_se_golomb
_long
(
gb
);
// init_qp_minus26
/*
/*
* constrained_intra_pred_flag u(1)
* constrained_intra_pred_flag u(1)
...
@@ -604,8 +604,8 @@ static int hvcc_parse_pps(GetBitContext *gb,
...
@@ -604,8 +604,8 @@ static int hvcc_parse_pps(GetBitContext *gb,
if
(
get_bits1
(
gb
))
// cu_qp_delta_enabled_flag
if
(
get_bits1
(
gb
))
// cu_qp_delta_enabled_flag
get_ue_golomb_long
(
gb
);
// diff_cu_qp_delta_depth
get_ue_golomb_long
(
gb
);
// diff_cu_qp_delta_depth
get_se_golomb
(
gb
);
// pps_cb_qp_offset
get_se_golomb
_long
(
gb
);
// pps_cb_qp_offset
get_se_golomb
(
gb
);
// pps_cr_qp_offset
get_se_golomb
_long
(
gb
);
// pps_cr_qp_offset
/*
/*
* weighted_pred_flag u(1)
* weighted_pred_flag u(1)
...
...
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