Mercurial > libavcodec.hg
comparison mpegvideo_xvmc.c @ 10461:bfb6c7ff97b4 libavcodec
Consistently use third person in doxies.
author | stefano |
---|---|
date | Tue, 27 Oct 2009 20:36:17 +0000 |
parents | b595a8a59967 |
children | fdafbcef52f5 |
comparison
equal
deleted
inserted
replaced
10460:059265d3cc65 | 10461:bfb6c7ff97b4 |
---|---|
46 | 46 |
47 s->block = (DCTELEM (*)[64])(render->data_blocks + render->next_free_data_block_num * 64); | 47 s->block = (DCTELEM (*)[64])(render->data_blocks + render->next_free_data_block_num * 64); |
48 } | 48 } |
49 | 49 |
50 /** | 50 /** |
51 * Fill individual block pointers, so there are no gaps in the data_block array | 51 * Fills individual block pointers, so there are no gaps in the data_block array |
52 * in case not all blocks in the macroblock are coded. | 52 * in case not all blocks in the macroblock are coded. |
53 */ | 53 */ |
54 void ff_xvmc_pack_pblocks(MpegEncContext *s, int cbp) | 54 void ff_xvmc_pack_pblocks(MpegEncContext *s, int cbp) |
55 { | 55 { |
56 int i, j = 0; | 56 int i, j = 0; |
65 cbp += cbp; | 65 cbp += cbp; |
66 } | 66 } |
67 } | 67 } |
68 | 68 |
69 /** | 69 /** |
70 * Find and store the surfaces that are used as reference frames. | 70 * Finds and stores the surfaces that are used as reference frames. |
71 * This function should be called for every new field and/or frame. | 71 * This function should be called for every new field and/or frame. |
72 * It should be safe to call the function a few times for the same field. | 72 * It should be safe to call the function a few times for the same field. |
73 */ | 73 */ |
74 int ff_xvmc_field_start(MpegEncContext *s, AVCodecContext *avctx) | 74 int ff_xvmc_field_start(MpegEncContext *s, AVCodecContext *avctx) |
75 { | 75 { |
132 | 132 |
133 return -1; | 133 return -1; |
134 } | 134 } |
135 | 135 |
136 /** | 136 /** |
137 * Complete frame/field rendering by passing any remaining blocks. | 137 * Completes frame/field rendering by passing any remaining blocks. |
138 * Normally ff_draw_horiz_band() is called for each slice, however, | 138 * Normally ff_draw_horiz_band() is called for each slice, however, |
139 * some leftover blocks, for example from error_resilience(), may remain. | 139 * some leftover blocks, for example from error_resilience(), may remain. |
140 * It should be safe to call the function a few times for the same field. | 140 * It should be safe to call the function a few times for the same field. |
141 */ | 141 */ |
142 void ff_xvmc_field_end(MpegEncContext *s) | 142 void ff_xvmc_field_end(MpegEncContext *s) |
147 if (render->filled_mv_blocks_num > 0) | 147 if (render->filled_mv_blocks_num > 0) |
148 ff_draw_horiz_band(s, 0, 0); | 148 ff_draw_horiz_band(s, 0, 0); |
149 } | 149 } |
150 | 150 |
151 /** | 151 /** |
152 * Synthesize the data needed by XvMC to render one macroblock of data. | 152 * Synthesizes the data needed by XvMC to render one macroblock of data. |
153 * Fill all relevant fields, if necessary do IDCT. | 153 * Fills all relevant fields, if necessary do IDCT. |
154 */ | 154 */ |
155 void ff_xvmc_decode_mb(MpegEncContext *s) | 155 void ff_xvmc_decode_mb(MpegEncContext *s) |
156 { | 156 { |
157 XvMCMacroBlock *mv_block; | 157 XvMCMacroBlock *mv_block; |
158 struct xvmc_pix_fmt *render; | 158 struct xvmc_pix_fmt *render; |