1c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung/* 2c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * Copyright (C) 2017 The Android Open Source Project 3c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * 4c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * Licensed under the Apache License, Version 2.0 (the "License"); 5c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * you may not use this file except in compliance with the License. 6c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * You may obtain a copy of the License at 7c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * 8c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * http://www.apache.org/licenses/LICENSE-2.0 9c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * 10c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * Unless required by applicable law or agreed to in writing, software 11c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * distributed under the License is distributed on an "AS IS" BASIS, 12c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * See the License for the specific language governing permissions and 14c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung * limitations under the License. 15c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung */ 16c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung 17c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung#pragma version(1) 18c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung 19c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung#pragma rs java_package_name(com.android.rs.rsov.test) 20c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung 21c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sungrs_allocation g; 22c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung 23c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sungint32_t RS_KERNEL getDim(int32_t dummy) { 24c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung return rsAllocationGetDimX(g); 25c2f647a6c790cb1f4c86e50506c53cd912e725f6I-Jui (Ray) Sung} 26