vp9_ethread.h 802 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef VP9_ENCODER_VP9_ETHREAD_H_
  11. #define VP9_ENCODER_VP9_ETHREAD_H_
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct VP9_COMP;
  16. struct ThreadData;
  17. typedef struct EncWorkerData {
  18. struct VP9_COMP *cpi;
  19. struct ThreadData *td;
  20. int start;
  21. } EncWorkerData;
  22. void vp9_encode_tiles_mt(struct VP9_COMP *cpi);
  23. #ifdef __cplusplus
  24. } // extern "C"
  25. #endif
  26. #endif // VP9_ENCODER_VP9_ETHREAD_H_