Searched refs:xDir (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dfmo.cpp133 int x, y, xDir, yDir; local
151 xDir = pps->slice_group_change_direction_flag - 1;
162 if (xDir == -1 && x == leftBound)
166 xDir = 0;
169 else if (xDir == 1 && x == rightBound)
173 xDir = 0;
180 xDir = 1 - 2 * pps->slice_group_change_direction_flag;
187 xDir = 2 * pps->slice_group_change_direction_flag - 1;
192 x = x + xDir;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_group_map.c305 i32 x, y, xDir, yDir, leftBound, topBound, rightBound, bottomBound; local
329 xDir = (i32)sliceGroupChangeDirectionFlag - 1;
340 if (xDir == -1 && x == leftBound)
344 xDir = 0;
347 else if (xDir == 1 && x == rightBound)
351 xDir = 0;
358 xDir = 1 - 2 * (i32)sliceGroupChangeDirectionFlag;
365 xDir = 2 * (i32)sliceGroupChangeDirectionFlag - 1;
370 x += xDir;

Completed in 235 milliseconds