[x265] [PATCH 1 of 3] Adding function pointer type & array definition for luma vsp filter functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Mon Nov 11 06:51:40 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384148432 -19800
#      Mon Nov 11 11:10:32 2013 +0530
# Node ID 75d491a2a211460d1a9a1e3edcc8b07d10100e7c
# Parent  9d74638c3640679d09264b793afdf3ffc58a9107
Adding function pointer type & array definition for luma vsp filter functions.

diff -r 9d74638c3640 -r 75d491a2a211 source/common/primitives.h
--- a/source/common/primitives.h	Sat Nov 09 20:14:24 2013 -0600
+++ b/source/common/primitives.h	Mon Nov 11 11:10:32 2013 +0530
@@ -199,6 +199,7 @@
 
 typedef void (*filter_pp_t) (pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx);
 typedef void (*filter_ps_t) (pixel *src, intptr_t srcStride, int16_t *dst, intptr_t dstStride, int coeffIdx);
+typedef void (*filter_sp_t) (int16_t *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int coeffIdx);
 typedef void (*filter_hv_pp_t) (pixel *src, intptr_t srcStride, pixel *dst, intptr_t dstStride, int idxX, int idxY);
 typedef void (*filter_p2s_t)(pixel *src, intptr_t srcStride, int16_t *dst, int width, int height);
 
@@ -244,6 +245,7 @@
     filter_pp_t     chroma_vpp[NUM_CHROMA_PARTITIONS];
     filter_pp_t     luma_vpp[NUM_LUMA_PARTITIONS];
     filter_ps_t     luma_vps[NUM_LUMA_PARTITIONS];
+    filter_sp_t     luma_vsp[NUM_LUMA_PARTITIONS];
     filter_hv_pp_t  luma_hvpp[NUM_LUMA_PARTITIONS];
     filter_p2s_t    luma_p2s;
     filter_p2s_t    chroma_p2s;


More information about the x265-devel mailing list