Module Expr Str Import alias ImportFrom alias ImportFrom alias alias Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BinOpBitOr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad Assign NameStore BinOpBitOr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore BinOpLShift BinOpBitAnd BinOpRShift NameLoad Num Num Num Assign NameStore BinOpLShift BinOpBitAnd BinOpRShift NameLoad Num Num Num Assign NameStore BinOpLShift BinOpBitAnd NameLoad Num Num Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpFloorDiv BinOpAdd BinOpMult Num NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpFloorDiv BinOpAdd NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpFloorDiv BinOpAdd BinOpMult Num NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpMult BinOpMult Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad Num NameLoad Num body For NameStore Call NameLoad Num NameLoad Num body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpBitAnd NameLoad Num Assign NameStore BinOpRShift NameLoad Num If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body If CompareGt NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body If CompareGt NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore NameStore TupleLoad Num Num Num Assign NameStore BinOpMult Num BinOpAdd BinOpMult BinOpAdd NameLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad BinOpAdd NameLoad Num Call NameLoad ListLoad NameLoad NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body If CompareLtE NameLoad Num body Assign NameStore BinOpBitAnd BinOpRShift NameLoad NameLoad Num orelse If CompareEq NameLoad Num body Assign NameStore BinOpBitOr BinOpRShift NameLoad Num BinOpBitAnd BinOpLShift NameLoad Num Num orelse Assign NameStore BinOpBitAnd BinOpRShift NameLoad BinOpSub NameLoad Num Num If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareEq NameLoad Num body Assign NameStore NameLoad orelse If CompareGt NameLoad NameLoad body Assign NameStore BinOpFloorDiv BinOpAdd BinOpMult BinOpSub Num NameLoad NameLoad BinOpMult BinOpSub NameLoad Num NameLoad Num orelse If CompareEq NameLoad Num body Assign NameStore Num orelse If CompareEq NameLoad Num body Assign NameStore Num orelse Assign NameStore BinOpFloorDiv BinOpAdd BinOpMult BinOpSub Num NameLoad NameLoad BinOpMult BinOpSub NameLoad Num NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpMult BinOpMult Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad Num NameLoad Num body For NameStore Call NameLoad Num NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpMult Num BinOpAdd BinOpMult Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpBitAnd BinOpRShift NameLoad BinOpMult Num BinOpAdd BinOpMult Num NameLoad NameLoad Num If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpMult Num BinOpAdd BinOpMult BinOpAdd NameLoad NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad BinOpAdd NameLoad Num Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list
N/A N/A 
A Pillow loader for some .dds files
Jerome Leclanche <jerome@leclan.ch>

Documentation:
  http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt

The contents of this file are hereby released in the public domain, through
the terms of the CC0 license:
  https://creativecommons.org/publicdomain/zero/1.0/
 N/A struct io BytesIO PIL Image ImageFile N/A DDS_MAGIC 542327876 N/A DDSD_CAPS 1 N/A DDSD_HEIGHT 2 N/A DDSD_WIDTH 4 N/A DDSD_PITCH 8 N/A DDSD_PIXELFORMAT 4096 N/A DDSD_MIPMAPCOUNT 131072 N/A DDSD_LINEARSIZE 524288 N/A DDSD_DEPTH 8388608 N/A DDSCAPS_COMPLEX 8 N/A DDSCAPS_TEXTURE 4096 N/A DDSCAPS_MIPMAP 4194304 N/A DDSCAPS2_CUBEMAP 512 N/A DDSCAPS2_CUBEMAP_POSITIVEX 1024 N/A DDSCAPS2_CUBEMAP_NEGATIVEX 2048 N/A DDSCAPS2_CUBEMAP_POSITIVEY 4096 N/A DDSCAPS2_CUBEMAP_NEGATIVEY 8192 N/A DDSCAPS2_CUBEMAP_POSITIVEZ 16384 N/A DDSCAPS2_CUBEMAP_NEGATIVEZ 32768 N/A DDPF_ALPHAPIXELS 1 N/A DDPF_ALPHA 2 N/A DDPF_FOURCC 4 N/A DDPF_PALETTEINDEXED8 32 N/A DDPF_RGB 64 N/A DDPF_LUMINANCE 131072 N/A DDS_FOURCC DDPF_FOURCC N/A DDS_RGB DDPF_RGB N/A DDS_RGBA N/A DDPF_RGB DDPF_ALPHAPIXELS N/A DDS_LUMINANCE DDPF_LUMINANCE N/A DDS_LUMINANCEA N/A DDPF_LUMINANCE DDPF_ALPHAPIXELS N/A DDS_ALPHA DDPF_ALPHA N/A DDS_PAL8 DDPF_PALETTEINDEXED8 N/A DDS_HEADER_FLAGS_TEXTURE N/A N/A N/A DDSD_CAPS DDSD_HEIGHT DDSD_WIDTH DDSD_PIXELFORMAT N/A DDS_HEADER_FLAGS_MIPMAP DDSD_MIPMAPCOUNT N/A DDS_HEADER_FLAGS_VOLUME DDSD_DEPTH N/A DDS_HEADER_FLAGS_PITCH DDSD_PITCH N/A DDS_HEADER_FLAGS_LINEARSIZE DDSD_LINEARSIZE N/A DDS_HEIGHT DDSD_HEIGHT N/A DDS_WIDTH DDSD_WIDTH N/A DDS_SURFACE_FLAGS_TEXTURE DDSCAPS_TEXTURE N/A DDS_SURFACE_FLAGS_MIPMAP N/A DDSCAPS_COMPLEX DDSCAPS_MIPMAP N/A DDS_SURFACE_FLAGS_CUBEMAP DDSCAPS_COMPLEX N/A DDS_CUBEMAP_POSITIVEX N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_POSITIVEX N/A DDS_CUBEMAP_NEGATIVEX N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_NEGATIVEX N/A DDS_CUBEMAP_POSITIVEY N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_POSITIVEY N/A DDS_CUBEMAP_NEGATIVEY N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_NEGATIVEY N/A DDS_CUBEMAP_POSITIVEZ N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_POSITIVEZ N/A DDS_CUBEMAP_NEGATIVEZ N/A DDSCAPS2_CUBEMAP DDSCAPS2_CUBEMAP_NEGATIVEZ decode565 N/A N/A bits N/A N/A N/A a N/A N/A N/A bits 11 31 3 N/A b N/A N/A N/A bits 5 63 2 N/A c N/A N/A bits 31 3 N/A N/A a b c N/A _c2a N/A N/A a b N/A N/A N/A N/A N/A N/A 2 a b 3 N/A _c2b N/A N/A a b N/A N/A N/A N/A N/A a b 2 N/A _c3 N/A N/A a b N/A N/A N/A N/A N/A N/A 2 b a 3 N/A dxt1 N/A N/A data width height N/A N/A N/A ret N/A bytearray N/A N/A 4 width height N/A data N/A BytesIO data N/A y N/A range 0 height 4 N/A N/A x N/A range 0 width 4 N/A N/A N/A color0 color1 bits N/A N/A struct unpack <HHI N/A N/A data read 8 N/A N/A r0 g0 b0 N/A decode565 color0 N/A N/A r1 g1 b1 N/A decode565 color1 N/A j N/A range 4 N/A N/A i N/A range 4 N/A N/A control N/A bits 3 N/A bits N/A bits 2 N/A N/A control 0 N/A N/A N/A r g b N/A r0 g0 b0 N/A N/A N/A control 1 N/A N/A N/A r g b N/A r1 g1 b1 N/A N/A N/A control 2 N/A N/A N/A color0 color1 N/A N/A N/A r g b N/A N/A _c2a r0 r1 N/A _c2a g0 g1 N/A _c2a b0 b1 N/A N/A N/A r g b N/A N/A _c2b r0 r1 N/A _c2b g0 g1 N/A _c2b b0 b1 N/A N/A N/A control 3 N/A N/A N/A color0 color1 N/A N/A N/A r g b N/A N/A _c3 r0 r1 N/A _c3 g0 g1 N/A _c3 b0 b1 N/A N/A N/A r g b N/A 0 0 0 N/A idx N/A 4 N/A N/A N/A y j width N/A x i N/A N/A ret N/A idx N/A idx 4 N/A bytes N/A r g b 255 N/A ret N/A _dxtc_alpha N/A N/A a0 a1 ac0 ac1 ai N/A N/A N/A N/A ai 12 N/A N/A ac N/A N/A ac0 ai 7 N/A N/A N/A ai 15 N/A N/A ac N/A N/A ac0 15 N/A N/A ac1 1 6 N/A N/A ac N/A N/A ac1 N/A ai 16 7 N/A N/A ac 0 N/A N/A alpha a0 N/A N/A N/A ac 1 N/A N/A alpha a1 N/A N/A N/A a0 a1 N/A N/A alpha N/A N/A N/A N/A 8 ac a0 N/A N/A ac 1 a1 7 N/A N/A N/A ac 6 N/A N/A alpha 0 N/A N/A N/A ac 7 N/A N/A alpha 255 N/A N/A alpha N/A N/A N/A N/A 6 ac a0 N/A N/A ac 1 a1 5 N/A alpha N/A dxt5 N/A N/A data width height N/A N/A N/A ret N/A bytearray N/A N/A 4 width height N/A data N/A BytesIO data N/A y N/A range 0 height 4 N/A N/A x N/A range 0 width 4 N/A N/A N/A a0 a1 ac0 ac1 c0 c1 code N/A N/A struct unpack <2BHI2HI N/A N/A data read 16 N/A N/A r0 g0 b0 N/A decode565 c0 N/A N/A r1 g1 b1 N/A decode565 c1 N/A j N/A range 4 N/A N/A i N/A range 4 N/A N/A ai N/A 3 N/A N/A 4 j i N/A alpha N/A _dxtc_alpha a0 a1 ac0 ac1 ai N/A cc N/A N/A code N/A 2 N/A N/A 4 j i 3 N/A N/A cc 0 N/A N/A N/A r g b N/A r0 g0 b0 N/A N/A N/A cc 1 N/A N/A N/A r g b N/A r1 g1 b1 N/A N/A N/A cc 2 N/A N/A N/A r g b N/A N/A _c2a r0 r1 N/A _c2a g0 g1 N/A _c2a b0 b1 N/A N/A N/A cc 3 N/A N/A N/A r g b N/A N/A _c3 r0 r1 N/A _c3 g0 g1 N/A _c3 b0 b1 N/A idx N/A 4 N/A N/A N/A y j width N/A x i N/A N/A ret N/A idx N/A idx 4 N/A bytes N/A r g b alpha N/A ret N/A