OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 The Android Open Source Project |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 #ifndef SkPackBits_DEFINED | 9 #ifndef SkPackBits_DEFINED |
11 #define SkPackBits_DEFINED | 10 #define SkPackBits_DEFINED |
(...skipping 25 matching lines...) Expand all Loading... |
37 @param srcSize Number of bytes of src to unpack | 36 @param srcSize Number of bytes of src to unpack |
38 @param dst Buffer (allocated by caller) to expand the src[] into. | 37 @param dst Buffer (allocated by caller) to expand the src[] into. |
39 @param dstSize Number of bytes in the output buffer. | 38 @param dstSize Number of bytes in the output buffer. |
40 @return the number of bytes written into dst. | 39 @return the number of bytes written into dst. |
41 */ | 40 */ |
42 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[], | 41 static int Unpack8(const uint8_t src[], size_t srcSize, uint8_t dst[], |
43 size_t dstSize); | 42 size_t dstSize); |
44 }; | 43 }; |
45 | 44 |
46 #endif | 45 #endif |
OLD | NEW |