A little better wording of doxygen comments.
Originally committed as revision 17313 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -31,10 +31,12 @@
|
|||||||
#define AV_XVMC_STATE_OSD_SOURCE 4 /** this surface is needed for subpicture rendering */
|
#define AV_XVMC_STATE_OSD_SOURCE 4 /** this 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 */
|
||||||
// 1337 IDCT MCo
|
// 1337 IDCT MCo
|
||||||
|
|
||||||
struct xvmc_render_state {
|
struct xvmc_render_state {
|
||||||
/** set by calling application */
|
/** Set by calling application
|
||||||
|
Once set these values are not supposed to be modified.
|
||||||
|
*/
|
||||||
//@{
|
//@{
|
||||||
int magic_id; ///< used as a check against memory corruption by regular pixel routines or other API structure
|
int magic_id; ///< used as a check against memory corruption by regular pixel routines or other API structure
|
||||||
|
|
||||||
@@ -47,18 +49,18 @@ struct xvmc_render_state {
|
|||||||
XvMCSurface* p_surface; ///< pointer to rendered surface, never changed
|
XvMCSurface* p_surface; ///< pointer to rendered surface, never changed
|
||||||
//}@
|
//}@
|
||||||
|
|
||||||
/** set by the decoder
|
/** Set by the decoder before calling draw_horiz_band()
|
||||||
used by the XvMCRenderSurface function */
|
need 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
|
||||||
|
|
||||||
unsigned int picture_structure; ///< top/bottom fields or frame
|
unsigned int picture_structure; ///< top/bottom field or frame
|
||||||
unsigned int flags; ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
|
unsigned int flags; ///< XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
|
||||||
//}@
|
//}@
|
||||||
|
|
||||||
/** 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
|
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
|
||||||
@@ -71,7 +73,7 @@ struct xvmc_render_state {
|
|||||||
*/
|
*/
|
||||||
int filled_mv_blocks_num;
|
int filled_mv_blocks_num;
|
||||||
|
|
||||||
/** Used in add_mv_block, pointer to next free block
|
/** Offset to the next free data block. The mv_blocks hold number pointing to the data blocks.
|
||||||
- application - zeroes it on get_buffer() and after successful draw_horiz_band()
|
- application - zeroes it on get_buffer() and after successful draw_horiz_band()
|
||||||
- libvcodec - each macroblock increases it with the number of coded blocks in it.
|
- libvcodec - each macroblock increases it with the number of coded blocks in it.
|
||||||
*/
|
*/
|
||||||
@@ -80,10 +82,10 @@ struct xvmc_render_state {
|
|||||||
/** 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 vo system.
|
/** State - used to workaround limitations in MPlayer video system.
|
||||||
0 -Surface not used
|
0 - Surface not used
|
||||||
1 -Surface is still hold in application to be displayed or is still visible.
|
1 - Surface is still hold in application to be displayed or is still visible.
|
||||||
2 -Surface is still hold in lavcodec buffer for prediction
|
2 - Surface is still hold 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 subpicture is rendered
|
||||||
|
Reference in New Issue
Block a user