Commit 9ba8bc01 authored by Diego Biurrun's avatar Diego Biurrun

spelling/grammar/wording fixes for the Doxygen comments

Originally committed as revision 17400 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3fff6382
...@@ -43,9 +43,9 @@ struct xvmc_pix_fmt { ...@@ -43,9 +43,9 @@ struct xvmc_pix_fmt {
int xvmc_id; int xvmc_id;
/** Pointer to the block array allocated by XvMCCreateBlocks(). /** Pointer to the block array allocated by XvMCCreateBlocks().
The array is have to be freed by XvMCDestroyBlocks(). The array has to be freed by XvMCDestroyBlocks().
Each 64 values represent one data block of Each group of 64 values represents one data block of differential
differential pixel data (in MoCo mode) or coefficients for IDCT. pixel information (in MoCo mode) or coefficients for IDCT.
- application - set the pointer during initialization - application - set the pointer during initialization
- libavcodec - fills coefficients/pixel data into the array - libavcodec - fills coefficients/pixel data into the array
*/ */
...@@ -86,7 +86,7 @@ struct xvmc_pix_fmt { ...@@ -86,7 +86,7 @@ struct xvmc_pix_fmt {
int unsigned_intra; int unsigned_intra;
/** Pointer to the surface allocated by XvMCCreateSurface(). /** Pointer to the surface allocated by XvMCCreateSurface().
It have to be freed by XvMCDestroySurface() on application exit. It has to be freed by XvMCDestroySurface() on application exit.
It identifies the frame and its state on the video hardware. It identifies the frame and its state on the video hardware.
- application - set during initialization - application - set during initialization
- libavcodec - unchanged - libavcodec - unchanged
...@@ -121,7 +121,7 @@ struct xvmc_pix_fmt { ...@@ -121,7 +121,7 @@ struct xvmc_pix_fmt {
unsigned int flags; unsigned int flags;
//}@ //}@
/** Number of macro block descriptions in the mv_blocks array /** Number of macroblock descriptions in the mv_blocks array
that have already been passed to the hardware. that have already been passed to the hardware.
- application - zeroes it on get_buffer(). - application - zeroes it on get_buffer().
A successful ff_draw_horiz_band() may increment it A successful ff_draw_horiz_band() may increment it
...@@ -130,23 +130,24 @@ struct xvmc_pix_fmt { ...@@ -130,23 +130,24 @@ struct xvmc_pix_fmt {
*/ */
int start_mv_blocks_num; int start_mv_blocks_num;
/** Number of new macro blocks descriptions in mv_blocks array (after start_mv_blocks_num) /** Number of new macroblock descriptions in the mv_blocks array (after
that are filled by libavcodec and have to be passed to the hardware. start_mv_blocks_num) that are filled by libavcodec and have to be
passed to the hardware.
- application - zeroes it on get_buffer() or after successful - application - zeroes it on get_buffer() or after successful
ff_draw_horiz_band(). ff_draw_horiz_band().
- libavcodec - increment with one of each stored MB - libavcodec - increment with one of each stored MB
*/ */
int filled_mv_blocks_num; int filled_mv_blocks_num;
/** Number of the the next free data block. /** Number of the the next free data block; one data block consists of
One data block is 64 short values in data_blocks array. 64 short values in the data_blocks array.
All blocks before this one are already claimed by filling their number All blocks before this one are already claimed by filling their number
in the corresponding blocks description structure field, into the corresponding blocks description structure field,
that are hold in mv_blocks array. that are hold in mv_blocks array.
- application - zeroes it on get_buffer(). - application - zeroes it on get_buffer().
A successful ff_draw_horiz_band() may zero it together A successful ff_draw_horiz_band() may zero it together
with start_mb_blocks_num. with start_mb_blocks_num.
- libavcodec - each decoded macroblock increases it with the number - libavcodec - each decoded macroblock increases it by the number
of coded blocks it contains. of coded blocks it contains.
*/ */
int next_free_data_block_num; int next_free_data_block_num;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment