|
#define | USE_BRANCHLESS 1 |
|
#define | MAKEROWY(NAME, R, G, B, BPP) |
|
#define | AVGB(a, b) (((a) + (b) + 1) >> 1) |
|
#define | MAKEROWYJ(NAME, R, G, B, BPP) |
|
#define | REPEAT8(v) (v) | ((v) << 8) |
|
#define | SHADE(f, v) v * f >> 24 |
|
#define | REPEAT8(v) (v) | ((v) << 8) |
|
#define | SHADE(f, v) v * f >> 16 |
|
#define | SHADE(f, v) clamp255(v + f) |
|
#define | SHADE(f, v) clamp0(f - v) |
|
#define | YG 18997 /* round(1.164 * 64 * 256 * 256 / 257) */ |
|
#define | YGB -1160 /* 1.164 * 64 * -16 + 64 / 2 */ |
|
#define | UB -128 /* max(-128, round(-2.018 * 64)) */ |
|
#define | UG 25 /* round(0.391 * 64) */ |
|
#define | VG 52 /* round(0.813 * 64) */ |
|
#define | VR -102 /* round(-1.596 * 64) */ |
|
#define | BB (UB * 128 + YGB) |
|
#define | BG (UG * 128 + VG * 128 + YGB) |
|
#define | BR (VR * 128 + YGB) |
|
#define | YG 16320 /* round(1.000 * 64 * 256 * 256 / 257) */ |
|
#define | YGB 32 /* 64 / 2 */ |
|
#define | UB -113 /* round(-1.77200 * 64) */ |
|
#define | UG 22 /* round(0.34414 * 64) */ |
|
#define | VG 46 /* round(0.71414 * 64) */ |
|
#define | VR -90 /* round(-1.40200 * 64) */ |
|
#define | BB (UB * 128 + YGB) |
|
#define | BG (UG * 128 + VG * 128 + YGB) |
|
#define | BR (VR * 128 + YGB) |
|
#define | YG 18997 /* round(1.164 * 64 * 256 * 256 / 257) */ |
|
#define | YGB -1160 /* 1.164 * 64 * -16 + 64 / 2 */ |
|
#define | UB -128 /* max(-128, round(-2.112 * 64)) */ |
|
#define | UG 14 /* round(0.213 * 64) */ |
|
#define | VG 34 /* round(0.533 * 64) */ |
|
#define | VR -115 /* round(-1.793 * 64) */ |
|
#define | BB (UB * 128 + YGB) |
|
#define | BG (UG * 128 + VG * 128 + YGB) |
|
#define | BR (VR * 128 + YGB) |
|
#define | YG 18997 /* round(1.164 * 64 * 256 * 256 / 257) */ |
|
#define | YGB -1160 /* 1.164 * 64 * -16 + 64 / 2 */ |
|
#define | BLEND(f, b, a) (((256 - a) * b) >> 8) + f |
|
#define | UBLEND(f, b, a) (((a) * f) + ((255 - a) * b) + 255) >> 8 |
|
#define | ATTENUATE(f, a) (a | (a << 8)) * (f | (f << 8)) >> 24 |
|
#define | T(a) 0x01000000 + (0x10000 / a) |
|
#define | MAXTWIDTH 2048 |
|
|
void | RGB24ToARGBRow_C (const uint8 *src_rgb24, uint8 *dst_argb, int width) |
|
void | RAWToARGBRow_C (const uint8 *src_raw, uint8 *dst_argb, int width) |
|
void | RAWToRGB24Row_C (const uint8 *src_raw, uint8 *dst_rgb24, int width) |
|
void | RGB565ToARGBRow_C (const uint8 *src_rgb565, uint8 *dst_argb, int width) |
|
void | ARGB1555ToARGBRow_C (const uint8 *src_argb1555, uint8 *dst_argb, int width) |
|
void | ARGB4444ToARGBRow_C (const uint8 *src_argb4444, uint8 *dst_argb, int width) |
|
void | ARGBToRGB24Row_C (const uint8 *src_argb, uint8 *dst_rgb, int width) |
|
void | ARGBToRAWRow_C (const uint8 *src_argb, uint8 *dst_rgb, int width) |
|
void | ARGBToRGB565Row_C (const uint8 *src_argb, uint8 *dst_rgb, int width) |
|
void | ARGBToRGB565DitherRow_C (const uint8 *src_argb, uint8 *dst_rgb, const uint32 dither4, int width) |
|
void | ARGBToARGB1555Row_C (const uint8 *src_argb, uint8 *dst_rgb, int width) |
|
void | ARGBToARGB4444Row_C (const uint8 *src_argb, uint8 *dst_rgb, int width) |
|
void | RGB565ToYRow_C (const uint8 *src_rgb565, uint8 *dst_y, int width) |
|
void | ARGB1555ToYRow_C (const uint8 *src_argb1555, uint8 *dst_y, int width) |
|
void | ARGB4444ToYRow_C (const uint8 *src_argb4444, uint8 *dst_y, int width) |
|
void | RGB565ToUVRow_C (const uint8 *src_rgb565, int src_stride_rgb565, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | ARGB1555ToUVRow_C (const uint8 *src_argb1555, int src_stride_argb1555, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | ARGB4444ToUVRow_C (const uint8 *src_argb4444, int src_stride_argb4444, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | ARGBToUV444Row_C (const uint8 *src_argb, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | ARGBGrayRow_C (const uint8 *src_argb, uint8 *dst_argb, int width) |
|
void | ARGBSepiaRow_C (uint8 *dst_argb, int width) |
|
void | ARGBColorMatrixRow_C (const uint8 *src_argb, uint8 *dst_argb, const int8 *matrix_argb, int width) |
|
void | ARGBColorTableRow_C (uint8 *dst_argb, const uint8 *table_argb, int width) |
|
void | RGBColorTableRow_C (uint8 *dst_argb, const uint8 *table_argb, int width) |
|
void | ARGBQuantizeRow_C (uint8 *dst_argb, int scale, int interval_size, int interval_offset, int width) |
|
void | ARGBShadeRow_C (const uint8 *src_argb, uint8 *dst_argb, int width, uint32 value) |
|
void | ARGBMultiplyRow_C (const uint8 *src_argb0, const uint8 *src_argb1, uint8 *dst_argb, int width) |
|
void | ARGBAddRow_C (const uint8 *src_argb0, const uint8 *src_argb1, uint8 *dst_argb, int width) |
|
void | ARGBSubtractRow_C (const uint8 *src_argb0, const uint8 *src_argb1, uint8 *dst_argb, int width) |
|
void | SobelXRow_C (const uint8 *src_y0, const uint8 *src_y1, const uint8 *src_y2, uint8 *dst_sobelx, int width) |
|
void | SobelYRow_C (const uint8 *src_y0, const uint8 *src_y1, uint8 *dst_sobely, int width) |
|
void | SobelRow_C (const uint8 *src_sobelx, const uint8 *src_sobely, uint8 *dst_argb, int width) |
|
void | SobelToPlaneRow_C (const uint8 *src_sobelx, const uint8 *src_sobely, uint8 *dst_y, int width) |
|
void | SobelXYRow_C (const uint8 *src_sobelx, const uint8 *src_sobely, uint8 *dst_argb, int width) |
|
void | J400ToARGBRow_C (const uint8 *src_y, uint8 *dst_argb, int width) |
|
const struct YuvConstants | SIMD_ALIGNED (kYuvI601Constants) |
|
const struct YuvConstants | SIMD_ALIGNED (kYvuI601Constants) |
|
const struct YuvConstants | SIMD_ALIGNED (kYuvJPEGConstants) |
|
const struct YuvConstants | SIMD_ALIGNED (kYvuJPEGConstants) |
|
const struct YuvConstants | SIMD_ALIGNED (kYuvH709Constants) |
|
const struct YuvConstants | SIMD_ALIGNED (kYvuH709Constants) |
|
void | I444ToARGBRow_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToARGBRow_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I422AlphaToARGBRow_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, const uint8 *src_a, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToRGB24Row_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToARGB4444Row_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *dst_argb4444, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToARGB1555Row_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *dst_argb1555, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToRGB565Row_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *dst_rgb565, const struct YuvConstants *yuvconstants, int width) |
|
void | NV12ToARGBRow_C (const uint8 *src_y, const uint8 *src_uv, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | NV21ToARGBRow_C (const uint8 *src_y, const uint8 *src_vu, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | NV12ToRGB565Row_C (const uint8 *src_y, const uint8 *src_uv, uint8 *dst_rgb565, const struct YuvConstants *yuvconstants, int width) |
|
void | YUY2ToARGBRow_C (const uint8 *src_yuy2, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | UYVYToARGBRow_C (const uint8 *src_uyvy, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I422ToRGBARow_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *rgb_buf, const struct YuvConstants *yuvconstants, int width) |
|
void | I400ToARGBRow_C (const uint8 *src_y, uint8 *rgb_buf, int width) |
|
void | MirrorRow_C (const uint8 *src, uint8 *dst, int width) |
|
void | MirrorUVRow_C (const uint8 *src_uv, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | ARGBMirrorRow_C (const uint8 *src, uint8 *dst, int width) |
|
void | SplitUVRow_C (const uint8 *src_uv, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | MergeUVRow_C (const uint8 *src_u, const uint8 *src_v, uint8 *dst_uv, int width) |
|
void | CopyRow_C (const uint8 *src, uint8 *dst, int count) |
|
void | CopyRow_16_C (const uint16 *src, uint16 *dst, int count) |
|
void | SetRow_C (uint8 *dst, uint8 v8, int width) |
|
void | ARGBSetRow_C (uint8 *dst_argb, uint32 v32, int width) |
|
void | YUY2ToUVRow_C (const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | YUY2ToUV422Row_C (const uint8 *src_yuy2, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | YUY2ToYRow_C (const uint8 *src_yuy2, uint8 *dst_y, int width) |
|
void | UYVYToUVRow_C (const uint8 *src_uyvy, int src_stride_uyvy, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | UYVYToUV422Row_C (const uint8 *src_uyvy, uint8 *dst_u, uint8 *dst_v, int width) |
|
void | UYVYToYRow_C (const uint8 *src_uyvy, uint8 *dst_y, int width) |
|
void | ARGBBlendRow_C (const uint8 *src_argb0, const uint8 *src_argb1, uint8 *dst_argb, int width) |
|
void | BlendPlaneRow_C (const uint8 *src0, const uint8 *src1, const uint8 *alpha, uint8 *dst, int width) |
|
void | ARGBAttenuateRow_C (const uint8 *src_argb, uint8 *dst_argb, int width) |
|
void | ARGBUnattenuateRow_C (const uint8 *src_argb, uint8 *dst_argb, int width) |
|
void | ComputeCumulativeSumRow_C (const uint8 *row, int32 *cumsum, const int32 *previous_cumsum, int width) |
|
void | CumulativeSumToAverageRow_C (const int32 *tl, const int32 *bl, int w, int area, uint8 *dst, int count) |
|
LIBYUV_API void | ARGBAffineRow_C (const uint8 *src_argb, int src_argb_stride, uint8 *dst_argb, const float *uv_dudv, int width) |
|
void | InterpolateRow_C (uint8 *dst_ptr, const uint8 *src_ptr, ptrdiff_t src_stride, int width, int source_y_fraction) |
|
void | InterpolateRow_16_C (uint16 *dst_ptr, const uint16 *src_ptr, ptrdiff_t src_stride, int width, int source_y_fraction) |
|
void | ARGBShuffleRow_C (const uint8 *src_argb, uint8 *dst_argb, const uint8 *shuffler, int width) |
|
void | I422ToYUY2Row_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *dst_frame, int width) |
|
void | I422ToUYVYRow_C (const uint8 *src_y, const uint8 *src_u, const uint8 *src_v, uint8 *dst_frame, int width) |
|
void | ARGBPolynomialRow_C (const uint8 *src_argb, uint8 *dst_argb, const float *poly, int width) |
|
void | HalfFloatRow_C (const uint16 *src, uint16 *dst, float scale, int width) |
|
void | ARGBLumaColorTableRow_C (const uint8 *src_argb, uint8 *dst_argb, int width, const uint8 *luma, uint32 lumacoeff) |
|
void | ARGBCopyAlphaRow_C (const uint8 *src, uint8 *dst, int width) |
|
void | ARGBExtractAlphaRow_C (const uint8 *src_argb, uint8 *dst_a, int width) |
|
void | ARGBCopyYToAlphaRow_C (const uint8 *src, uint8 *dst, int width) |
|