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

nabajit at multicorewareinc.com nabajit at multicorewareinc.com
Tue Nov 12 11:47:29 CET 2013


# HG changeset patch
# User Nabajit Deka
# Date 1384252625 -19800
#      Tue Nov 12 16:07:05 2013 +0530
# Node ID e7f2a2ca3eb5b02c7683a108e94ab5ad7b9a7081
# Parent  dc5c51ff542faecf1b664c7e7c0f51cccf46143d
Adding function pointer array and initializations for chroma vsp filter functions.

diff -r dc5c51ff542f -r e7f2a2ca3eb5 source/common/ipfilter.cpp
--- a/source/common/ipfilter.cpp	Tue Nov 12 10:45:56 2013 +0530
+++ b/source/common/ipfilter.cpp	Tue Nov 12 16:07:05 2013 +0530
@@ -486,7 +486,8 @@
 
 #define CHROMA(W, H) \
     p.chroma_hpp[CHROMA_ ## W ## x ## H] = interp_horiz_pp_c<4, W, H>; \
-    p.chroma_vpp[CHROMA_ ## W ## x ## H] = interp_vert_pp_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 >
 
 #define LUMA(W, H) \
     p.luma_hpp[LUMA_ ## W ## x ## H]     = interp_horiz_pp_c<8, W, H>; \
diff -r dc5c51ff542f -r e7f2a2ca3eb5 source/common/primitives.h
--- a/source/common/primitives.h	Tue Nov 12 10:45:56 2013 +0530
+++ b/source/common/primitives.h	Tue Nov 12 16:07:05 2013 +0530
@@ -245,6 +245,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_sp_t     chroma_vsp[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];


More information about the x265-devel mailing list