Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
70deaf00
Commit
70deaf00
authored
Aug 12, 2015
by
James Zern
Committed by
Gerrit Code Review
Aug 12, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "tools_common: fix build w/encoders/decoders disabled"
parents
b04dad32
8465c938
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
tools_common.c
tools_common.c
+8
-0
No files found.
tools_common.c
View file @
70deaf00
...
...
@@ -130,6 +130,8 @@ int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) {
return
shortread
;
}
#if CONFIG_ENCODERS
static
const
VpxInterface
vpx_encoders
[]
=
{
#if CONFIG_VP8_ENCODER
{
"vp8"
,
VP8_FOURCC
,
&
vpx_codec_vp8_cx
},
...
...
@@ -160,6 +162,10 @@ const VpxInterface *get_vpx_encoder_by_name(const char *name) {
return
NULL
;
}
#endif // CONFIG_ENCODERS
#if CONFIG_DECODERS
static
const
VpxInterface
vpx_decoders
[]
=
{
#if CONFIG_VP8_DECODER
{
"vp8"
,
VP8_FOURCC
,
&
vpx_codec_vp8_dx
},
...
...
@@ -202,6 +208,8 @@ const VpxInterface *get_vpx_decoder_by_fourcc(uint32_t fourcc) {
return
NULL
;
}
#endif // CONFIG_DECODERS
// TODO(dkovalev): move this function to vpx_image.{c, h}, so it will be part
// of vpx_image_t support
int
vpx_img_plane_width
(
const
vpx_image_t
*
img
,
int
plane
)
{
...
...
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