[FFmpeg-cvslog] r21060 - trunk/libavcodec/h263.c
michael
subversion
Thu Jan 7 16:12:31 CET 2010
Author: michael
Date: Thu Jan 7 16:12:31 2010
New Revision: 21060
Log:
More doxy
Modified:
trunk/libavcodec/h263.c
Modified: trunk/libavcodec/h263.c
==============================================================================
--- trunk/libavcodec/h263.c Thu Jan 7 15:56:40 2010 (r21059)
+++ trunk/libavcodec/h263.c Thu Jan 7 16:12:31 2010 (r21060)
@@ -341,6 +341,10 @@ void h263_encode_gob_header(MpegEncConte
}
}
+/**
+ * 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 @@ static inline int get_block_rate(MpegEnc
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;
More information about the ffmpeg-cvslog
mailing list