1 /*
2 Copyright (c) 2003-2010 Sony Pictures Imageworks Inc., et al.
3 All Rights Reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are
7 met:
8 * Redistributions of source code must retain the above copyright
9   notice, this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright
11   notice, this list of conditions and the following disclaimer in the
12   documentation and/or other materials provided with the distribution.
13 * Neither the name of Sony Pictures Imageworks nor the names of its
14   contributors may be used to endorse or promote products derived from
15   this software without specific prior written permission.
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28 
29 package org.OpenColorIO;
30 import org.OpenColorIO.*;
31 
32 public class Baker extends LoadLibrary
33 {
Baker()34     public Baker() { super(); }
Baker(long impl)35     protected Baker(long impl) { super(impl); }
dispose()36     public native void dispose();
finalize()37     protected void finalize() { dispose(); }
Create()38     public native Baker Create();
createEditableCopy()39     public native Baker createEditableCopy();
setConfig(Config config)40     public native void setConfig(Config config);
getConfig()41     public native Config getConfig();
setFormat(String formatName)42     public native void setFormat(String formatName);
getFormat()43     public native String getFormat();
setType(String type)44     public native void setType(String type);
getType()45     public native String getType();
setMetadata(String metadata)46     public native void setMetadata(String metadata);
getMetadata()47     public native String getMetadata();
setInputSpace(String inputSpace)48     public native void setInputSpace(String inputSpace);
getInputSpace()49     public native String getInputSpace();
setShaperSpace(String shaperSpace)50     public native void setShaperSpace(String shaperSpace);
getShaperSpace()51     public native String getShaperSpace();
setLooks(String looks)52     public native void setLooks(String looks);
getLooks()53     public native String getLooks();
setTargetSpace(String targetSpace)54     public native void setTargetSpace(String targetSpace);
getTargetSpace()55     public native String getTargetSpace();
setShaperSize(int shapersize)56     public native void setShaperSize(int shapersize);
getShaperSize()57     public native int getShaperSize();
setCubeSize(int cubesize)58     public native void setCubeSize(int cubesize);
getCubeSize()59     public native int getCubeSize();
bake()60     public native String bake();
getNumFormats()61     public native int getNumFormats();
getFormatNameByIndex(int index)62     public native String getFormatNameByIndex(int index);
getFormatExtensionByIndex(int index)63     public native String getFormatExtensionByIndex(int index);
64 }
65