comparison mpegvideo.c @ 1707:027545a2fdbe libavcodec

100000l
author michael
date Tue, 30 Dec 2003 15:29:38 +0000
parents 3ba5c493db6f
children dea5b2946999
comparison
equal deleted inserted replaced
1706:3ba5c493db6f 1707:027545a2fdbe
1451 1451
1452 if((s->avctx->debug&(FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE)) || (s->avctx->debug_mv)){ 1452 if((s->avctx->debug&(FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE)) || (s->avctx->debug_mv)){
1453 const int shift= 1 + s->quarter_sample; 1453 const int shift= 1 + s->quarter_sample;
1454 int mb_y; 1454 int mb_y;
1455 uint8_t *ptr; 1455 uint8_t *ptr;
1456 int i;
1456 s->low_delay=0; //needed to see the vectors without trashing the buffers 1457 s->low_delay=0; //needed to see the vectors without trashing the buffers
1457 int i;
1458 1458
1459 for(i=0; i<3; i++){ 1459 for(i=0; i<3; i++){
1460 memcpy(s->visualization_buffer[i], pict->data[i], (i==0) ? pict->linesize[i]*s->height:pict->linesize[i]*s->height/2); 1460 memcpy(s->visualization_buffer[i], pict->data[i], (i==0) ? pict->linesize[i]*s->height:pict->linesize[i]*s->height/2);
1461 pict->data[i]= s->visualization_buffer[i]; 1461 pict->data[i]= s->visualization_buffer[i];
1462 } 1462 }