changeset 10795:342c2dbe0f94 libavcodec

More doxy
author michael
date Thu, 07 Jan 2010 15:12:31 +0000
parents 9e47b291fa62
children 3cebe9b3562d
files h263.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Thu Jan 07 14:56:40 2010 +0000
+++ b/h263.c	Thu Jan 07 15:12:31 2010 +0000
@@ -341,6 +341,10 @@
     }
 }
 
+/**
+ * Returns the number of bits that encoding the 8x8 block in block would need.
+ * @param[in]  block_last_index last index in scantable order that refers to a non zero element in block.
+ */
 static inline int get_block_rate(MpegEncContext * s, DCTELEM block[64], int block_last_index, uint8_t scantable[64]){
     int last=0;
     int j;
@@ -364,6 +368,9 @@
     return rate;
 }
 
+/**
+ * Returns the optimal value (0 or 1) for the ac_pred element for the given MB in mpeg4.
+ */
 static inline int decide_ac_pred(MpegEncContext * s, DCTELEM block[6][64], int dir[6], uint8_t *st[6], int zigzag_last_index[6])
 {
     int score= 0;