Home
last modified time | relevance | path

Searched refs:max_diff (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dderinging_chroma.cpp37 int max_diff; in Deringing_Chroma() local
56 max_diff = (QP_store[h_blk>>3] >> 2) + 4; in Deringing_Chroma()
103 if (PV_ABS(*ptr - sum) > max_diff) in Deringing_Chroma()
106 sum = *ptr + max_diff; in Deringing_Chroma()
108 sum = *ptr - max_diff; in Deringing_Chroma()
124 max_diff = (QP_store[((((int32)v_blk*width)>>3))>>3] >> 2) + 4; in Deringing_Chroma()
169 if (PV_ABS(*ptr - sum) > max_diff) in Deringing_Chroma()
172 sum = *ptr + max_diff; in Deringing_Chroma()
174 sum = *ptr - max_diff; in Deringing_Chroma()
191 max_diff = (QP_store[((((int32)v_blk*width)>>3)+h_blk)>>3] >> 2) + 4; in Deringing_Chroma()
[all …]
Dadaptive_smooth_no_mmx.cpp220 int max_diff /* i */ in AdaptiveSmooth_NoMMX() argument
329 if ((int)(*Rec_Y_ptr - sum) > max_diff) in AdaptiveSmooth_NoMMX()
331 sum = *Rec_Y_ptr - max_diff; in AdaptiveSmooth_NoMMX()
336 else if ((int)(*Rec_Y_ptr - sum) < -max_diff) in AdaptiveSmooth_NoMMX()
338 sum = *Rec_Y_ptr + max_diff; in AdaptiveSmooth_NoMMX()
400 if ((int)(*Rec_Y_ptr - sum) > max_diff) in AdaptiveSmooth_NoMMX()
402 sum = *Rec_Y_ptr - max_diff; in AdaptiveSmooth_NoMMX()
404 else if ((int)(*Rec_Y_ptr - sum) < -max_diff) in AdaptiveSmooth_NoMMX()
406 sum = *Rec_Y_ptr + max_diff; in AdaptiveSmooth_NoMMX()
Dderinging_luma.cpp37 int max_diff; in Deringing_Luma() local
52 max_diff = (QP_store[(MB_H)>>4] >> 2) + 4; in Deringing_Luma()
97 thr, width, max_diff); in Deringing_Luma()
109 max_diff = (QP_store[((((int32)MB_V*width)>>4))>>4] >> 2) + 4; in Deringing_Luma()
151 thr, width, max_diff); in Deringing_Luma()
160 max_diff = (QP_store[((((int32)MB_V*width)>>4)+MB_H)>>4] >> 2) + 4; in Deringing_Luma()
213 thr, width, max_diff); in Deringing_Luma()
216 width, thr, max_diff); in Deringing_Luma()
Dchvr_filter.cpp45 int max_diff, thres, v0, h0, min_blk, max_blk; in CombinedHorzVertRingFilter() local
442 max_diff = (QP >> 2) + 4; in CombinedHorzVertRingFilter()
458 DeringAdaptiveSmoothMMX(ptr, width, thres, max_diff); in CombinedHorzVertRingFilter()
467 … AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff); in CombinedHorzVertRingFilter()
526 max_diff = (QP >> 2) + 4; in CombinedHorzVertRingFilter()
546 … AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff); in CombinedHorzVertRingFilter()
Dmp4dec_lib.h290 int thr, int width, int max_diff);