From 1bea85513646e4d9d992bbe326a9cb3275ec313a Mon Sep 17 00:00:00 2001 From: Min Chen <[email protected]> Date: Mon, 24 Oct 2016 16:38:55 -0500 Subject: [PATCH] [PPC] GPL v2 copyright header
--- source/common/ppc/dct_altivec.cpp | 24 ++++++++++++++++++++++++ source/common/ppc/intrapred_altivec.cpp | 28 ++++++++++++++++++++++++---- source/common/ppc/ipfilter_altivec.cpp | 28 ++++++++++++++++++++++++---- 3 files changed, 72 insertions(+), 8 deletions(-) diff --git a/source/common/ppc/dct_altivec.cpp b/source/common/ppc/dct_altivec.cpp index 0d33be4..7542a8e 100644 --- a/source/common/ppc/dct_altivec.cpp +++ b/source/common/ppc/dct_altivec.cpp @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2013 x265 project + * + * Authors: Roger Moussalli <[email protected]> + * Min Chen <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA. + * + * This program is also available under a commercial proprietary license. + * For more information, contact us at license @ x265.com. + *****************************************************************************/ + #include "common.h" #include "primitives.h" #include "contexts.h" // costCoeffNxN_c diff --git a/source/common/ppc/intrapred_altivec.cpp b/source/common/ppc/intrapred_altivec.cpp index f2b1c5e..d27f5b6 100644 --- a/source/common/ppc/intrapred_altivec.cpp +++ b/source/common/ppc/intrapred_altivec.cpp @@ -1,12 +1,32 @@ -#include <iostream> +/***************************************************************************** + * Copyright (C) 2013 x265 project + * + * Authors: Roger Moussalli <[email protected]> + * Min Chen <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA. + * + * This program is also available under a commercial proprietary license. + * For more information, contact us at license @ x265.com. + *****************************************************************************/ +#include <iostream> #include <vector> - #include <assert.h> - #include <math.h> #include <cmath> - #include <linux/types.h> #include <stdlib.h> #include <stdio.h> diff --git a/source/common/ppc/ipfilter_altivec.cpp b/source/common/ppc/ipfilter_altivec.cpp index 3468968..55ee76a 100644 --- a/source/common/ppc/ipfilter_altivec.cpp +++ b/source/common/ppc/ipfilter_altivec.cpp @@ -1,14 +1,34 @@ -#include <iostream> +/***************************************************************************** + * Copyright (C) 2013 x265 project + * + * Authors: Roger Moussalli <[email protected]> + * Min Chen <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA. + * + * This program is also available under a commercial proprietary license. + * For more information, contact us at license @ x265.com. + *****************************************************************************/ +#include <iostream> #include "common.h" #include "primitives.h" #include "ppccommon.h" using namespace X265_NS; - - - // ORIGINAL : for(col=0; col<16; col++) {sum[col] = src[ocol+col + 0 * srcStride] * c[0];} #define multiply_pixel_coeff(/*vector int*/ v_sum_0, /*vector int*/ v_sum_1, /*vector int*/ v_sum_2, /*vector int*/ v_sum_3, /*const pixel * */ src, /*int*/ src_offset, /*vector signed short*/ v_coeff) \ { \ -- 1.7.9.msysgit.0
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
