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
1909fade
Commit
1909fade
authored
16 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
comment spelling/grammar/wording fixes
Originally committed as revision 17343 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e98b4755
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/xvmc.h
+11
-11
11 additions, 11 deletions
libavcodec/xvmc.h
with
11 additions
and
11 deletions
libavcodec/xvmc.h
+
11
−
11
View file @
1909fade
...
...
@@ -28,17 +28,17 @@
#if LIBAVCODEC_VERSION_MAJOR < 53
#define AV_XVMC_STATE_DISPLAY_PENDING 1
/** the surface should be shown, the video driver manipulates this */
#define AV_XVMC_STATE_PREDICTION 2
/** the surface is needed for prediction, the codec manipulates this */
#define AV_XVMC_STATE_OSD_SOURCE 4
/** th
is
surface is needed for subpicture rendering */
#define AV_XVMC_STATE_OSD_SOURCE 4
/** th
e
surface is needed for subpicture rendering */
#endif
#define AV_XVMC_RENDER_MAGIC 0x1DC711C0
/**< magic value to ensure that regular pixel routines haven't corrupted the struct
the number is 1337 speak for the letters IDCT MCo (motion compensation) */
struct
xvmc_pix_fmt
{
/** Set by calling application
/** Set by
the
calling application
.
Once set these values are not supposed to be modified.
*/
//@{
int
xvmc_id
;
///< used as a check against memory corruption by regular pixel routines or other API structure
int
xvmc_id
;
///< used as a check against memory corruption by regular pixel routines or other API structure
s
short
*
data_blocks
;
XvMCMacroBlock
*
mv_blocks
;
...
...
@@ -49,8 +49,8 @@ struct xvmc_pix_fmt {
XvMCSurface
*
p_surface
;
///< pointer to rendered surface, never changed
//}@
/** Set by the decoder before calling draw_horiz_band()
need by the XvMCRenderSurface function */
/** Set by the decoder before calling draw_horiz_band()
,
need
ed
by the XvMCRenderSurface function
.
*/
//@{
XvMCSurface
*
p_past_surface
;
///< pointer to the past surface
XvMCSurface
*
p_future_surface
;
///< pointer to the future prediction surface
...
...
@@ -61,7 +61,7 @@ struct xvmc_pix_fmt {
/** Offset in the mv array for the current slice:
- application - zeros it on get_buffer().
successful draw_horiz_band() may increment it
A
successful draw_horiz_band() may increment it
with filled_mb_block_num or zero both.
- libavcodec - unchanged
*/
...
...
@@ -82,13 +82,13 @@ struct xvmc_pix_fmt {
/** extensions may be placed here */
#if LIBAVCODEC_VERSION_MAJOR < 53
//@{
/** State - used to workaround limitations in MPlayer video system.
0 - Surface not used
1 - Surface is still h
o
ld in application to be displayed or is still visible.
2 - Surface is still h
o
ld in libavcodec buffer for prediction
/** State - used to work
around limitations in
the
MPlayer video system.
0 - Surface
is
not used
.
1 - Surface is still h
e
ld in application to be displayed or is still visible.
2 - Surface is still h
e
ld in libavcodec buffer for prediction
.
*/
int
state
;
void
*
p_osd_target_surface_render
;
///< pointer to the surface where subpicture is rendered
void
*
p_osd_target_surface_render
;
///< pointer to the surface where
the
subpicture is rendered
//}@
#endif
};
...
...
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