diff options
author | Edward Hervey <edward@centricular.com> | 2018-02-14 14:36:00 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-02-14 14:36:00 +0100 |
commit | 235feecf462521fabc21f803e23c22f5f19ac6ed (patch) | |
tree | 10d9f3bfe6ea154e4fb7f78eaa0c2a94a142242a /gst/compositor | |
parent | a8ffc56f842e1a267bcfbc42950dcc8c4bf74a4b (diff) |
Update ORC fallback disted code
Diffstat (limited to 'gst/compositor')
-rw-r--r-- | gst/compositor/compositororc-dist.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/gst/compositor/compositororc-dist.c b/gst/compositor/compositororc-dist.c index 0fab506cd..06cbfddea 100644 --- a/gst/compositor/compositororc-dist.c +++ b/gst/compositor/compositororc-dist.c @@ -123,11 +123,11 @@ void compositor_orc_overlay_bgra_addition (guint8 * ORC_RESTRICT d1, #define ORC_MAX(a,b) ((a)>(b) ? (a) : (b)) #define ORC_SB_MAX 127 #define ORC_SB_MIN (-1-ORC_SB_MAX) -#define ORC_UB_MAX 255 +#define ORC_UB_MAX (orc_uint8) 255 #define ORC_UB_MIN 0 #define ORC_SW_MAX 32767 #define ORC_SW_MIN (-1-ORC_SW_MAX) -#define ORC_UW_MAX 65535 +#define ORC_UW_MAX (orc_uint16)65535 #define ORC_UW_MIN 0 #define ORC_SL_MAX 2147483647 #define ORC_SL_MIN (-1-ORC_SL_MAX) @@ -601,7 +601,7 @@ compositor_orc_blend_argb (guint8 * ORC_RESTRICT d1, int d1_stride, var39.x4[2] = p1; var39.x4[3] = p1; /* 16: loadpl */ - var40.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var40.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -735,7 +735,7 @@ _backup_compositor_orc_blend_argb (OrcExecutor * ORC_RESTRICT ex) var39.x4[2] = ex->params[24]; var39.x4[3] = ex->params[24]; /* 16: loadpl */ - var40.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var40.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -975,7 +975,7 @@ compositor_orc_blend_bgra (guint8 * ORC_RESTRICT d1, int d1_stride, var40.x4[2] = p1; var40.x4[3] = p1; /* 17: loadpl */ - var41.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var41.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -1112,7 +1112,7 @@ _backup_compositor_orc_blend_bgra (OrcExecutor * ORC_RESTRICT ex) var40.x4[2] = ex->params[24]; var40.x4[3] = ex->params[24]; /* 17: loadpl */ - var41.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var41.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -1376,11 +1376,11 @@ compositor_orc_overlay_argb (guint8 * ORC_RESTRICT d1, int d1_stride, var41.x4[2] = p1; var41.x4[3] = p1; /* 10: loadpl */ - var53.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var53.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 26: loadpl */ - var42.i = (int) 0xffffff00; /* -256 or 2.122e-314f */ + var42.i = 0xffffff00; /* -256 or 2.122e-314f */ /* 29: loadpl */ - var43.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var43.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -1592,11 +1592,11 @@ _backup_compositor_orc_overlay_argb (OrcExecutor * ORC_RESTRICT ex) var41.x4[2] = ex->params[24]; var41.x4[3] = ex->params[24]; /* 10: loadpl */ - var53.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var53.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 26: loadpl */ - var42.i = (int) 0xffffff00; /* -256 or 2.122e-314f */ + var42.i = 0xffffff00; /* -256 or 2.122e-314f */ /* 29: loadpl */ - var43.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var43.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -1954,11 +1954,11 @@ compositor_orc_overlay_argb_addition (guint8 * ORC_RESTRICT d1, int d1_stride, var42.x4[2] = p1; var42.x4[3] = p1; /* 10: loadpl */ - var54.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var54.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 32: loadpl */ - var43.i = (int) 0xffffff00; /* -256 or 2.122e-314f */ + var43.i = 0xffffff00; /* -256 or 2.122e-314f */ /* 35: loadpl */ - var44.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var44.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -2197,11 +2197,11 @@ _backup_compositor_orc_overlay_argb_addition (OrcExecutor * ORC_RESTRICT ex) var42.x4[2] = ex->params[24]; var42.x4[3] = ex->params[24]; /* 10: loadpl */ - var54.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var54.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 32: loadpl */ - var43.i = (int) 0xffffff00; /* -256 or 2.122e-314f */ + var43.i = 0xffffff00; /* -256 or 2.122e-314f */ /* 35: loadpl */ - var44.i = (int) 0x000000ff; /* 255 or 1.25987e-321f */ + var44.i = 0x000000ff; /* 255 or 1.25987e-321f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -2593,11 +2593,11 @@ compositor_orc_overlay_bgra (guint8 * ORC_RESTRICT d1, int d1_stride, var42.x4[2] = p1; var42.x4[3] = p1; /* 11: loadpl */ - var55.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var55.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 28: loadpl */ - var43.i = (int) 0x00ffffff; /* 16777215 or 8.28905e-317f */ + var43.i = 0x00ffffff; /* 16777215 or 8.28905e-317f */ /* 31: loadpl */ - var44.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var44.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -2815,11 +2815,11 @@ _backup_compositor_orc_overlay_bgra (OrcExecutor * ORC_RESTRICT ex) var42.x4[2] = ex->params[24]; var42.x4[3] = ex->params[24]; /* 11: loadpl */ - var55.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var55.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 28: loadpl */ - var43.i = (int) 0x00ffffff; /* 16777215 or 8.28905e-317f */ + var43.i = 0x00ffffff; /* 16777215 or 8.28905e-317f */ /* 31: loadpl */ - var44.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var44.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -3191,11 +3191,11 @@ compositor_orc_overlay_bgra_addition (guint8 * ORC_RESTRICT d1, int d1_stride, var43.x4[2] = p1; var43.x4[3] = p1; /* 11: loadpl */ - var56.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var56.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 35: loadpl */ - var44.i = (int) 0x00ffffff; /* 16777215 or 8.28905e-317f */ + var44.i = 0x00ffffff; /* 16777215 or 8.28905e-317f */ /* 38: loadpl */ - var45.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var45.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ @@ -3443,11 +3443,11 @@ _backup_compositor_orc_overlay_bgra_addition (OrcExecutor * ORC_RESTRICT ex) var43.x4[2] = ex->params[24]; var43.x4[3] = ex->params[24]; /* 11: loadpl */ - var56.i = (int) 0xffffffff; /* -1 or 2.122e-314f */ + var56.i = 0xffffffff; /* -1 or 2.122e-314f */ /* 35: loadpl */ - var44.i = (int) 0x00ffffff; /* 16777215 or 8.28905e-317f */ + var44.i = 0x00ffffff; /* 16777215 or 8.28905e-317f */ /* 38: loadpl */ - var45.i = (int) 0xff000000; /* -16777216 or 2.11371e-314f */ + var45.i = 0xff000000; /* -16777216 or 2.11371e-314f */ for (i = 0; i < n; i++) { /* 0: loadl */ |