| 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 |
| 12 #ifdef HAVE_CONFIG_H |
| 13 #include "config.h" |
| 14 #endif |
| 11 | 15 |
| 12 #include <assert.h> | 16 #include <assert.h> |
| 13 #include <string.h> // for memset() | 17 #include <string.h> // for memset() |
| 14 #include "./thread.h" | 18 #include "./thread.h" |
| 15 | 19 |
| 16 #if defined(__cplusplus) || defined(c_plusplus) | 20 #if defined(__cplusplus) || defined(c_plusplus) |
| 17 extern "C" { | 21 extern "C" { |
| 18 #endif | 22 #endif |
| 19 | 23 |
| 20 #ifdef WEBP_USE_THREAD | 24 #ifdef WEBP_USE_THREAD |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 #endif | 238 #endif |
| 235 } | 239 } |
| 236 assert(worker->status_ == NOT_OK); | 240 assert(worker->status_ == NOT_OK); |
| 237 } | 241 } |
| 238 | 242 |
| 239 //------------------------------------------------------------------------------ | 243 //------------------------------------------------------------------------------ |
| 240 | 244 |
| 241 #if defined(__cplusplus) || defined(c_plusplus) | 245 #if defined(__cplusplus) || defined(c_plusplus) |
| 242 } // extern "C" | 246 } // extern "C" |
| 243 #endif | 247 #endif |
| OLD | NEW |