#include <stddef.h>
#include "onyx_int.h"
#include "vpx_util/vpx_pthread.h"
#include "vp8/common/threading.h"
#include "vp8/common/common.h"
#include "vp8/common/extend.h"
#include "bitstream.h"
#include "encodeframe.h"
#include "ethreading.h"
#if CONFIG_MULTITHREAD
extern void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x,
int ok_to_skip);
static THREADFN thread_loopfilter(void *p_data) { … }
static THREADFN thread_encoding_proc(void *p_data) { … }
static void setup_mbby_copy(MACROBLOCK *mbdst, MACROBLOCK *mbsrc) { … }
void vp8cx_init_mbrthread_data(VP8_COMP *cpi, MACROBLOCK *x,
MB_ROW_COMP *mbr_ei, int count) { … }
int vp8cx_create_encoder_threads(VP8_COMP *cpi) { … }
void vp8cx_remove_encoder_threads(VP8_COMP *cpi) { … }
#endif