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

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Tue Nov 12 13:05:08 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384257635 -19800
#      Tue Nov 12 17:30:35 2013 +0530
# Node ID 6c6026676f0f6d6af270ede92bdc66aa0749f0c9
# Parent  b0b5fd8c84ea3a4d6b9c44b0e57023e251e1bc81
Adding function pointer array and initializations for chroma hps filter functions.

diff -r b0b5fd8c84ea -r 6c6026676f0f source/common/ipfilter.cpp
--- a/source/common/ipfilter.cpp	Tue Nov 12 16:25:54 2013 +0530
+++ b/source/common/ipfilter.cpp	Tue Nov 12 17:30:35 2013 +0530
@@ -486,6 +486,7 @@
 
 #define CHROMA(W, H) \
     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_vsp[CHROMA_ ## W ## x ## H] = interp_vert_sp_c < 4, W, H >
 
diff -r b0b5fd8c84ea -r 6c6026676f0f source/common/primitives.h
--- a/source/common/primitives.h	Tue Nov 12 16:25:54 2013 +0530
+++ b/source/common/primitives.h	Tue Nov 12 17:30:35 2013 +0530
@@ -242,6 +242,7 @@
     ipfilter_p2s_t  ipfilter_p2s;
     ipfilter_s2p_t  ipfilter_s2p;
     filter_pp_t     chroma_hpp[NUM_CHROMA_PARTITIONS];
+    filter_ps_t     chroma_hps[NUM_CHROMA_PARTITIONS];
     filter_pp_t     luma_hpp[NUM_LUMA_PARTITIONS];
     filter_ps_t     luma_hps[NUM_LUMA_PARTITIONS];
     filter_pp_t     chroma_vpp[NUM_CHROMA_PARTITIONS];


More information about the x265-devel mailing list