/*
* 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, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
num++;
sp--;
num--;
}
sp--;
sp--;
num -= 2;
}
sp--;
sp--;
sp--;
num -= 3;
}
if (num != 0) {
sp--;
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp -= 3;
num++;
sp--;
num--;
}
sp--;
sp--;
num -= 2;
}
sp--;
sp--;
sp--;
num -= 3;
}
if (num != 0) {
sp--;
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp -= 2;
num++;
sp--;
num--;
}
sp--;
sp--;
num -= 2;
}
sp--;
sp--;
sp--;
num -= 3;
}
if (num != 0) {
sp--;
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp--;
num++;
sp--;
num--;
}
sp--;
sp--;
num -= 2;
}
sp--;
sp--;
sp--;
num -= 3;
}
if (num != 0) {
sp--;
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
for (i = 0; i < off; i++) {
size--;
}
if (size > 0) {
if (off == 0) {
tab);
}
else if (off == 1) {
tab);
}
else if (off == 2) {
tab);
}
else {
tab);
}
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
size -= 2;
}
if ((off & 1) != 0) {
size--;
}
if (size > 0) {
if (off == 0) {
tab1);
}
else if (off == 1) {
tab1);
}
else if (off == 2) {
tab1);
}
else {
tab1);
}
}
}
}
/***************************************************************/
{
mlib_s32 j;
/* row loop */
for (j = 0; j < ysize; j++) {
if (off >= 4) {
size -= 4;
off -= 4;
}
if (off == 1) {
size--;
}
else if (off == 2) {
size -= 2;
}
else if (off == 3) {
size -= 3;
}
if (size > 0) {
if (off == 0) {
tab3);
}
else if (off == 1) {
tab3);
}
else if (off == 2) {
tab3);
}
else {
tab3);
}
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
num++;
if (i == 2) {
sp--;
sp--;
num -= 2;
}
else if (i == 1) {
sp--;
num--;
}
#pragma pipeloop(0)
for (i = 0; i < num; i += 3) {
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp -= 3;
num++;
if (i == 2) {
sp--;
sp--;
num -= 2;
}
else if (i == 1) {
sp--;
num--;
}
#pragma pipeloop(0)
for (i = 0; i < num; i += 3) {
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp -= 2;
num++;
if (i == 2) {
sp--;
sp--;
num -= 2;
}
else if (i == 1) {
sp--;
num--;
}
#pragma pipeloop(0)
for (i = 0; i < num; i += 3) {
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
vis_alignaddr((void *)0, 7);
if (xsize >= 8) {
sa += 2;
#pragma pipeloop(0)
}
}
sp--;
num++;
if (i == 2) {
sp--;
sp--;
num -= 2;
}
else if (i == 1) {
sp--;
num--;
}
#pragma pipeloop(0)
for (i = 0; i < num; i += 3) {
sp--;
sp--;
sp--;
}
}
}
/***************************************************************/
{
mlib_s32 j, i;
/* row loop */
for (j = 0; j < ysize; j++) {
size -= 3;
}
off -= i;
if (off == 1) {
size--;
}
else if (off == 2) {
size -= 2;
}
if (size > 0) {
if (off == 0) {
}
else if (off == 1) {
}
else if (off == 2) {
}
else {
}
}
}
}
/***************************************************************/