Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libvpx
Project
Project
Details
Activity
Releases
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
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
external
libvpx
Commits
5e35c3c9
Commit
5e35c3c9
authored
Aug 18, 2015
by
James Zern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9_encoder: make vp9_alloc_compressor_data private
Change-Id: I38b4de692f4f7e880766316783981cbd1134bed9
parent
180b1804
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
vp9_encoder.c
vp9/encoder/vp9_encoder.c
+3
-3
vp9_encoder.h
vp9/encoder/vp9_encoder.h
+0
-2
No files found.
vp9/encoder/vp9_encoder.c
View file @
5e35c3c9
...
...
@@ -686,7 +686,7 @@ static int alloc_context_buffers_ext(VP9_COMP *cpi) {
return
0
;
}
void
vp9_
alloc_compressor_data
(
VP9_COMP
*
cpi
)
{
static
void
alloc_compressor_data
(
VP9_COMP
*
cpi
)
{
VP9_COMMON
*
cm
=
&
cpi
->
common
;
vp9_alloc_context_buffers
(
cm
,
cm
->
width
,
cm
->
height
);
...
...
@@ -775,7 +775,7 @@ static void init_config(struct VP9_COMP *cpi, VP9EncoderConfig *oxcf) {
cm
->
width
=
oxcf
->
width
;
cm
->
height
=
oxcf
->
height
;
vp9_
alloc_compressor_data
(
cpi
);
alloc_compressor_data
(
cpi
);
cpi
->
svc
.
temporal_layering_mode
=
oxcf
->
temporal_layering_mode
;
...
...
@@ -1510,7 +1510,7 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
if
(
cpi
->
initial_width
)
{
if
(
cm
->
width
>
cpi
->
initial_width
||
cm
->
height
>
cpi
->
initial_height
)
{
vp9_free_context_buffers
(
cm
);
vp9_
alloc_compressor_data
(
cpi
);
alloc_compressor_data
(
cpi
);
realloc_segmentation_maps
(
cpi
);
cpi
->
initial_width
=
cpi
->
initial_height
=
0
;
}
...
...
vp9/encoder/vp9_encoder.h
View file @
5e35c3c9
...
...
@@ -605,8 +605,6 @@ int64_t vp9_highbd_get_y_sse(const YV12_BUFFER_CONFIG *a,
const
YV12_BUFFER_CONFIG
*
b
);
#endif // CONFIG_VP9_HIGHBITDEPTH
void
vp9_alloc_compressor_data
(
VP9_COMP
*
cpi
);
void
vp9_scale_references
(
VP9_COMP
*
cpi
);
void
vp9_update_reference_frames
(
VP9_COMP
*
cpi
);
...
...
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