comparison h264.c @ 2404:2e90350ff8bc libavcodec

10l
author michael
date Fri, 31 Dec 2004 14:02:35 +0000
parents f9d4e1eddbc5
children 26778a857b5b
comparison
equal deleted inserted replaced
2403:6d53608cf2cf 2404:2e90350ff8bc
2493 MpegEncContext * const s = &h->s; 2493 MpegEncContext * const s = &h->s;
2494 int i; 2494 int i;
2495 2495
2496 MPV_frame_start(s, s->avctx); 2496 MPV_frame_start(s, s->avctx);
2497 ff_er_frame_start(s); 2497 ff_er_frame_start(s);
2498 h->mmco_index=0;
2498 2499
2499 assert(s->linesize && s->uvlinesize); 2500 assert(s->linesize && s->uvlinesize);
2500 2501
2501 for(i=0; i<16; i++){ 2502 for(i=0; i<16; i++){
2502 h->block_offset[i]= 4*((scan8[i] - scan8[0])&7) + 4*s->linesize*((scan8[i] - scan8[0])>>3); 2503 h->block_offset[i]= 4*((scan8[i] - scan8[0])&7) + 4*s->linesize*((scan8[i] - scan8[0])>>3);