2015-08-06 05:00:31 +03:00
|
|
|
/*
|
2016-09-02 00:32:49 +03:00
|
|
|
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
|
2015-08-06 05:00:31 +03:00
|
|
|
*
|
2016-09-02 00:32:49 +03:00
|
|
|
* This source code is subject to the terms of the BSD 2 Clause License and
|
|
|
|
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
|
|
|
* was not distributed with this source code in the LICENSE file, you can
|
|
|
|
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
|
|
|
* Media Patent License 1.0 was not distributed with this source code in the
|
|
|
|
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
2015-08-06 05:00:31 +03:00
|
|
|
*/
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
#ifndef AV1_ENCODER_ETHREAD_H_
|
|
|
|
#define AV1_ENCODER_ETHREAD_H_
|
2015-08-06 05:00:31 +03:00
|
|
|
|
2015-09-10 07:05:42 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
struct AV1_COMP;
|
2015-08-06 05:00:31 +03:00
|
|
|
struct ThreadData;
|
|
|
|
|
|
|
|
typedef struct EncWorkerData {
|
2016-08-31 00:01:10 +03:00
|
|
|
struct AV1_COMP *cpi;
|
2015-08-06 05:00:31 +03:00
|
|
|
struct ThreadData *td;
|
|
|
|
int start;
|
|
|
|
} EncWorkerData;
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
void av1_encode_tiles_mt(struct AV1_COMP *cpi);
|
2015-08-06 05:00:31 +03:00
|
|
|
|
2015-09-10 07:05:42 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
#endif // AV1_ENCODER_ETHREAD_H_
|