webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros
rotate_any.cc File Reference
#include "libyuv/rotate.h"
#include "libyuv/rotate_row.h"
#include "libyuv/basic_types.h"

Macros

#define TANY(NAMEANY, TPOS_SIMD, MASK)
 
#define TUVANY(NAMEANY, TPOS_SIMD, MASK)
 

Macro Definition Documentation

◆ TANY

#define TANY (   NAMEANY,
  TPOS_SIMD,
  MASK 
)
Value:
void NAMEANY(const uint8* src, int src_stride, \
uint8* dst, int dst_stride, int width) { \
int r = width & MASK; \
int n = width - r; \
if (n > 0) { \
TPOS_SIMD(src, src_stride, dst, dst_stride, n); \
} \
TransposeWx8_C(src + n, src_stride, dst + n * dst_stride, dst_stride, r);\
}
jobject jint jint jint jobject jint dst_stride
Definition: peerconnection_jni.cc:2184
EGLSurface EGLint EGLint EGLint width
Definition: eglext.h:950
unsigned char uint8
Definition: basic_types.h:62
EGLStreamKHR EGLint n
Definition: eglext.h:984
GLenum GLenum dst
Definition: gl2ext.h:304
GLenum src
Definition: gl2ext.h:304
jobject jint jint jint src_stride
Definition: peerconnection_jni.cc:2183
GLboolean r
Definition: gl2ext.h:306

◆ TUVANY

#define TUVANY (   NAMEANY,
  TPOS_SIMD,
  MASK 
)
Value:
void NAMEANY(const uint8* src, int src_stride, \
uint8* dst_a, int dst_stride_a, \
uint8* dst_b, int dst_stride_b, int width) { \
int r = width & MASK; \
int n = width - r; \
if (n > 0) { \
TPOS_SIMD(src, src_stride, dst_a, dst_stride_a, dst_b, dst_stride_b, \
n); \
} \
TransposeUVWx8_C(src + n * 2, src_stride, \
dst_a + n * dst_stride_a, dst_stride_a, \
dst_b + n * dst_stride_b, dst_stride_b, r); \
}
EGLSurface EGLint EGLint EGLint width
Definition: eglext.h:950
unsigned char uint8
Definition: basic_types.h:62
EGLStreamKHR EGLint n
Definition: eglext.h:984
GLenum src
Definition: gl2ext.h:304
jobject jint jint jint src_stride
Definition: peerconnection_jni.cc:2183
GLboolean r
Definition: gl2ext.h:306