; Copyright 1996 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
        SUBT    SpriteExtend - Exported SWI definitions

OldOpt  SETA   {OPT}
        OPT    OptNoList+OptNoP1List

; ***********************************
; ***    C h a n g e   L i s t    ***
; ***********************************

; Date       Name  Description
; ----       ----  -----------
; 29-Oct-94  AMcC  Created - extracted info from Hdr:Sprite

;definitions for all the JPEG SWIs

SWIClass        SETS    SpriteExtendJPEGSWI_Name

        ^       SpriteExtendJPEGSWI_Base

        AddSWI  Info      
        AddSWI  FileInfo
        AddSWI  PlotScaled                        
        AddSWI  PlotFileScaled                        
        AddSWI  PlotTransformed                        
        AddSWI  PlotFileTransformed                        
        AddSWI  PDriverIntercept      

JPEGFlag_Return_Dimensions                 * 1
JPEGFlag_Return_SOF_Type                   * 2
                                           
JPEGFlag_Info_Greyscale                    * 1
JPEGFlag_Info_NoPlotTransformed            * 2
JPEGFlag_Info_DensityRatio                 * 4
JPEGFlag_Info_SOF_Mask                     * &F
JPEGFlag_Info_SOF_Shift                    * 3
                                           
JPEGFlag_Scaled_Dither_Enable              * 1
JPEGFlag_Scaled_Error_Diffused_Dither      * 2
JPEGFlag_Scaled_Colourmap                  * 8
JPEGFlag_Scaled_Translucency               * 255 :SHL: 4
                                           
JPEGFlag_Transformed_Coords_In_R2          * 1
JPEGFlag_Transformed_Dither_Enable         * 2
JPEGFlag_Transformed_Error_Diffused_Dither * 4
JPEGFlag_Transformed_Colourmap             * 16
JPEGFlag_Transformed_Translucency          * 255 :SHL: 5

JPEGFlag_Intercept_Pass_On_Plots           * 1
JPEGFlag_Intercept_Use_Translation_Table   * 2

        OPT     OldOpt
        END
