Mercurial > libavcodec.hg
comparison xvmc.h @ 8907:c9e8aed08d17 libavcodec
Detailed description of the interesting fields in xvmc struct.
author | iive |
---|---|
date | Sun, 15 Feb 2009 01:35:32 +0000 |
parents | 23f3b98db75c |
children | ac0ad123e3f0 |
comparison
equal
deleted
inserted
replaced
8906:23f3b98db75c | 8907:c9e8aed08d17 |
---|---|
56 #if LIBAVCODEC_VERSION_MAJOR < 53 | 56 #if LIBAVCODEC_VERSION_MAJOR < 53 |
57 unsigned int display_flags; ///< 1, 2 or 1+2 fields for XvMCPutSurface | 57 unsigned int display_flags; ///< 1, 2 or 1+2 fields for XvMCPutSurface |
58 #endif | 58 #endif |
59 //}@ | 59 //}@ |
60 | 60 |
61 /** modified by calling application and the decoder */ | 61 /** Offset in the mv array for the current slice: |
62 //@{ | 62 - application - zeros it on get_buffer(). |
63 int start_mv_blocks_num; ///< offset in the array for the current slice, updated by vo | 63 successful draw_horiz_band() may increment it |
64 int filled_mv_blocks_num; ///< processed mv block in this slice, changed by decoder | 64 with filled_mb_block_num or zero both. |
65 - libavcodec - unchanged | |
66 */ | |
67 int start_mv_blocks_num; | |
65 | 68 |
66 int next_free_data_block_num; ///< used in add_mv_block, pointer to next free block | 69 /** Processed mv blocks in this slice: |
67 //}@ | 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; | |
80 | |
68 /** extensions may be placed here */ | 81 /** extensions may be placed here */ |
69 #if LIBAVCODEC_VERSION_MAJOR < 53 | 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 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered | 90 void* p_osd_target_surface_render; ///< pointer to the surface where subpicture is rendered |
73 //}@ | 91 //}@ |
74 #endif | 92 #endif |
75 }; | 93 }; |
76 | 94 |