mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
comment spelling/grammar/wording fixes
Originally committed as revision 17343 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e98b47557b
commit
1909fadea9
@ -28,17 +28,17 @@
|
|||||||
#if LIBAVCODEC_VERSION_MAJOR < 53
|
#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_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_PREDICTION 2 /** the surface is needed for prediction, the codec manipulates this */
|
||||||
#define AV_XVMC_STATE_OSD_SOURCE 4 /** this surface is needed for subpicture rendering */
|
#define AV_XVMC_STATE_OSD_SOURCE 4 /** the surface is needed for subpicture rendering */
|
||||||
#endif
|
#endif
|
||||||
#define AV_XVMC_RENDER_MAGIC 0x1DC711C0 /**< magic value to ensure that regular pixel routines haven't corrupted the struct
|
#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) */
|
the number is 1337 speak for the letters IDCT MCo (motion compensation) */
|
||||||
|
|
||||||
struct xvmc_pix_fmt {
|
struct xvmc_pix_fmt {
|
||||||
/** Set by calling application
|
/** Set by the calling application.
|
||||||
Once set these values are not supposed to be modified.
|
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 structures
|
||||||
|
|
||||||
short* data_blocks;
|
short* data_blocks;
|
||||||
XvMCMacroBlock* mv_blocks;
|
XvMCMacroBlock* mv_blocks;
|
||||||
@ -49,8 +49,8 @@ struct xvmc_pix_fmt {
|
|||||||
XvMCSurface* p_surface; ///< pointer to rendered surface, never changed
|
XvMCSurface* p_surface; ///< pointer to rendered surface, never changed
|
||||||
//}@
|
//}@
|
||||||
|
|
||||||
/** Set by the decoder before calling draw_horiz_band()
|
/** Set by the decoder before calling draw_horiz_band(),
|
||||||
need by the XvMCRenderSurface function */
|
needed by the XvMCRenderSurface function. */
|
||||||
//@{
|
//@{
|
||||||
XvMCSurface* p_past_surface; ///< pointer to the past surface
|
XvMCSurface* p_past_surface; ///< pointer to the past surface
|
||||||
XvMCSurface* p_future_surface; ///< pointer to the future prediction 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:
|
/** Offset in the mv array for the current slice:
|
||||||
- application - zeros it on get_buffer().
|
- 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.
|
with filled_mb_block_num or zero both.
|
||||||
- libavcodec - unchanged
|
- libavcodec - unchanged
|
||||||
*/
|
*/
|
||||||
@ -82,13 +82,13 @@ struct xvmc_pix_fmt {
|
|||||||
/** extensions may be placed here */
|
/** extensions may be placed here */
|
||||||
#if LIBAVCODEC_VERSION_MAJOR < 53
|
#if LIBAVCODEC_VERSION_MAJOR < 53
|
||||||
//@{
|
//@{
|
||||||
/** State - used to workaround limitations in MPlayer video system.
|
/** State - used to work around limitations in the MPlayer video system.
|
||||||
0 - Surface not used
|
0 - Surface is not used.
|
||||||
1 - Surface is still hold in application to be displayed or is still visible.
|
1 - Surface is still held in application to be displayed or is still visible.
|
||||||
2 - Surface is still hold in libavcodec buffer for prediction
|
2 - Surface is still held in libavcodec buffer for prediction.
|
||||||
*/
|
*/
|
||||||
int state;
|
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
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user