Mercurial > libavcodec.hg
comparison svq1.c @ 2145:79a512d7a347 libavcodec
well that does not need to be there anymore
author | melanson |
---|---|
date | Tue, 27 Jul 2004 02:52:16 +0000 |
parents | 00ba706bc844 |
children | e0d88f21d864 |
comparison
equal
deleted
inserted
replaced
2144:e33371c1e2b4 | 2145:79a512d7a347 |
---|---|
1292 s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); | 1292 s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); |
1293 s->mb_type = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int16_t)); | 1293 s->mb_type = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int16_t)); |
1294 s->dummy = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int32_t)); | 1294 s->dummy = av_mallocz((s->y_block_width+1)*s->y_block_height*sizeof(int32_t)); |
1295 h263_encode_init(&s->m); //mv_penalty | 1295 h263_encode_init(&s->m); //mv_penalty |
1296 | 1296 |
1297 av_log(s->avctx, AV_LOG_INFO, " Hey: %d x %d, %d x %d, %d x %d\n", | |
1298 s->frame_width, s->frame_height, | |
1299 s->y_block_width, s->y_block_height, | |
1300 s->c_block_width, s->c_block_height); | |
1301 | |
1302 return 0; | 1297 return 0; |
1303 } | 1298 } |
1304 | 1299 |
1305 static int svq1_encode_frame(AVCodecContext *avctx, unsigned char *buf, | 1300 static int svq1_encode_frame(AVCodecContext *avctx, unsigned char *buf, |
1306 int buf_size, void *data) | 1301 int buf_size, void *data) |