remove arch specific code
This commit is contained in:
16
third-party/cbs/mathops.h
vendored
16
third-party/cbs/mathops.h
vendored
@@ -22,6 +22,8 @@
|
||||
#ifndef AVCODEC_MATHOPS_H
|
||||
#define AVCODEC_MATHOPS_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <libavutil/common.h>
|
||||
@@ -35,20 +37,6 @@ extern const uint8_t ff_crop_tab[256 + 2 * MAX_NEG_CROP];
|
||||
extern const uint8_t ff_zigzag_direct[64];
|
||||
extern const uint8_t ff_zigzag_scan[16 + 1];
|
||||
|
||||
#if ARCH_ARM
|
||||
#include "arm/mathops.h"
|
||||
#elif ARCH_AVR32
|
||||
#include "avr32/mathops.h"
|
||||
#elif ARCH_MIPS
|
||||
#include "mips/mathops.h"
|
||||
#elif ARCH_PPC
|
||||
#include "ppc/mathops.h"
|
||||
#elif ARCH_X86
|
||||
#include "x86/mathops.h"
|
||||
#endif
|
||||
|
||||
/* generic implementation */
|
||||
|
||||
#ifndef MUL64
|
||||
#define MUL64(a, b) ((int64_t)(a) * (int64_t)(b))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user