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
5371803d
Commit
5371803d
authored
14 years ago
by
Nathan Caldwell
Committed by
Janne Grunau
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
psymodel: extend API to include PE and bit allocation.
Signed-off-by:
Janne Grunau
<
janne-libav@jannau.net
>
parent
668438a3
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/psymodel.h
+9
-0
9 additions, 0 deletions
libavcodec/psymodel.h
with
9 additions
and
0 deletions
libavcodec/psymodel.h
+
9
−
0
View file @
5371803d
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
/** maximum possible number of bands */
/** maximum possible number of bands */
#define PSY_MAX_BANDS 128
#define PSY_MAX_BANDS 128
/** maximum number of channels */
#define PSY_MAX_CHANS 20
/**
/**
* single band psychoacoustic information
* single band psychoacoustic information
...
@@ -62,6 +64,13 @@ typedef struct FFPsyContext {
...
@@ -62,6 +64,13 @@ typedef struct FFPsyContext {
int
*
num_bands
;
///< number of scalefactor bands for possible frame sizes
int
*
num_bands
;
///< number of scalefactor bands for possible frame sizes
int
num_lens
;
///< number of scalefactor band sets
int
num_lens
;
///< number of scalefactor band sets
float
pe
[
PSY_MAX_CHANS
];
///< total PE for each channel in the frame
struct
{
int
size
;
///< size of the bitresevoir in bits
int
bits
;
///< number of bits used in the bitresevoir
}
bitres
;
void
*
model_priv_data
;
///< psychoacoustic model implementation private data
void
*
model_priv_data
;
///< psychoacoustic model implementation private data
}
FFPsyContext
;
}
FFPsyContext
;
...
...
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