Revision 72d38a74

View differences:

libavcodec/xvmc.h
58 58
#endif
59 59
//}@
60 60

  
61
/** modified by calling application and the decoder */
62
//@{
63
    int             start_mv_blocks_num;          ///< offset in the array for the current slice, updated by vo
64
    int             filled_mv_blocks_num;         ///< processed mv block in this slice, changed by decoder
61
    /** Offset in the mv array for the current slice:
62
        - application - zeros it on  get_buffer().
63
                        successful draw_horiz_band() may increment it
64
                        with filled_mb_block_num or zero both.
65
        - libavcodec  - unchanged
66
    */
67
    int             start_mv_blocks_num;
68

  
69
    /** Processed mv blocks in this slice:
70
        - application - zeros it on get_buffer() or after successful draw_horiz_band()
71
        - libavcodec  - increment with one of each stored MB
72
    */
73
    int             filled_mv_blocks_num;
74

  
75
    /** Used in add_mv_block, pointer to next free block
76
        - application - zeroes it on get_buffer() and after successful draw_horiz_band()
77
        - libvcodec   - each macroblock increases it with the number of coded blocks in it.
78
    */
79
    int             next_free_data_block_num;
65 80

  
66
    int             next_free_data_block_num;     ///< used in add_mv_block, pointer to next free block
67
//}@
68 81
/** extensions may be placed here */
69 82
#if LIBAVCODEC_VERSION_MAJOR < 53
70 83
//@{
71
    int             state;                        ///< 0 - free, 1 - waiting to display, 2 - waiting for prediction
84
    /** State - used to workaround limitations in MPlayer vo system.
85
        0   -Surface not used
86
        1   -Surface is still hold in application to be displayed or is still visible.
87
        2   -Surface is still hold in lavcodec buffer for prediction
88
    */
89
    int             state;
72 90
    void*           p_osd_target_surface_render;  ///< pointer to the surface where subpicture is rendered
73 91
//}@
74 92
#endif

Also available in: Unified diff