Commit f983a673 authored by iive's avatar iive

clarify xvmc struct fields usage distribution (internal communication)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4f472abd
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#endif #endif
struct xvmc_render_state { struct xvmc_render_state {
/** these are not changed by the decoder! */ /** set by calling application */
//@{ //@{
int magic; ///< used as check for memory corruption by regular pixel routines int magic; ///< used as check for memory corruption by regular pixel routines
...@@ -58,8 +58,8 @@ struct xvmc_render_state { ...@@ -58,8 +58,8 @@ struct xvmc_render_state {
XvMCSurface* p_surface; ///<pointer to rendered surface, never changed XvMCSurface* p_surface; ///<pointer to rendered surface, never changed
//}@ //}@
/** these are changed by the decoder /** set by the decoder
//used by the XvMCRenderSurface function */ used 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
...@@ -69,7 +69,7 @@ struct xvmc_render_state { ...@@ -69,7 +69,7 @@ struct xvmc_render_state {
unsigned int display_flags; ///<1,2 or 1+2 fields for XvMCPutSurface unsigned int display_flags; ///<1,2 or 1+2 fields for XvMCPutSurface
//}@ //}@
/** these are for internal communication */ /** modified by calling application and the decoder */
//@{ //@{
int state; ///<0 - free, 1 - waiting to display, 2 - waiting for prediction int state; ///<0 - free, 1 - waiting to display, 2 - waiting for prediction
int start_mv_blocks_num; ///<offset in the array for the current slice, updated by vo int start_mv_blocks_num; ///<offset in the array for the current slice, updated by vo
...@@ -77,7 +77,7 @@ struct xvmc_render_state { ...@@ -77,7 +77,7 @@ struct xvmc_render_state {
int next_free_data_block_num; ///<used in add_mv_block, pointer to next free block int next_free_data_block_num; ///<used in add_mv_block, pointer to next free block
//}@ //}@
/**extensions*/ /** extensions */
//@{ //@{
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
//}@ //}@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment