[asterisk-commits] rizzo: branch rizzo/video_v2 r84670 - /team/rizzo/video_v2/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 4 10:47:47 CDT 2007
Author: rizzo
Date: Thu Oct 4 10:47:47 2007
New Revision: 84670
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84670
Log:
add some notes on modes supported in h263
Modified:
team/rizzo/video_v2/channels/console_video.c
Modified: team/rizzo/video_v2/channels/console_video.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/video_v2/channels/console_video.c?view=diff&rev=84670&r1=84669&r2=84670
==============================================================================
--- team/rizzo/video_v2/channels/console_video.c (original)
+++ team/rizzo/video_v2/channels/console_video.c Thu Oct 4 10:47:47 2007
@@ -666,9 +666,19 @@
*/
if (0) { /* normal h263 */
} else {
- v->enc_ctx->flags |=CODEC_FLAG_H263P_UMV;
- v->enc_ctx->flags |=CODEC_FLAG_AC_PRED;
- v->enc_ctx->flags |=CODEC_FLAG_H263P_SLICE_STRUCT;
+ /* modes supported are
+ - Unrestricted Motion Vector (annex D)
+ - Advanced Prediction (annex F)
+ - Advanced Intra Coding (annex I)
+ - Deblocking Filter (annex J)
+ - Slice Structure (annex K)
+ - Alternative Inter VLC (annex S)
+ - Modified Quantization (annex T)
+ */
+ v->enc_ctx->flags |=CODEC_FLAG_H263P_UMV; /* annex D */
+ v->enc_ctx->flags |=CODEC_FLAG_AC_PRED; /* annex f ? */
+ v->enc_ctx->flags |=CODEC_FLAG_H263P_SLICE_STRUCT; /* annex k */
+ v->enc_ctx->flags |= CODEC_FLAG_H263P_AIC; /* annex I */
}
v->enc_ctx->bit_rate = v->bitrate;
v->enc_ctx->gop_size = v->fps*5; // emit I frame every 5 seconds
More information about the asterisk-commits
mailing list