Mercurial > libavcodec.hg
comparison dsputil.c @ 6001:f4859c13426b libavcodec
add ff_ prefix to all simple_idct symbols
author | aurel |
---|---|
date | Sat, 08 Dec 2007 21:21:11 +0000 |
parents | 290812aa9bd5 |
children | 1e3b5597505a |
comparison
equal
deleted
inserted
replaced
6000:791240825ac4 | 6001:f4859c13426b |
---|---|
3495 | 3495 |
3496 memcpy(bak, temp, 64*sizeof(DCTELEM)); | 3496 memcpy(bak, temp, 64*sizeof(DCTELEM)); |
3497 | 3497 |
3498 s->block_last_index[0/*FIXME*/]= s->fast_dct_quantize(s, temp, 0/*FIXME*/, s->qscale, &i); | 3498 s->block_last_index[0/*FIXME*/]= s->fast_dct_quantize(s, temp, 0/*FIXME*/, s->qscale, &i); |
3499 s->dct_unquantize_inter(s, temp, 0, s->qscale); | 3499 s->dct_unquantize_inter(s, temp, 0, s->qscale); |
3500 simple_idct(temp); //FIXME | 3500 ff_simple_idct(temp); //FIXME |
3501 | 3501 |
3502 for(i=0; i<64; i++) | 3502 for(i=0; i<64; i++) |
3503 sum+= (temp[i]-bak[i])*(temp[i]-bak[i]); | 3503 sum+= (temp[i]-bak[i])*(temp[i]-bak[i]); |
3504 | 3504 |
3505 return sum; | 3505 return sum; |
3985 c->idct_put= ff_wmv2_idct_put_c; | 3985 c->idct_put= ff_wmv2_idct_put_c; |
3986 c->idct_add= ff_wmv2_idct_add_c; | 3986 c->idct_add= ff_wmv2_idct_add_c; |
3987 c->idct = ff_wmv2_idct_c; | 3987 c->idct = ff_wmv2_idct_c; |
3988 c->idct_permutation_type= FF_NO_IDCT_PERM; | 3988 c->idct_permutation_type= FF_NO_IDCT_PERM; |
3989 }else{ //accurate/default | 3989 }else{ //accurate/default |
3990 c->idct_put= simple_idct_put; | 3990 c->idct_put= ff_simple_idct_put; |
3991 c->idct_add= simple_idct_add; | 3991 c->idct_add= ff_simple_idct_add; |
3992 c->idct = simple_idct; | 3992 c->idct = ff_simple_idct; |
3993 c->idct_permutation_type= FF_NO_IDCT_PERM; | 3993 c->idct_permutation_type= FF_NO_IDCT_PERM; |
3994 } | 3994 } |
3995 } | 3995 } |
3996 | 3996 |
3997 if (ENABLE_H264_DECODER) { | 3997 if (ENABLE_H264_DECODER) { |