/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "vis_proto.h"
#include "mlib_image.h"
#include "mlib_v_ImageLookUpFunc.h"
/***************************************************************/
/***************************************************************/
/***************************************************************/
{
vis_alignaddr((void *)0, 6);
if (xsize >= 4) {
sp += 4;
#pragma pipeloop(0)
}
}
num++;
if (num == 1) {
}
else if (num == 2) {
sp--;
}
else if (num == 3) {
sp--;
sp--;
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
size--;
}
if (size > 0) {
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
size -= 2;
}
if ((off & 1) != 0) {
size--;
sp++;
}
if (size > 0) {
}
}
}
/***************************************************************/
{
mlib_s32 j;
/* row loop */
for (j = 0; j < ysize; j++) {
if (off == 1) {
size--;
sp++;
}
else if (off == 2) {
size -= 2;
sp += 2;
}
else if (off == 3) {
size -= 3;
sp += 3;
}
if (size > 0) {
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 6);
if (xsize >= 4) {
sp += 4;
#pragma pipeloop(0)
}
}
num++;
if (num == 1) {
}
else if (num == 2) {
sp--;
}
else if (num == 3) {
sp--;
sp--;
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
size -= 3;
}
off -= i;
if (off == 1) {
size--;
sp++;
}
else if (off == 2) {
size -= 2;
sp += 2;
}
if (size > 0) {
}
}
}
/***************************************************************/