Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
a0d04ea9
Commit
a0d04ea9
authored
14 years ago
by
Fabio Pedretti
Committed by
John Koleszar
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless 500 frame limit
Change-Id: Ib82de60cf32cf08844c3e2d88d7c587396f3892c
parent
6f47a346
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure
+0
-5
0 additions, 5 deletions
configure
vpx/internal/vpx_codec_internal.h
+1
-2
1 addition, 2 deletions
vpx/internal/vpx_codec_internal.h
vpx/src/vpx_decoder.c
+0
-12
0 additions, 12 deletions
vpx/src/vpx_decoder.c
vpx/src/vpx_encoder.c
+0
-13
0 additions, 13 deletions
vpx/src/vpx_encoder.c
with
1 addition
and
32 deletions
configure
+
0
−
5
View file @
a0d04ea9
...
@@ -27,13 +27,11 @@ Advanced options:
...
@@ -27,13 +27,11 @@ Advanced options:
supported by hardware [auto]
supported by hardware [auto]
${
toggle_codec_srcs
}
in/exclude codec library source code
${
toggle_codec_srcs
}
in/exclude codec library source code
${
toggle_debug_libs
}
in/exclude debug version of libraries
${
toggle_debug_libs
}
in/exclude debug version of libraries
${
toggle_eval_limit
}
enable limited evaluation build
${
toggle_md5
}
support for output of checksum data
${
toggle_md5
}
support for output of checksum data
${
toggle_static_msvcrt
}
use static MSVCRT (VS builds only)
${
toggle_static_msvcrt
}
use static MSVCRT (VS builds only)
${
toggle_vp8
}
VP8 codec support
${
toggle_vp8
}
VP8 codec support
${
toggle_psnr
}
output of PSNR data, if supported (encoders)
${
toggle_psnr
}
output of PSNR data, if supported (encoders)
${
toggle_mem_tracker
}
track memory usage
${
toggle_mem_tracker
}
track memory usage
${
toggle_eval_limit
}
decoder limitted to 500 frames
${
toggle_postproc
}
postprocessing
${
toggle_postproc
}
postprocessing
${
toggle_multithread
}
multithreaded encoding and decoding.
${
toggle_multithread
}
multithreaded encoding and decoding.
${
toggle_spatial_resampling
}
spatial sampling (scaling) support
${
toggle_spatial_resampling
}
spatial sampling (scaling) support
...
@@ -230,7 +228,6 @@ CONFIG_LIST="
...
@@ -230,7 +228,6 @@ CONFIG_LIST="
dequant_tokens
dequant_tokens
dc_recon
dc_recon
new_tokens
new_tokens
eval_limit
runtime_cpu_detect
runtime_cpu_detect
postproc
postproc
postproc_generic
postproc_generic
...
@@ -271,7 +268,6 @@ CMDLINE_SELECT="
...
@@ -271,7 +268,6 @@ CMDLINE_SELECT="
dequant_tokens
dequant_tokens
dc_recon
dc_recon
new_tokens
new_tokens
eval_limit
postproc
postproc
postproc_generic
postproc_generic
multithread
multithread
...
@@ -361,7 +357,6 @@ process_targets() {
...
@@ -361,7 +357,6 @@ process_targets() {
enabled codec_srcs
&&
DIST_DIR
=
"
${
DIST_DIR
}
-src"
enabled codec_srcs
&&
DIST_DIR
=
"
${
DIST_DIR
}
-src"
!
enabled postproc
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nopost"
!
enabled postproc
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nopost"
!
enabled multithread
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nomt"
!
enabled multithread
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nomt"
enabled eval_limit
&&
DIST_DIR
=
"
${
DIST_DIR
}
-eval"
!
enabled install_docs
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nodocs"
!
enabled install_docs
&&
DIST_DIR
=
"
${
DIST_DIR
}
-nodocs"
DIST_DIR
=
"
${
DIST_DIR
}
-
${
tgt_isa
}
-
${
tgt_os
}
"
DIST_DIR
=
"
${
DIST_DIR
}
-
${
tgt_isa
}
-
${
tgt_os
}
"
case
"
${
tgt_os
}
"
in
case
"
${
tgt_os
}
"
in
...
...
This diff is collapsed.
Click to expand it.
vpx/internal/vpx_codec_internal.h
+
1
−
2
View file @
a0d04ea9
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
* types, removing or reassigning enums, adding/removing/rearranging
* types, removing or reassigning enums, adding/removing/rearranging
* fields to structures
* fields to structures
*/
*/
#define VPX_CODEC_INTERNAL_ABI_VERSION (
2
)
/**<\hideinitializer*/
#define VPX_CODEC_INTERNAL_ABI_VERSION (
3
)
/**<\hideinitializer*/
typedef
struct
vpx_codec_alg_priv
vpx_codec_alg_priv_t
;
typedef
struct
vpx_codec_alg_priv
vpx_codec_alg_priv_t
;
...
@@ -340,7 +340,6 @@ struct vpx_codec_priv
...
@@ -340,7 +340,6 @@ struct vpx_codec_priv
vpx_codec_iface_t
*
iface
;
vpx_codec_iface_t
*
iface
;
struct
vpx_codec_alg_priv
*
alg_priv
;
struct
vpx_codec_alg_priv
*
alg_priv
;
const
char
*
err_detail
;
const
char
*
err_detail
;
unsigned
int
eval_counter
;
vpx_codec_flags_t
init_flags
;
vpx_codec_flags_t
init_flags
;
struct
struct
{
{
...
...
This diff is collapsed.
Click to expand it.
vpx/src/vpx_decoder.c
+
0
−
12
View file @
a0d04ea9
...
@@ -122,22 +122,10 @@ vpx_codec_err_t vpx_codec_decode(vpx_codec_ctx_t *ctx,
...
@@ -122,22 +122,10 @@ vpx_codec_err_t vpx_codec_decode(vpx_codec_ctx_t *ctx,
res
=
VPX_CODEC_INVALID_PARAM
;
res
=
VPX_CODEC_INVALID_PARAM
;
else
if
(
!
ctx
->
iface
||
!
ctx
->
priv
)
else
if
(
!
ctx
->
iface
||
!
ctx
->
priv
)
res
=
VPX_CODEC_ERROR
;
res
=
VPX_CODEC_ERROR
;
#if CONFIG_EVAL_LIMIT
else
if
(
ctx
->
priv
->
eval_counter
>=
500
)
{
ctx
->
priv
->
err_detail
=
"Evaluation limit exceeded."
;
res
=
VPX_CODEC_ERROR
;
}
#endif
else
else
{
{
res
=
ctx
->
iface
->
dec
.
decode
(
ctx
->
priv
->
alg_priv
,
data
,
data_sz
,
res
=
ctx
->
iface
->
dec
.
decode
(
ctx
->
priv
->
alg_priv
,
data
,
data_sz
,
user_priv
,
deadline
);
user_priv
,
deadline
);
#if CONFIG_EVAL_LIMIT
ctx
->
priv
->
eval_counter
++
;
#endif
}
}
return
SAVE_STATUS
(
ctx
,
res
);
return
SAVE_STATUS
(
ctx
,
res
);
...
...
This diff is collapsed.
Click to expand it.
vpx/src/vpx_encoder.c
+
0
−
13
View file @
a0d04ea9
...
@@ -127,15 +127,6 @@ vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx,
...
@@ -127,15 +127,6 @@ vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx,
res
=
VPX_CODEC_ERROR
;
res
=
VPX_CODEC_ERROR
;
else
if
(
!
(
ctx
->
iface
->
caps
&
VPX_CODEC_CAP_ENCODER
))
else
if
(
!
(
ctx
->
iface
->
caps
&
VPX_CODEC_CAP_ENCODER
))
res
=
VPX_CODEC_INCAPABLE
;
res
=
VPX_CODEC_INCAPABLE
;
#if CONFIG_EVAL_LIMIT
else
if
(
ctx
->
priv
->
eval_counter
>=
500
)
{
ctx
->
priv
->
err_detail
=
"Evaluation limit exceeded."
;
res
=
VPX_CODEC_ERROR
;
}
#endif
else
else
{
{
/* Execute in a normalized floating point environment, if the platform
/* Execute in a normalized floating point environment, if the platform
...
@@ -145,10 +136,6 @@ vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx,
...
@@ -145,10 +136,6 @@ vpx_codec_err_t vpx_codec_encode(vpx_codec_ctx_t *ctx,
res
=
ctx
->
iface
->
enc
.
encode
(
ctx
->
priv
->
alg_priv
,
img
,
pts
,
res
=
ctx
->
iface
->
enc
.
encode
(
ctx
->
priv
->
alg_priv
,
img
,
pts
,
duration
,
flags
,
deadline
);
duration
,
flags
,
deadline
);
FLOATING_POINT_RESTORE
();
FLOATING_POINT_RESTORE
();
#if CONFIG_EVAL_LIMIT
ctx
->
priv
->
eval_counter
++
;
#endif
}
}
return
SAVE_STATUS
(
ctx
,
res
);
return
SAVE_STATUS
(
ctx
,
res
);
...
...
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