Searched refs:xDir (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | fmo.cpp | 133 int x, y, xDir, yDir; in FmoGenerateType3MapUnitMap() local 151 xDir = pps->slice_group_change_direction_flag - 1; in FmoGenerateType3MapUnitMap() 162 if (xDir == -1 && x == leftBound) in FmoGenerateType3MapUnitMap() 166 xDir = 0; in FmoGenerateType3MapUnitMap() 169 else if (xDir == 1 && x == rightBound) in FmoGenerateType3MapUnitMap() 173 xDir = 0; in FmoGenerateType3MapUnitMap() 180 xDir = 1 - 2 * pps->slice_group_change_direction_flag; in FmoGenerateType3MapUnitMap() 187 xDir = 2 * pps->slice_group_change_direction_flag - 1; in FmoGenerateType3MapUnitMap() 192 x = x + xDir; in FmoGenerateType3MapUnitMap()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_slice_group_map.c | 305 i32 x, y, xDir, yDir, leftBound, topBound, rightBound, bottomBound; in DecodeBoxOutMap() local 329 xDir = (i32)sliceGroupChangeDirectionFlag - 1; in DecodeBoxOutMap() 340 if (xDir == -1 && x == leftBound) in DecodeBoxOutMap() 344 xDir = 0; in DecodeBoxOutMap() 347 else if (xDir == 1 && x == rightBound) in DecodeBoxOutMap() 351 xDir = 0; in DecodeBoxOutMap() 358 xDir = 1 - 2 * (i32)sliceGroupChangeDirectionFlag; in DecodeBoxOutMap() 365 xDir = 2 * (i32)sliceGroupChangeDirectionFlag - 1; in DecodeBoxOutMap() 370 x += xDir; in DecodeBoxOutMap()
|