Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • videolan/x264
  • EwoutH/x264
  • gramner/x264
  • BugMaster/x264
  • MaskRay/x264
  • thresh/x264
  • tpm/x264
  • wolfired/x264
  • ifb/x264
  • robinstorm/x264
  • ltnokiago/x264
  • janne/x264
  • Kromjunya/x264
  • trisnaayu0596/x264
  • felipegarcia1402/x264
  • coder2004/x264
  • philou/x264
  • walagnatalia/x264
  • DonDiego/x264
  • JHammler/x264
  • qyot27/x264
  • dwbuiten/x264
  • Kagami/x264
  • andriy-andreyev/x264
  • gxw/x264
  • trofi/x264
  • kierank/x264
  • aureliendavid/x264
  • galad/x264
  • roommini/x264
  • ocrete/x264
  • mstorsjo/x264
  • yinsj0116/x264
  • mamonet/x264
  • 1div0/x264
  • ko1265/x264
  • sergiomb2/x264
  • xutongda/x264
  • wenzhiwu/x264
  • arrowd/x264
  • FranceBB/x264
  • ziemek99/x264
  • longervision/x264
  • xopok/x264
  • jbk/x264
  • szatmary/x264
  • pekdon/x264
  • Jiangguyu/x264
  • jrtc27/x264
  • kankanol1/x264
  • gxwLite/x264
  • brad/x264
  • Gc6026/x264
  • jdek/x264
  • appcrash/x264
  • tguillem/x264
  • As/x264
  • wevian/x264
  • wangluls/x264
  • RellikJaeger/x264
  • hum/x264
  • rogerhardiman/x264
  • jankowalski12611/x264
  • zhijie1996/x264
  • yinshiyou/x264
  • Freed-Wu/x264
  • yajcoca/x264
  • bUd/x264
  • chienvannguyen2020/x264
  • nurbinakhatun386/x264
  • Siberiawind/x-264-meson
  • HecaiYuan/x264
  • david.chen/x264
  • Ytsejam76/x264
  • robUx4/x264
  • zhaoshiz/x-264-arm64ec
  • yintong.ustc/x-264-bd-ventana
  • nekobasu/x264
  • Courmisch/x264
  • BD-qjy/x264
  • quink/x264
  • markos/x264
  • pranavk/x264
83 results
Show changes
/*****************************************************************************
* pixel.c: pixel metrics
*****************************************************************************
* Copyright (C) 2004-2021 x264 project
* Copyright (C) 2004-2022 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Fiona Glaser <fiona@x264.com>
......
/*****************************************************************************
* dct.c: ppc transform and zigzag
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
* Eric Petit <eric.petit@lapsus.org>
......
/*****************************************************************************
* dct.h: ppc transform and zigzag
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
* Guillaume Poirier <gpoirier@mplayerhq.hu>
......
/*****************************************************************************
* deblock.c: ppc deblocking
*****************************************************************************
* Copyright (C) 2007-2021 x264 project
* Copyright (C) 2007-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
*
......
/*****************************************************************************
* deblock.h: ppc deblocking
*****************************************************************************
* Copyright (C) 2017-2021 x264 project
* Copyright (C) 2017-2022 x264 project
*
* Authors: Anton Mitrofanov <BugMaster@narod.ru>
*
......
/*****************************************************************************
* mc.c: ppc motion compensation
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
* Guillaume Poirier <gpoirier@mplayerhq.hu>
......
/*****************************************************************************
* mc.h: ppc motion compensation
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
*
......
/*****************************************************************************
* pixel.c: ppc pixel metrics
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
* Guillaume Poirier <gpoirier@mplayerhq.hu>
......@@ -1262,7 +1262,7 @@ static int pixel_sa8d_8x8_core_altivec( uint8_t *pix1, intptr_t i_pix1,
SA8D_1D_ALTIVEC(sa8d0v, sa8d1v, sa8d2v, sa8d3v,
sa8d4v, sa8d5v, sa8d6v, sa8d7v );
/* accumulation of the absolute value of all elements of the resulting bloc */
/* accumulation of the absolute value of all elements of the resulting block */
vec_s16_t abs0v = VEC_ABS(sa8d0v);
vec_s16_t abs1v = VEC_ABS(sa8d1v);
vec_s16_t sum01v = vec_add(abs0v, abs1v);
......
/*****************************************************************************
* pixel.h: ppc pixel metrics
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
*
......
/*****************************************************************************
* ppccommon.h: ppc utility macros
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Eric Petit <eric.petit@lapsus.org>
*
......
/*****************************************************************************
* predict.c: ppc intra prediction
*****************************************************************************
* Copyright (C) 2007-2021 x264 project
* Copyright (C) 2007-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
*
......
/*****************************************************************************
* predict.h: ppc intra prediction
*****************************************************************************
* Copyright (C) 2007-2021 x264 project
* Copyright (C) 2007-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
*
......
/*****************************************************************************
* quant.c: ppc quantization
*****************************************************************************
* Copyright (C) 2007-2021 x264 project
* Copyright (C) 2007-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
*
......
/*****************************************************************************
* quant.h: ppc quantization
*****************************************************************************
* Copyright (C) 2007-2021 x264 project
* Copyright (C) 2007-2022 x264 project
*
* Authors: Guillaume Poirier <gpoirier@mplayerhq.hu>
*
......
/*****************************************************************************
* predict.c: intra prediction
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Loren Merritt <lorenm@u.washington.edu>
......
/*****************************************************************************
* predict.h: intra prediction
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Laurent Aimar <fenrir@via.ecp.fr>
......
/*****************************************************************************
* quant.c: quantization and level-run
*****************************************************************************
* Copyright (C) 2005-2021 x264 project
* Copyright (C) 2005-2022 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Fiona Glaser <fiona@x264.com>
......@@ -47,9 +47,9 @@
#define QUANT_ONE( coef, mf, f ) \
{ \
if( (coef) > 0 ) \
(coef) = (f + (coef)) * (mf) >> 16; \
(coef) = ((f) + (uint32_t)(coef)) * (mf) >> 16; \
else \
(coef) = - ((f - (coef)) * (mf) >> 16); \
(coef) = -(int32_t)(((f) + (uint32_t)(-coef)) * (mf) >> 16); \
nz |= (coef); \
}
......@@ -101,7 +101,7 @@ static int quant_2x2_dc( dctcoef dct[4], int mf, int bias )
}
#define DEQUANT_SHL( x ) \
dct[x] = ( dct[x] * dequant_mf[i_mf][x] ) << i_qbits
dct[x] = ( dct[x] * dequant_mf[i_mf][x] ) * (1 << i_qbits)
#define DEQUANT_SHR( x ) \
dct[x] = ( dct[x] * dequant_mf[i_mf][x] + f ) >> (-i_qbits)
......
/*****************************************************************************
* quant.h: quantization and level-run
*****************************************************************************
* Copyright (C) 2005-2021 x264 project
* Copyright (C) 2005-2022 x264 project
*
* Authors: Loren Merritt <lorenm@u.washington.edu>
* Fiona Glaser <fiona@x264.com>
......
/*****************************************************************************
* rectangle.c: rectangle filling
*****************************************************************************
* Copyright (C) 2010-2021 x264 project
* Copyright (C) 2010-2022 x264 project
*
* Authors: Fiona Glaser <fiona@x264.com>
*
......
/*****************************************************************************
* rectangle.h: rectangle filling
*****************************************************************************
* Copyright (C) 2003-2021 x264 project
* Copyright (C) 2003-2022 x264 project
*
* Authors: Fiona Glaser <fiona@x264.com>
* Loren Merritt <lorenm@u.washington.edu>
......@@ -28,8 +28,8 @@
static ALWAYS_INLINE void x264_macroblock_cache_rect( void *dst, int w, int h, int s, uint32_t v )
{
uint8_t *d = dst;
uint16_t v2 = s == 2 ? v : v * 0x101;
uint32_t v4 = s == 4 ? v : s == 2 ? v * 0x10001 : v * 0x1010101;
uint16_t v2 = s >= 2 ? v : v * 0x101;
uint32_t v4 = s >= 4 ? v : s >= 2 ? v * 0x10001 : v * 0x1010101;
uint64_t v8 = v4 + ((uint64_t)v4 << 32);
s *= 8;
......@@ -142,13 +142,13 @@ static ALWAYS_INLINE void x264_macroblock_cache_mvd( x264_t *h, int x, int y, in
else
x264_macroblock_cache_rect( mvd_cache, width*2, height, 2, mvd );
}
static ALWAYS_INLINE void x264_macroblock_cache_ref( x264_t *h, int x, int y, int width, int height, int i_list, uint8_t ref )
static ALWAYS_INLINE void x264_macroblock_cache_ref( x264_t *h, int x, int y, int width, int height, int i_list, int8_t ref )
{
void *ref_cache = &h->mb.cache.ref[i_list][X264_SCAN8_0+x+8*y];
if( x264_nonconstant_p( width ) || x264_nonconstant_p( height ) )
x264_cache_ref_func_table[width + (height<<1)-3]( ref_cache, ref );
x264_cache_ref_func_table[width + (height<<1)-3]( ref_cache, (uint8_t)ref );
else
x264_macroblock_cache_rect( ref_cache, width, height, 1, ref );
x264_macroblock_cache_rect( ref_cache, width, height, 1, (uint8_t)ref );
}
static ALWAYS_INLINE void x264_macroblock_cache_skip( x264_t *h, int x, int y, int width, int height, int b_skip )
{
......