comparison xvmc.h @ 8939:752780e31cb6 libavcodec

cosmetics: Keep lines below 80 characters where sensibly possible.
author diego
date Mon, 16 Feb 2009 00:06:32 +0000
parents 5a212db68a2f
children d9555e218ce3
comparison
equal deleted inserted replaced
8938:5a212db68a2f 8939:752780e31cb6
52 - application - set during initialization 52 - application - set during initialization
53 - libavcodec - unchanged 53 - libavcodec - unchanged
54 */ 54 */
55 short* data_blocks; 55 short* data_blocks;
56 56
57 /** Pointer to the macroblock description array allocated by XvMCCreateMacroBlocks(). 57 /** Pointer to the macroblock description array allocated by
58 XvMCCreateMacroBlocks().
58 - application - set during initialization 59 - application - set during initialization
59 - libavcodec - unchanged 60 - libavcodec - unchanged
60 */ 61 */
61 XvMCMacroBlock* mv_blocks; 62 XvMCMacroBlock* mv_blocks;
62 63
71 - application - set during initialization 72 - application - set during initialization
72 - libavcodec - unchanged 73 - libavcodec - unchanged
73 */ 74 */
74 int total_number_of_data_blocks; 75 int total_number_of_data_blocks;
75 76
76 /** Indicates that the hardware would interpret data_blocks as IDCT coefficients 77 /** Indicates that the hardware would interpret data_blocks as IDCT
77 and perform IDCT on them. 78 coefficients and perform IDCT on them.
78 - application - set during initialization 79 - application - set during initialization
79 - libavcodec - unchanged 80 - libavcodec - unchanged
80 */ 81 */
81 int idct; 82 int idct;
82 83
131 with filled_mb_block_num or zero both. 132 with filled_mb_block_num or zero both.
132 - libavcodec - unchanged 133 - libavcodec - unchanged
133 */ 134 */
134 int start_mv_blocks_num; 135 int start_mv_blocks_num;
135 136
136 /** Number of mv blocks that are filled by libavcodec and have to be passed to the hardware. 137 /** Number of mv blocks that are filled by libavcodec and have to be
137 - application - zeroes it on get_buffer() or after successful ff_draw_horiz_band() 138 passed to the hardware.
139 - application - zeroes it on get_buffer() or after successful
140 ff_draw_horiz_band().
138 - libavcodec - increment with one of each stored MB 141 - libavcodec - increment with one of each stored MB
139 */ 142 */
140 int filled_mv_blocks_num; 143 int filled_mv_blocks_num;
141 144
142 /** Offset to the next free data block. The mv_blocks hold a number pointing to the data blocks. 145 /** Offset to the next free data block. The mv_blocks hold a number
143 - application - zeroes it on get_buffer() and after successful ff_draw_horiz_band() 146 pointing to the data blocks.
144 - libvcodec - each macroblock increases it with the number of coded blocks in it. 147 - application - zeroes it on get_buffer() and after successful
148 ff_draw_horiz_band().
149 - libavcodec - each macroblock increases it with the number
150 of coded blocks in it.
145 */ 151 */
146 int next_free_data_block_num; 152 int next_free_data_block_num;
147 153
148 /** extensions may be placed here */ 154 /** extensions may be placed here */
149 #if LIBAVCODEC_VERSION_MAJOR < 53 155 #if LIBAVCODEC_VERSION_MAJOR < 53
150 //@{ 156 //@{
151 /** State - used to work around limitations in the MPlayer video system. 157 /** State - used to work around limitations in the MPlayer video system.
152 0 - Surface is not used. 158 0 - Surface is not used.
153 1 - Surface is still held in application to be displayed or is still visible. 159 1 - Surface is still held in application to be displayed or is
160 still visible.
154 2 - Surface is still held in libavcodec buffer for prediction. 161 2 - Surface is still held in libavcodec buffer for prediction.
155 */ 162 */
156 int state; 163 int state;
157 void* p_osd_target_surface_render; ///< pointer to the surface where the subpicture is rendered 164
165 /** pointer to the surface where the subpicture is rendered */
166 void* p_osd_target_surface_render;
158 //}@ 167 //}@
159 #endif 168 #endif
160 }; 169 };
161 170
162 #endif /* AVCODEC_XVMC_H */ 171 #endif /* AVCODEC_XVMC_H */