Mercurial > libavcodec.hg
comparison libpostproc/postprocess.c @ 2039:f25e485a7850 libavcodec
mmx optimized version of the per line/accurate deblock filter
vertical default mmx deblock filter fix
| author | michael |
|---|---|
| date | Thu, 27 May 2004 21:42:00 +0000 |
| parents | 02b59a3c62cd |
| children | 5de466b3360e |
comparison
equal
deleted
inserted
replaced
| 2038:02b59a3c62cd | 2039:f25e485a7850 |
|---|---|
| 31 doVertDefFilter Ec Ec e e Ec | 31 doVertDefFilter Ec Ec e e Ec |
| 32 isHorizDC Ec Ec | 32 isHorizDC Ec Ec |
| 33 isHorizMinMaxOk a E | 33 isHorizMinMaxOk a E |
| 34 doHorizLowPass E e e | 34 doHorizLowPass E e e |
| 35 doHorizDefFilter Ec Ec e e | 35 doHorizDefFilter Ec Ec e e |
| 36 do_a_deblock Ec E Ec E | |
| 36 deRing E e e* Ecp | 37 deRing E e e* Ecp |
| 37 Vertical RKAlgo1 E a a | 38 Vertical RKAlgo1 E a a |
| 38 Horizontal RKAlgo1 a a | 39 Horizontal RKAlgo1 a a |
| 39 Vertical X1# a E E | 40 Vertical X1# a E E |
| 40 Horizontal X1# a E E | 41 Horizontal X1# a E E |
| 474 } | 475 } |
| 475 | 476 |
| 476 /** | 477 /** |
| 477 * accurate deblock filter | 478 * accurate deblock filter |
| 478 */ | 479 */ |
| 479 static always_inline void do_a_deblock(uint8_t *src, int step, int stride, PPContext *c){ | 480 static always_inline void do_a_deblock_C(uint8_t *src, int step, int stride, PPContext *c){ |
| 480 int y; | 481 int y; |
| 481 const int QP= c->QP; | 482 const int QP= c->QP; |
| 482 const int dcOffset= ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1; | 483 const int dcOffset= ((c->nonBQP*c->ppMode.baseDcDiff)>>8) + 1; |
| 483 const int dcThreshold= dcOffset*2 + 1; | 484 const int dcThreshold= dcOffset*2 + 1; |
| 484 //START_TIMER | 485 //START_TIMER |
