# HG changeset patch # User melanson # Date 1114363271 0 # Node ID 511e3afc43e11d8b8cdbbb402e266af952a44e41 # Parent bf158d23bbccfb44593ee1a0452c4c295fe92e14 Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped") diff -r bf158d23bbcc -r 511e3afc43e1 4xm.c --- a/4xm.c Sun Apr 24 11:13:49 2005 +0000 +++ b/4xm.c Sun Apr 24 17:21:11 2005 +0000 @@ -564,7 +564,7 @@ if(prestream_size + bitstream_size + 12 != length || bitstream_size > (1<<26) || prestream_size > (1<<26)){ - av_log(f->avctx, AV_LOG_ERROR, "size missmatch %d %d %d\n", prestream_size, bitstream_size, length); + av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %d %d\n", prestream_size, bitstream_size, length); return -1; } @@ -591,7 +591,7 @@ } if(get_vlc2(&f->pre_gb, f->pre_vlc.table, ACDC_VLC_BITS, 3) != 256) - av_log(f->avctx, AV_LOG_ERROR, "end missmatch\n"); + av_log(f->avctx, AV_LOG_ERROR, "end mismatch\n"); return 0; } @@ -607,7 +607,7 @@ frame_4cc= get32(buf); if(buf_size != get32(buf+4)+8){ - av_log(f->avctx, AV_LOG_ERROR, "size missmatch %d %d\n", buf_size, get32(buf+4)); + av_log(f->avctx, AV_LOG_ERROR, "size mismatch %d %d\n", buf_size, get32(buf+4)); } if(frame_4cc == ff_get_fourcc("cfrm")){ @@ -643,7 +643,7 @@ frame_size= cfrm->size; if(id != avctx->frame_number){ - av_log(f->avctx, AV_LOG_ERROR, "cframe id missmatch %d %d\n", id, avctx->frame_number); + av_log(f->avctx, AV_LOG_ERROR, "cframe id mismatch %d %d\n", id, avctx->frame_number); } cfrm->size= cfrm->id= 0; diff -r bf158d23bbcc -r 511e3afc43e1 avcodec.h --- a/avcodec.h Sun Apr 24 11:13:49 2005 +0000 +++ b/avcodec.h Sun Apr 24 17:21:11 2005 +0000 @@ -1691,14 +1691,14 @@ int nsse_weight; /** - * number of macroblock rows at the top which are skiped. + * number of macroblock rows at the top which are skipped. * - encoding: unused * - decoding: set by user */ int skip_top; /** - * number of macroblock rows at the bottom which are skiped. + * number of macroblock rows at the bottom which are skipped. * - encoding: unused * - decoding: set by user */ diff -r bf158d23bbcc -r 511e3afc43e1 error_resilience.c --- a/error_resilience.c Sun Apr 24 11:13:49 2005 +0000 +++ b/error_resilience.c Sun Apr 24 17:21:11 2005 +0000 @@ -346,7 +346,7 @@ s->mv_dir = MV_DIR_FORWARD; s->mb_intra=0; s->mv_type = MV_TYPE_16X16; - s->mb_skiped=0; + s->mb_skipped=0; s->dsp.clear_blocks(s->block[0]); @@ -474,7 +474,7 @@ s->mv_dir = MV_DIR_FORWARD; s->mb_intra=0; s->mv_type = MV_TYPE_16X16; - s->mb_skiped=0; + s->mb_skipped=0; s->dsp.clear_blocks(s->block[0]); @@ -858,7 +858,7 @@ s->mv_dir = MV_DIR_FORWARD; s->mb_intra=0; - s->mb_skiped=0; + s->mb_skipped=0; if(IS_8X8(mb_type)){ int mb_index= mb_x*2 + mb_y*2*s->b8_stride; int j; @@ -897,7 +897,7 @@ s->mv_dir = MV_DIR_FORWARD|MV_DIR_BACKWARD; s->mb_intra=0; s->mv_type = MV_TYPE_16X16; - s->mb_skiped=0; + s->mb_skipped=0; if(s->pp_time){ int time_pp= s->pp_time; diff -r bf158d23bbcc -r 511e3afc43e1 faad.c --- a/faad.c Sun Apr 24 11:13:49 2005 +0000 +++ b/faad.c Sun Apr 24 17:21:11 2005 +0000 @@ -158,7 +158,7 @@ out = s->faacDecDecode(s->faac_handle, &frame_info, (unsigned char*)buf, (unsigned long)buf_size); if (frame_info.error > 0) { - av_log(avctx, AV_LOG_ERROR, "faac: frame decodinf failed: %s\n", + av_log(avctx, AV_LOG_ERROR, "faac: frame decoding failed: %s\n", s->faacDecGetErrorMessage(frame_info.error)); return 0; } diff -r bf158d23bbcc -r 511e3afc43e1 ffv1.c --- a/ffv1.c Sun Apr 24 11:13:49 2005 +0000 +++ b/ffv1.c Sun Apr 24 17:21:11 2005 +0000 @@ -551,7 +551,7 @@ int i; if(avctx->strict_std_compliance >= 0){ - av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n" + av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodeable with future versions!!!\n" "use vstrict=-1 / -strict -1 to use it anyway\n"); return -1; } diff -r bf158d23bbcc -r 511e3afc43e1 flac.c --- a/flac.c Sun Apr 24 11:13:49 2005 +0000 +++ b/flac.c Sun Apr 24 17:21:11 2005 +0000 @@ -556,7 +556,7 @@ skip_bits(&s->gb, 8); crc8= get_crc8(s->gb.buffer, get_bits_count(&s->gb)/8); if(crc8){ - av_log(s->avctx, AV_LOG_ERROR, "header crc missmatch crc=%2X\n", crc8); + av_log(s->avctx, AV_LOG_ERROR, "header crc mismatch crc=%2X\n", crc8); return -1; } diff -r bf158d23bbcc -r 511e3afc43e1 h261.c --- a/h261.c Sun Apr 24 11:13:49 2005 +0000 +++ b/h261.c Sun Apr 24 17:21:11 2005 +0000 @@ -541,7 +541,7 @@ s->current_picture.mb_type[xy]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = 1; + s->mb_skipped = 1; h->mtype &= ~MB_TYPE_H261_FIL; MPV_decode_mb(s, s->block); diff -r bf158d23bbcc -r 511e3afc43e1 h263.c --- a/h263.c Sun Apr 24 11:13:49 2005 +0000 +++ b/h263.c Sun Apr 24 17:21:11 2005 +0000 @@ -619,7 +619,7 @@ const int wrap = s->b8_stride; const int xy = s->block_index[0]; - s->current_picture.mbskip_table[mb_xy]= s->mb_skiped; + s->current_picture.mbskip_table[mb_xy]= s->mb_skipped; if(s->mv_type != MV_TYPE_8X8){ int motion_x, motion_y; @@ -855,7 +855,7 @@ assert((s->dquant&1)==0); assert(mb_type>=0); - /* nothing to do if this MB was skiped in the next P Frame */ + /* nothing to do if this MB was skipped in the next P Frame */ if(s->next_picture.mbskip_table[s->mb_y * s->mb_stride + s->mb_x]){ //FIXME avoid DCT & ... s->skip_count++; s->mv[0][0][0]= @@ -864,7 +864,7 @@ s->mv[1][0][1]= 0; s->mv_dir= MV_DIR_FORWARD; //doesnt matter s->qscale -= s->dquant; -// s->mb_skiped=1; +// s->mb_skipped=1; return; } @@ -990,7 +990,7 @@ offset= x + y*s->linesize; p_pic= s->new_picture.data[0] + offset; - s->mb_skiped=1; + s->mb_skipped=1; for(i=0; imax_b_frames; i++){ uint8_t *b_pic; int diff; @@ -1001,14 +1001,14 @@ b_pic= pic->data[0] + offset + 16; //FIXME +16 diff= s->dsp.sad[0](NULL, p_pic, b_pic, s->linesize, 16); if(diff>s->qscale*70){ //FIXME check that 70 is optimal - s->mb_skiped=0; + s->mb_skipped=0; break; } } }else - s->mb_skiped=1; - - if(s->mb_skiped==1){ + s->mb_skipped=1; + + if(s->mb_skipped==1){ /* skip macroblock */ put_bits(&s->pb, 1, 1); @@ -3211,7 +3211,7 @@ } if(s->pict_type == B_TYPE){ while(s->next_picture.mbskip_table[ s->mb_index2xy[ mb_num ] ]) mb_num++; - if(mb_num >= s->mb_num) return -1; // slice contains just skiped MBs which where allready decoded + if(mb_num >= s->mb_num) return -1; // slice contains just skipped MBs which where allready decoded } s->mb_x= mb_num % s->mb_width; @@ -3729,10 +3729,10 @@ s->mv_type = MV_TYPE_16X16; if(s->pict_type==S_TYPE && s->vol_sprite_usage==GMC_SPRITE){ s->mcsel=1; - s->mb_skiped = 0; + s->mb_skipped = 0; }else{ s->mcsel=0; - s->mb_skiped = 1; + s->mb_skipped = 1; } }else if(s->mb_intra){ s->ac_pred = IS_ACPRED(s->current_picture.mb_type[xy]); @@ -3910,7 +3910,7 @@ s->current_picture.mb_type[xy]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = !(s->obmc | s->loop_filter); + s->mb_skipped = !(s->obmc | s->loop_filter); goto end; } cbpc = get_vlc2(&s->gb, inter_MCBPC_vlc.table, INTER_MCBPC_VLC_BITS, 2); @@ -4175,13 +4175,13 @@ s->mv[0][0][0]= get_amv(s, 0); s->mv[0][0][1]= get_amv(s, 1); - s->mb_skiped = 0; + s->mb_skipped = 0; }else{ s->current_picture.mb_type[xy]= MB_TYPE_SKIP | MB_TYPE_16x16 | MB_TYPE_L0; s->mcsel=0; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = 1; + s->mb_skipped = 1; } goto end; } @@ -4294,9 +4294,9 @@ } /* if we skipped it in the future P Frame than skip it now too */ - s->mb_skiped= s->next_picture.mbskip_table[s->mb_y * s->mb_stride + s->mb_x]; // Note, skiptab=0 if last was GMC - - if(s->mb_skiped){ + s->mb_skipped= s->next_picture.mbskip_table[s->mb_y * s->mb_stride + s->mb_x]; // Note, skiptab=0 if last was GMC + + if(s->mb_skipped){ /* skip mb */ for(i=0;i<6;i++) s->block_last_index[i] = -1; @@ -5586,7 +5586,7 @@ if (get_bits1(gb) == 1) { /* not_8_bit */ s->quant_precision = get_bits(gb, 4); /* quant_precision */ if(get_bits(gb, 4)!=8) av_log(s->avctx, AV_LOG_ERROR, "N-bit not supported\n"); /* bits_per_pixel */ - if(s->quant_precision!=5) av_log(s->avctx, AV_LOG_ERROR, "quant precission %d\n", s->quant_precision); + if(s->quant_precision!=5) av_log(s->avctx, AV_LOG_ERROR, "quant precision %d\n", s->quant_precision); } else { s->quant_precision = 5; } @@ -5778,7 +5778,7 @@ s->pict_type = get_bits(gb, 2) + I_TYPE; /* pict type: I = 0 , P = 1 */ if(s->pict_type==B_TYPE && s->low_delay && s->vol_control_parameters==0 && !(s->flags & CODEC_FLAG_LOW_DELAY)){ - av_log(s->avctx, AV_LOG_ERROR, "low_delay flag set, but shouldnt, clearing it\n"); + av_log(s->avctx, AV_LOG_ERROR, "low_delay flag incorrectly, clearing it\n"); s->low_delay=0; } @@ -5799,7 +5799,7 @@ check_marker(gb, "before time_increment"); if(s->time_increment_bits==0){ - av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers arnt complete, trying to guess time_increment_bits\n"); + av_log(s->avctx, AV_LOG_ERROR, "hmm, seems the headers are not complete, trying to guess time_increment_bits\n"); for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){ if(show_bits(gb, s->time_increment_bits+1)&1) break; @@ -5830,8 +5830,8 @@ s->time= (s->last_time_base + time_incr)*s->time_increment_resolution + time_increment; s->pb_time= s->pp_time - (s->last_non_b_time - s->time); if(s->pp_time <=s->pb_time || s->pp_time <= s->pp_time - s->pb_time || s->pp_time<=0){ -// printf("messed up order, seeking?, skiping current b frame\n"); - return FRAME_SKIPED; +// printf("messed up order, maybe after seeking? skipping current b frame\n"); + return FRAME_SKIPPED; } if(s->t_frame==0) s->t_frame= s->pb_time; @@ -5853,7 +5853,7 @@ if (get_bits1(gb) != 1){ if(s->avctx->debug&FF_DEBUG_PICT_INFO) av_log(s->avctx, AV_LOG_ERROR, "vop not coded\n"); - return FRAME_SKIPED; + return FRAME_SKIPPED; } //printf("time %d %d %d || %Ld %Ld %Ld\n", s->time_increment_bits, s->time_increment_resolution, s->time_base, //s->time, s->last_non_b_time, s->last_non_b_time - s->pp_time); @@ -6003,7 +6003,7 @@ if(get_bits_count(gb) >= gb->size_in_bits){ if(gb->size_in_bits==8 && (s->divx_version || s->xvid_build)){ av_log(s->avctx, AV_LOG_ERROR, "frame skip %d\n", gb->size_in_bits); - return FRAME_SKIPED; //divx bug + return FRAME_SKIPPED; //divx bug }else return -1; //end of stream } @@ -6032,11 +6032,11 @@ else if(startcode==0x1BB) av_log(s->avctx, AV_LOG_DEBUG, "FBA Object Plane start"); else if(startcode==0x1BC) av_log(s->avctx, AV_LOG_DEBUG, "Mesh Object start"); else if(startcode==0x1BD) av_log(s->avctx, AV_LOG_DEBUG, "Mesh Object Plane start"); - else if(startcode==0x1BE) av_log(s->avctx, AV_LOG_DEBUG, "Still Textutre Object start"); - else if(startcode==0x1BF) av_log(s->avctx, AV_LOG_DEBUG, "Textutre Spatial Layer start"); - else if(startcode==0x1C0) av_log(s->avctx, AV_LOG_DEBUG, "Textutre SNR Layer start"); - else if(startcode==0x1C1) av_log(s->avctx, AV_LOG_DEBUG, "Textutre Tile start"); - else if(startcode==0x1C2) av_log(s->avctx, AV_LOG_DEBUG, "Textutre Shape Layer start"); + else if(startcode==0x1BE) av_log(s->avctx, AV_LOG_DEBUG, "Still Texture Object start"); + else if(startcode==0x1BF) av_log(s->avctx, AV_LOG_DEBUG, "Texture Spatial Layer start"); + else if(startcode==0x1C0) av_log(s->avctx, AV_LOG_DEBUG, "Texture SNR Layer start"); + else if(startcode==0x1C1) av_log(s->avctx, AV_LOG_DEBUG, "Texture Tile start"); + else if(startcode==0x1C2) av_log(s->avctx, AV_LOG_DEBUG, "Texture Shape Layer start"); else if(startcode==0x1C3) av_log(s->avctx, AV_LOG_DEBUG, "stuffing start"); else if(startcode<=0x1C5) av_log(s->avctx, AV_LOG_DEBUG, "reserved"); else if(startcode<=0x1FF) av_log(s->avctx, AV_LOG_DEBUG, "System start"); diff -r bf158d23bbcc -r 511e3afc43e1 h263dec.c --- a/h263dec.c Sun Apr 24 11:13:49 2005 +0000 +++ b/h263dec.c Sun Apr 24 17:21:11 2005 +0000 @@ -199,7 +199,7 @@ s->mv_dir = MV_DIR_FORWARD; s->mv_type = MV_TYPE_16X16; -// s->mb_skiped = 0; +// s->mb_skipped = 0; //printf("%d %d %06X\n", ret, get_bits_count(&s->gb), show_bits(&s->gb, 24)); ret= s->decode_mb(s, s->block); @@ -451,7 +451,7 @@ }else if(s->codec_id==CODEC_ID_H263){ next= h263_find_frame_end(&s->parse_context, buf, buf_size); }else{ - av_log(s->avctx, AV_LOG_ERROR, "this codec doesnt support truncated bitstreams\n"); + av_log(s->avctx, AV_LOG_ERROR, "this codec does not support truncated bitstreams\n"); return -1; } @@ -503,7 +503,7 @@ ret = h263_decode_picture_header(s); } - if(ret==FRAME_SKIPED) return get_consumed_bytes(s, buf_size); + if(ret==FRAME_SKIPPED) return get_consumed_bytes(s, buf_size); /* skip if the header was thrashed */ if (ret < 0){ diff -r bf158d23bbcc -r 511e3afc43e1 h264.c --- a/h264.c Sun Apr 24 11:13:49 2005 +0000 +++ b/h264.c Sun Apr 24 17:21:11 2005 +0000 @@ -162,7 +162,7 @@ int chroma_qp; //QPc - int prev_mb_skiped; //FIXME remove (IMHO not used) + int prev_mb_skipped; //FIXME remove (IMHO not used) //prediction stuff int chroma_pred_mode; @@ -4205,7 +4205,7 @@ s->current_picture.mb_type[mb_xy]= mb_type|MB_TYPE_SKIP; s->current_picture.qscale_table[mb_xy]= s->qscale; h->slice_table[ mb_xy ]= h->slice_num; - h->prev_mb_skiped= 1; + h->prev_mb_skipped= 1; } /** @@ -4232,12 +4232,12 @@ } } if(h->mb_aff_frame){ - if ( ((s->mb_y&1) == 0) || h->prev_mb_skiped) + if ( ((s->mb_y&1) == 0) || h->prev_mb_skipped) h->mb_field_decoding_flag = get_bits1(&s->gb); }else h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME); - h->prev_mb_skiped= 0; + h->prev_mb_skipped= 0; mb_type= get_ue_golomb(&s->gb); if(h->slice_type == B_TYPE){ @@ -5209,12 +5209,12 @@ } } if(h->mb_aff_frame){ - if ( ((s->mb_y&1) == 0) || h->prev_mb_skiped) + if ( ((s->mb_y&1) == 0) || h->prev_mb_skipped) h->mb_field_decoding_flag = decode_cabac_field_decoding_flag(h); }else h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME); - h->prev_mb_skiped = 0; + h->prev_mb_skipped = 0; compute_mb_neighboors(h); if( ( mb_type = decode_cabac_mb_type( h ) ) < 0 ) { @@ -6628,7 +6628,7 @@ sps->crop_top = get_ue_golomb(&s->gb); sps->crop_bottom= get_ue_golomb(&s->gb); if(sps->crop_left || sps->crop_top){ - av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completly supported, this could look slightly wrong ...\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "insane cropping not completely supported, this could look slightly wrong ...\n"); } }else{ sps->crop_left = @@ -7022,7 +7022,7 @@ //FIXME do something with unavailable reference frames -// if(ret==FRAME_SKIPED) return get_consumed_bytes(s, buf_index, buf_size); +// if(ret==FRAME_SKIPPED) return get_consumed_bytes(s, buf_index, buf_size); if(!s->current_picture_ptr){ av_log(h->s.avctx, AV_LOG_DEBUG, "error, NO frame\n"); return -1; diff -r bf158d23bbcc -r 511e3afc43e1 huffyuv.c --- a/huffyuv.c Sun Apr 24 11:13:49 2005 +0000 +++ b/huffyuv.c Sun Apr 24 17:21:11 2005 +0000 @@ -542,7 +542,7 @@ if(s->interlaced != ( s->height > 288 )) av_log(avctx, AV_LOG_INFO, "using huffyuv 2.2.0 or newer interlacing flag\n"); }else if(avctx->strict_std_compliance>=0){ - av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodeable with future versions!!! Set vstrict=-1 / -strict -1 to use it anyway.\n"); + av_log(avctx, AV_LOG_ERROR, "This codec is under development; files encoded with it may not be decodable with future versions!!! Set vstrict=-1 / -strict -1 to use it anyway.\n"); return -1; } @@ -827,7 +827,7 @@ p->data[0][1]= get_bits(&s->gb, 8); p->data[0][0]= get_bits(&s->gb, 8); - av_log(avctx, AV_LOG_ERROR, "YUY2 output isnt implemenetd yet\n"); + av_log(avctx, AV_LOG_ERROR, "YUY2 output is not implemented yet\n"); return -1; }else{ @@ -996,14 +996,14 @@ } } } - draw_slice(s, height); // just 1 large slice as this isnt possible in reverse order + draw_slice(s, height); // just 1 large slice as this is not possible in reverse order break; default: av_log(avctx, AV_LOG_ERROR, "prediction type not supported!\n"); } }else{ - av_log(avctx, AV_LOG_ERROR, "BGR24 output isnt implemenetd yet\n"); + av_log(avctx, AV_LOG_ERROR, "BGR24 output is not implemented yet\n"); return -1; } } diff -r bf158d23bbcc -r 511e3afc43e1 lcl.c --- a/lcl.c Sun Apr 24 11:13:49 2005 +0000 +++ b/lcl.c Sun Apr 24 17:21:11 2005 +0000 @@ -714,7 +714,7 @@ break; default: if ((c->compression < Z_NO_COMPRESSION) || (c->compression > Z_BEST_COMPRESSION)) { - av_log(avctx, AV_LOG_ERROR, "Unusupported compression level for ZLIB: (%d).\n", c->compression); + av_log(avctx, AV_LOG_ERROR, "Unsupported compression level for ZLIB: (%d).\n", c->compression); return 1; } av_log(avctx, AV_LOG_INFO, "Compression level for ZLIB: (%d).\n", c->compression); diff -r bf158d23bbcc -r 511e3afc43e1 motion_est.c --- a/motion_est.c Sun Apr 24 11:13:49 2005 +0000 +++ b/motion_est.c Sun Apr 24 17:21:11 2005 +0000 @@ -1300,7 +1300,7 @@ c->sub_motion_search(s, &mx, &my, dmin, 0, 0, 0, 16); if(s->flags&CODEC_FLAG_MV0) if(mx || my) - mb_type |= CANDIDATE_MB_TYPE_SKIPED; //FIXME check difference + mb_type |= CANDIDATE_MB_TYPE_SKIPPED; //FIXME check difference }else{ mx <<=shift; my <<=shift; diff -r bf158d23bbcc -r 511e3afc43e1 mpeg12.c --- a/mpeg12.c Sun Apr 24 11:13:49 2005 +0000 +++ b/mpeg12.c Sun Apr 24 17:21:11 2005 +0000 @@ -226,10 +226,10 @@ if(find_frame_rate_index(s) < 0){ if(s->strict_std_compliance >=0){ - av_log(avctx, AV_LOG_ERROR, "MPEG1/2 doesnt support %d/%d fps\n", avctx->frame_rate, avctx->frame_rate_base); + av_log(avctx, AV_LOG_ERROR, "MPEG1/2 does not support %d/%d fps\n", avctx->frame_rate, avctx->frame_rate_base); return -1; }else{ - av_log(avctx, AV_LOG_INFO, "MPEG1/2 doesnt support %d/%d fps, there may be AV sync issues\n", avctx->frame_rate, avctx->frame_rate_base); + av_log(avctx, AV_LOG_INFO, "MPEG1/2 does not support %d/%d fps, there may be AV sync issues\n", avctx->frame_rate, avctx->frame_rate_base); } } @@ -1055,11 +1055,11 @@ dprintf("decode_mb: x=%d y=%d\n", s->mb_x, s->mb_y); - assert(s->mb_skiped==0); + assert(s->mb_skipped==0); if (s->mb_skip_run-- != 0) { if(s->pict_type == I_TYPE){ - av_log(s->avctx, AV_LOG_ERROR, "skiped MB in I frame at %d %d\n", s->mb_x, s->mb_y); + av_log(s->avctx, AV_LOG_ERROR, "skipped MB in I frame at %d %d\n", s->mb_x, s->mb_y); return -1; } @@ -1078,7 +1078,7 @@ s->last_mv[0][0][0] = s->last_mv[0][0][1] = 0; s->last_mv[0][1][0] = s->last_mv[0][1][1] = 0; s->field_select[0][0]= s->picture_structure - 1; - s->mb_skiped = 1; + s->mb_skipped = 1; s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= MB_TYPE_SKIP | MB_TYPE_L0 | MB_TYPE_16x16; } else { int mb_type; @@ -1101,7 +1101,7 @@ // assert(s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride - 1]&(MB_TYPE_16x16|MB_TYPE_16x8)); if((s->mv[0][0][0]|s->mv[0][0][1]|s->mv[1][0][0]|s->mv[1][0][1])==0) - s->mb_skiped = 1; + s->mb_skipped = 1; } return 0; diff -r bf158d23bbcc -r 511e3afc43e1 mpegvideo.c --- a/mpegvideo.c Sun Apr 24 11:13:49 2005 +0000 +++ b/mpegvideo.c Sun Apr 24 17:21:11 2005 +0000 @@ -409,7 +409,7 @@ memmove(s->prev_pict_types+1, s->prev_pict_types, PREV_PICT_TYPES_BUFFER_SIZE-1); s->prev_pict_types[0]= s->pict_type; if(pic->age < PREV_PICT_TYPES_BUFFER_SIZE && s->prev_pict_types[pic->age] == B_TYPE) - pic->age= INT_MAX; // skiped MBs in b frames are quite rare in mpeg1/2 and its a bit tricky to skip them anyway + pic->age= INT_MAX; // skipped MBs in b frames are quite rare in mpeg1/2 and its a bit tricky to skip them anyway return 0; fail: //for the CHECKED_ALLOCZ macro @@ -1444,7 +1444,7 @@ { int i; AVFrame *pic; - s->mb_skiped = 0; + s->mb_skipped = 0; assert(s->last_picture_ptr==NULL || s->out_format != FMT_H264 || s->codec_id == CODEC_ID_SVQ3); @@ -3227,7 +3227,7 @@ const int mot_stride= s->b8_stride; const int mot_xy= mb_x*2 + mb_y*2*mot_stride; - assert(!s->mb_skiped); + assert(!s->mb_skipped); memcpy(mv_cache[1][1], s->current_picture.motion_val[0][mot_xy ], sizeof(int16_t)*4); memcpy(mv_cache[2][1], s->current_picture.motion_val[0][mot_xy+mot_stride], sizeof(int16_t)*4); @@ -3699,11 +3699,11 @@ assert(age); - if (s->mb_skiped) { - s->mb_skiped= 0; + if (s->mb_skipped) { + s->mb_skipped= 0; assert(s->pict_type!=I_TYPE); - (*mbskip_ptr) ++; /* indicate that this time we skiped it */ + (*mbskip_ptr) ++; /* indicate that this time we skipped it */ if(*mbskip_ptr >99) *mbskip_ptr= 99; /* if previous was skipped too, then nothing to do ! */ @@ -4374,7 +4374,7 @@ d->misc_bits= s->misc_bits; d->last_bits= 0; - d->mb_skiped= 0; + d->mb_skipped= 0; d->qscale= s->qscale; d->dquant= s->dquant; } @@ -4401,7 +4401,7 @@ d->misc_bits= s->misc_bits; d->mb_intra= s->mb_intra; - d->mb_skiped= s->mb_skiped; + d->mb_skipped= s->mb_skipped; d->mv_type= s->mv_type; d->mv_dir= s->mv_dir; d->pb= s->pb; @@ -4773,7 +4773,7 @@ s->first_slice_line=0; } - s->mb_skiped=0; + s->mb_skipped=0; s->dquant=0; //only for QP_RD if(mb_type & (mb_type-1) || (s->flags & CODEC_FLAG_QP_RD)){ // more than 1 MB type possible or CODEC_FLAG_QP_RD @@ -4810,13 +4810,13 @@ encode_mb_hq(s, &backup_s, &best_s, CANDIDATE_MB_TYPE_INTER_I, pb, pb2, tex_pb, &dmin, &next_block, 0, 0); } - if(mb_type&CANDIDATE_MB_TYPE_SKIPED){ + if(mb_type&CANDIDATE_MB_TYPE_SKIPPED){ s->mv_dir = MV_DIR_FORWARD; s->mv_type = MV_TYPE_16X16; s->mb_intra= 0; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - encode_mb_hq(s, &backup_s, &best_s, CANDIDATE_MB_TYPE_SKIPED, pb, pb2, tex_pb, + encode_mb_hq(s, &backup_s, &best_s, CANDIDATE_MB_TYPE_SKIPPED, pb, pb2, tex_pb, &dmin, &next_block, s->mv[0][0][0], s->mv[0][0][1]); } if(mb_type&CANDIDATE_MB_TYPE_INTER4V){ diff -r bf158d23bbcc -r 511e3afc43e1 mpegvideo.h --- a/mpegvideo.h Sun Apr 24 11:13:49 2005 +0000 +++ b/mpegvideo.h Sun Apr 24 17:21:11 2005 +0000 @@ -29,7 +29,7 @@ #include "dsputil.h" #include "bitstream.h" -#define FRAME_SKIPED 100 ///< return value for header parsers if frame is not coded +#define FRAME_SKIPPED 100 ///< return value for header parsers if frame is not coded enum OutputFormat { FMT_MPEG1, @@ -203,7 +203,7 @@ */ typedef struct MotionEstContext{ AVCodecContext *avctx; - int skip; ///< set if ME is skiped for the current MB + int skip; ///< set if ME is skipped for the current MB int co_located_mv[4][2]; ///< mv from last p frame for direct mode ME int direct_basis_mv[4][2]; uint8_t *scratchpad; ///< data area for the me algo, so that the ME doesnt need to malloc/free @@ -350,7 +350,7 @@ int ac_pred; uint8_t *prev_pict_types; ///< previous picture types in bitstream order, used for mb skip #define PREV_PICT_TYPES_BUFFER_SIZE 256 - int mb_skiped; ///< MUST BE SET only during DECODING + int mb_skipped; ///< MUST BE SET only during DECODING uint8_t *mbskip_table; /**< used to avoid copy if macroblock skipped (for black regions for example) and used for b-frame encoding & decoding (contains skip table of next P Frame) */ uint8_t *mbintra_table; ///< used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding @@ -378,7 +378,7 @@ /* motion compensation */ int unrestricted_mv; ///< mv can point outside of the coded picture int h263_long_vectors; ///< use horrible h263v1 long vector mode - int decode; ///< if 0 then decoding will be skiped (for encoding b frames for example) + int decode; ///< if 0 then decoding will be skipped (for encoding b frames for example) DSPContext dsp; ///< pointers for accelerated dsp fucntions int f_code; ///< forward MV resolution @@ -427,7 +427,7 @@ int no_rounding; /**< apply no rounding to motion compensation (MPEG4, msmpeg4, ...) for b-frames rounding mode is allways 0 */ - int hurry_up; /**< when set to 1 during decoding, b frames will be skiped + int hurry_up; /**< when set to 1 during decoding, b frames will be skipped when set to 2 idct/dequant will be skipped too */ /* macroblock layer */ @@ -438,7 +438,7 @@ #define CANDIDATE_MB_TYPE_INTRA 0x01 #define CANDIDATE_MB_TYPE_INTER 0x02 #define CANDIDATE_MB_TYPE_INTER4V 0x04 -#define CANDIDATE_MB_TYPE_SKIPED 0x08 +#define CANDIDATE_MB_TYPE_SKIPPED 0x08 //#define MB_TYPE_GMC 0x10 #define CANDIDATE_MB_TYPE_DIRECT 0x10 diff -r bf158d23bbcc -r 511e3afc43e1 msmpeg4.c --- a/msmpeg4.c Sun Apr 24 11:13:49 2005 +0000 +++ b/msmpeg4.c Sun Apr 24 17:21:11 2005 +0000 @@ -1492,7 +1492,7 @@ s->mv_type = MV_TYPE_16X16; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = 1; + s->mb_skipped = 1; return 0; } } @@ -1580,7 +1580,7 @@ s->mv_type = MV_TYPE_16X16; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = 1; + s->mb_skipped = 1; *mb_type_ptr = MB_TYPE_SKIP | MB_TYPE_L0 | MB_TYPE_16x16; return 0; diff -r bf158d23bbcc -r 511e3afc43e1 ratecontrol.c --- a/ratecontrol.c Sun Apr 24 11:13:49 2005 +0000 +++ b/ratecontrol.c Sun Apr 24 17:21:11 2005 +0000 @@ -79,7 +79,7 @@ rcc->entry = (RateControlEntry*)av_mallocz(i*sizeof(RateControlEntry)); rcc->num_entries= i; - /* init all to skiped p frames (with b frames we might have a not encoded frame at the end FIXME) */ + /* init all to skipped p frames (with b frames we might have a not encoded frame at the end FIXME) */ for(i=0; inum_entries; i++){ RateControlEntry *rce= &rcc->entry[i]; rce->pict_type= rce->new_pict_type=P_TYPE; diff -r bf158d23bbcc -r 511e3afc43e1 rv10.c --- a/rv10.c Sun Apr 24 11:13:49 2005 +0000 +++ b/rv10.c Sun Apr 24 17:21:11 2005 +0000 @@ -468,8 +468,8 @@ s->time= seq; s->pb_time= s->pp_time - (s->last_non_b_time - s->time); if(s->pp_time <=s->pb_time || s->pp_time <= s->pp_time - s->pb_time || s->pp_time<=0){ - av_log(s->avctx, AV_LOG_DEBUG, "messed up order, seeking?, skiping current b frame\n"); - return FRAME_SKIPED; + av_log(s->avctx, AV_LOG_DEBUG, "messed up order, possible from seeking? skipping current b frame\n"); + return FRAME_SKIPPED; } } } diff -r bf158d23bbcc -r 511e3afc43e1 snow.c --- a/snow.c Sun Apr 24 11:13:49 2005 +0000 +++ b/snow.c Sun Apr 24 17:21:11 2005 +0000 @@ -3338,7 +3338,7 @@ int plane_index; if(avctx->strict_std_compliance >= 0){ - av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it wont be decodeable with future versions!!!\n" + av_log(avctx, AV_LOG_ERROR, "this codec is under development, files encoded with it may not be decodable with future versions!!!\n" "use vstrict=-1 / -strict -1 to use it anyway\n"); return -1; } diff -r bf158d23bbcc -r 511e3afc43e1 vc9.c --- a/vc9.c Sun Apr 24 11:13:49 2005 +0000 +++ b/vc9.c Sun Apr 24 17:21:11 2005 +0000 @@ -891,7 +891,7 @@ if (bp->data) av_freep(&bp->data); } -/** Decode rows by checking if they are skiped +/** Decode rows by checking if they are skipped * @param plane Buffer to store decoded bits * @param[in] width Width of this buffer * @param[in] height Height of this buffer @@ -910,7 +910,7 @@ } } -/** Decode columns by checking if they are skiped +/** Decode columns by checking if they are skipped * @param plane Buffer to store decoded bits * @param[in] width Width of this buffer * @param[in] height Height of this buffer @@ -1126,14 +1126,14 @@ if (v->profile == PROFILE_SIMPLE) { av_log(v->s.avctx, AV_LOG_ERROR, "Found a B frame while in Simple Profile!\n"); - return FRAME_SKIPED; + return FRAME_SKIPPED; } v->bfraction = vc9_bfraction_lut[get_vlc2(gb, vc9_bfraction_vlc.table, VC9_BFRACTION_VLC_BITS, 2)]; if (v->bfraction < -1) { av_log(v->s.avctx, AV_LOG_ERROR, "Invalid BFRaction\n"); - return FRAME_SKIPED; + return FRAME_SKIPPED; } else if (!v->bfraction) { @@ -1474,7 +1474,7 @@ case B_TYPE: status = decode_b_picture_primary_header(v); break; } - if (status == FRAME_SKIPED) + if (status == FRAME_SKIPPED) { av_log(v->s.avctx, AV_LOG_INFO, "Skipping frame...\n"); return status; @@ -1499,7 +1499,7 @@ case BI_TYPE: case I_TYPE: break; //Nothing needed as it's done in the epilog } - if (status < 0) return FRAME_SKIPED; + if (status < 0) return FRAME_SKIPPED; /* AC Syntax */ v->c_ac_table_index = decode012(gb); @@ -1540,7 +1540,7 @@ } type = get_prefix(gb, 0, 4); - if (type > 4 || type < 0) return FRAME_SKIPED; + if (type > 4 || type < 0) return FRAME_SKIPPED; v->s.pict_type = type_table[type]; av_log(v->s.avctx, AV_LOG_INFO, "AP Frame Type: %i\n", v->s.pict_type); @@ -1578,7 +1578,7 @@ case I_TYPE: if (decode_i_picture_primary_header(v) < 0) return -1; case P_TYPE: if (decode_p_picture_primary_header(v) < 0) return -1; case BI_TYPE: - case B_TYPE: if (decode_b_picture_primary_header(v) < 0) return FRAME_SKIPED; + case B_TYPE: if (decode_b_picture_primary_header(v) < 0) return FRAME_SKIPPED; default: return -1; } } @@ -1599,7 +1599,7 @@ case BI_TYPE: case I_TYPE: status = decode_i_picture_secondary_header(v); break; } - if (status<0) return FRAME_SKIPED; + if (status<0) return FRAME_SKIPPED; /* AC Syntax */ v->c_ac_table_index = decode012(gb); @@ -2367,7 +2367,7 @@ { VC9Context *v = avctx->priv_data; MpegEncContext *s = &v->s; - int ret = FRAME_SKIPED, len; + int ret = FRAME_SKIPPED, len; AVFrame *pict = data; uint8_t *tmp_buf; v->s.avctx = avctx; @@ -2470,7 +2470,7 @@ else #endif ret= standard_decode_picture_primary_header(v); - if (ret == FRAME_SKIPED) return buf_size; + if (ret == FRAME_SKIPPED) return buf_size; /* skip if the header was thrashed */ if (ret < 0){ av_log(s->avctx, AV_LOG_ERROR, "header damaged\n"); @@ -2518,7 +2518,7 @@ else #endif ret = standard_decode_picture_secondary_header(v); - if (ret<0) return FRAME_SKIPED; //FIXME Non fatal for now + if (ret<0) return FRAME_SKIPPED; //FIXME Non fatal for now //We consider the image coded in only one slice #if HAS_ADVANCED_PROFILE @@ -2530,15 +2530,15 @@ case P_TYPE: ret = decode_p_mbs(v); break; case B_TYPE: case BI_TYPE: ret = decode_b_mbs(v); break; - default: ret = FRAME_SKIPED; + default: ret = FRAME_SKIPPED; } - if (ret == FRAME_SKIPED) return buf_size; //We ignore for now failures + if (ret == FRAME_SKIPPED) return buf_size; //We ignore for now failures } else #endif { ret = standard_decode_mbs(v); - if (ret == FRAME_SKIPED) return buf_size; + if (ret == FRAME_SKIPPED) return buf_size; } ff_er_frame_end(s); diff -r bf158d23bbcc -r 511e3afc43e1 wmv2.c --- a/wmv2.c Sun Apr 24 11:13:49 2005 +0000 +++ b/wmv2.c Sun Apr 24 17:21:11 2005 +0000 @@ -474,7 +474,7 @@ // return wmv2_decode_j_picture(w); //FIXME if(w->j_type){ - av_log(s->avctx, AV_LOG_ERROR, "J-type picture isnt supported\n"); + av_log(s->avctx, AV_LOG_ERROR, "J-type picture is not supported\n"); return -1; } @@ -723,7 +723,7 @@ s->mv_type = MV_TYPE_16X16; s->mv[0][0][0] = 0; s->mv[0][0][1] = 0; - s->mb_skiped = 1; + s->mb_skipped = 1; w->hshift=0; return 0; } diff -r bf158d23bbcc -r 511e3afc43e1 xvmcvideo.c --- a/xvmcvideo.c Sun Apr 24 11:13:49 2005 +0000 +++ b/xvmcvideo.c Sun Apr 24 17:21:11 2005 +0000 @@ -148,7 +148,7 @@ } //MC doesn't skip blocks - s->mb_skiped = 0; + s->mb_skipped = 0; // do I need to export quant when I could not perform postprocessing?