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
e680c731
Commit
e680c731
authored
10 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
avcodec/avdct: Add get_pixels()
Suggested-by: ubitux Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
94006031
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/APIchanges
+3
-0
3 additions, 0 deletions
doc/APIchanges
libavcodec/avdct.c
+9
-0
9 additions, 0 deletions
libavcodec/avdct.c
libavcodec/avdct.h
+4
-0
4 additions, 0 deletions
libavcodec/avdct.h
libavcodec/version.h
+2
-2
2 additions, 2 deletions
libavcodec/version.h
with
18 additions
and
2 deletions
doc/APIchanges
+
3
−
0
View file @
e680c731
...
...
@@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2014-08-03 - xxxxxxx - lavc 55.72.100 - avcodec.h
Add get_pixels() to AVDCT
2014-08-xx - xxxxxxx - lavc 55.57.1 - avcodec.h
Deprecate unused FF_IDCT_IPP define and ipp avcodec option.
Deprecate unused FF_DEBUG_PTS define and pts avcodec option.
...
...
This diff is collapsed.
Click to expand it.
libavcodec/avdct.c
+
9
−
0
View file @
e680c731
...
...
@@ -21,6 +21,7 @@
#include
"avcodec.h"
#include
"idctdsp.h"
#include
"fdctdsp.h"
#include
"pixblockdsp.h"
#include
"avdct.h"
#define OFFSET(x) offsetof(AVDCT,x)
...
...
@@ -117,6 +118,14 @@ int avcodec_dct_init(AVDCT *dsp)
}
#endif
#if CONFIG_PIXBLOCKDSP
{
PixblockDSPContext
pdsp
;
ff_pixblockdsp_init
(
&
pdsp
,
avctx
);
COPY
(
pdsp
,
get_pixels
);
}
#endif
avcodec_close
(
avctx
);
av_free
(
avctx
);
...
...
This diff is collapsed.
Click to expand it.
libavcodec/avdct.h
+
4
−
0
View file @
e680c731
...
...
@@ -61,6 +61,10 @@ typedef struct AVDCT {
* must use AVOptions to set this field.
*/
int
idct_algo
;
void
(
*
get_pixels
)(
int16_t
*
block
/* align 16 */
,
const
uint8_t
*
pixels
/* align 8 */
,
int
line_size
);
}
AVDCT
;
/**
...
...
This diff is collapsed.
Click to expand it.
libavcodec/version.h
+
2
−
2
View file @
e680c731
...
...
@@ -29,8 +29,8 @@
#include
"libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 7
1
#define LIBAVCODEC_VERSION_MICRO 10
1
#define LIBAVCODEC_VERSION_MINOR 7
2
#define LIBAVCODEC_VERSION_MICRO 10
0
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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