mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
clarify xvmc struct fields usage distribution (internal communication)
Originally committed as revision 17252 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6785e509d4
commit
aae667ba4d
@ -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 {
|
|||||||
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 {
|
|||||||
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 {
|
|||||||
|
|
||||||
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
|
||||||
//}@
|
//}@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user