[x265] [PATCH 1 of 2] Adding function pointer array and C primitive initializations for chroma vps filter functions

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Tue Nov 12 16:23:06 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384269680 -19800
#      Tue Nov 12 20:51:20 2013 +0530
# Node ID 8e582fd2d1ff49abdac24debc4c9ffb02c90a7b2
# Parent  286039cf5329a00db7a7788eaadeeaac13d53e48
Adding function pointer array and C primitive initializations for chroma vps filter functions.

diff -r 286039cf5329 -r 8e582fd2d1ff source/common/ipfilter.cpp
--- a/source/common/ipfilter.cpp	Tue Nov 12 20:40:16 2013 +0530
+++ b/source/common/ipfilter.cpp	Tue Nov 12 20:51:20 2013 +0530
@@ -488,6 +488,7 @@
     p.chroma_hpp[CHROMA_ ## W ## x ## H] = interp_horiz_pp_c<4, W, H>; \
     p.chroma_hps[CHROMA_ ## W ## x ## H] = interp_horiz_ps_c<4, W, H>; \
     p.chroma_vpp[CHROMA_ ## W ## x ## H] = interp_vert_pp_c < 4, W, H >; \
+    p.chroma_vps[CHROMA_ ## W ## x ## H] = interp_vert_ps_c<4, W, H>; \
     p.chroma_vsp[CHROMA_ ## W ## x ## H] = interp_vert_sp_c < 4, W, H >
 
 #define LUMA(W, H) \
diff -r 286039cf5329 -r 8e582fd2d1ff source/common/primitives.h
--- a/source/common/primitives.h	Tue Nov 12 20:40:16 2013 +0530
+++ b/source/common/primitives.h	Tue Nov 12 20:51:20 2013 +0530
@@ -246,6 +246,7 @@
     filter_pp_t     luma_hpp[NUM_LUMA_PARTITIONS];
     filter_ps_t     luma_hps[NUM_LUMA_PARTITIONS];
     filter_pp_t     chroma_vpp[NUM_CHROMA_PARTITIONS];
+    filter_ps_t     chroma_vps[NUM_CHROMA_PARTITIONS];
     filter_sp_t     chroma_vsp[NUM_CHROMA_PARTITIONS];
     filter_pp_t     luma_vpp[NUM_LUMA_PARTITIONS];
     filter_ps_t     luma_vps[NUM_LUMA_PARTITIONS];


More information about the x265-devel mailing list