OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // | 91 // |
92 // Implementations may elect to preserve more frames than the one requested | 92 // Implementations may elect to preserve more frames than the one requested |
93 // here if doing so is likely to save CPU time in the future, but will pay | 93 // here if doing so is likely to save CPU time in the future, but will pay |
94 // an increased memory cost to do so. | 94 // an increased memory cost to do so. |
95 // | 95 // |
96 // Returns the number of bytes of frame data actually cleared. | 96 // Returns the number of bytes of frame data actually cleared. |
97 size_t clearCacheExceptFrame(size_t); | 97 size_t clearCacheExceptFrame(size_t); |
98 | 98 |
99 bool initialized() const; | 99 bool initialized() const; |
100 | 100 |
101 void setData(SharedBuffer* data, bool allDataReceived); | 101 void setData(SharedBuffer& data, bool allDataReceived); |
102 String filenameExtension() const; | 102 String filenameExtension() const; |
103 | 103 |
104 bool isSizeAvailable(); | 104 bool isSizeAvailable(); |
105 IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) con
st; | 105 IntSize size(RespectImageOrientationEnum = DoNotRespectImageOrientation) con
st; |
106 IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectI
mageOrientation) const; | 106 IntSize frameSizeAtIndex(size_t, RespectImageOrientationEnum = DoNotRespectI
mageOrientation) const; |
107 | 107 |
108 bool getHotSpot(IntPoint&) const; | 108 bool getHotSpot(IntPoint&) const; |
109 | 109 |
110 int repetitionCount(); | 110 int repetitionCount(); |
111 | 111 |
(...skipping 13 matching lines...) Expand all Loading... |
125 private: | 125 private: |
126 OwnPtr<DeferredImageDecoder> m_decoder; | 126 OwnPtr<DeferredImageDecoder> m_decoder; |
127 | 127 |
128 AlphaOption m_alphaOption; | 128 AlphaOption m_alphaOption; |
129 GammaAndColorProfileOption m_gammaAndColorProfileOption; | 129 GammaAndColorProfileOption m_gammaAndColorProfileOption; |
130 }; | 130 }; |
131 | 131 |
132 } | 132 } |
133 | 133 |
134 #endif | 134 #endif |
OLD | NEW |