OLD | NEW |
1 // Copyright 2011 Google Inc. | 1 // Copyright 2011 Google Inc. All Rights Reserved. |
2 // | 2 // |
3 // This code is licensed under the same terms as WebM: | 3 // This code is licensed under the same terms as WebM: |
4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // Software License Agreement: http://www.webmproject.org/license/software/ |
5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ |
6 // ----------------------------------------------------------------------------- | 6 // ----------------------------------------------------------------------------- |
7 // | 7 // |
8 // Multi-threaded worker | 8 // Multi-threaded worker |
9 // | 9 // |
10 // Author: skal@google.com (Pascal Massimino) | 10 // Author: Skal (pascal.massimino@gmail.com) |
11 | 11 |
12 #ifndef WEBP_UTILS_THREAD_H_ | 12 #ifndef WEBP_UTILS_THREAD_H_ |
13 #define WEBP_UTILS_THREAD_H_ | 13 #define WEBP_UTILS_THREAD_H_ |
14 | 14 |
15 #if defined(__cplusplus) || defined(c_plusplus) | 15 #if defined(__cplusplus) || defined(c_plusplus) |
16 extern "C" { | 16 extern "C" { |
17 #endif | 17 #endif |
18 | 18 |
19 #if WEBP_USE_THREAD | 19 #if WEBP_USE_THREAD |
20 | 20 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // must call WebPWorkerReset() again. | 77 // must call WebPWorkerReset() again. |
78 void WebPWorkerEnd(WebPWorker* const worker); | 78 void WebPWorkerEnd(WebPWorker* const worker); |
79 | 79 |
80 //------------------------------------------------------------------------------ | 80 //------------------------------------------------------------------------------ |
81 | 81 |
82 #if defined(__cplusplus) || defined(c_plusplus) | 82 #if defined(__cplusplus) || defined(c_plusplus) |
83 } // extern "C" | 83 } // extern "C" |
84 #endif | 84 #endif |
85 | 85 |
86 #endif /* WEBP_UTILS_THREAD_H_ */ | 86 #endif /* WEBP_UTILS_THREAD_H_ */ |
OLD | NEW |