[x265] Some warnings about YUV 4:2:2 chroma code

Mario *LigH* Rohkrämer contact at ligh.de
Mon Apr 14 16:53:58 CEST 2014


Compiles but might crash with YUV 4:2:2 video material?

+----
h:/MSYS/home/Entwicklung/x265/source/common/pixel.cpp: In function 'void  
x265::Setup_C_PixelPrimitives(x265::EncoderPrimitives&)':
h:/MSYS/home/Entwicklung/x265/source/common/pixel.cpp:955:58: warning:  
array subscript is above array bounds [-Warray-bounds]
      p.chroma[X265_CSP_I422].copy_sp[NUM_CHROMA_PARTITIONS] =  
blockcopy_sp_c<W, H>; \
                                                           ^
h:/MSYS/home/Entwicklung/x265/source/common/pixel.cpp:1026:5: note: in  
expansion of macro 'CHROMA_422_X'
      CHROMA_422_X(4, 4);
      ^
h:/MSYS/home/Entwicklung/x265/source/common/pixel.cpp:956:58: warning:  
array subscript is above array bounds [-Warray-bounds]
      p.chroma[X265_CSP_I422].copy_ps[NUM_CHROMA_PARTITIONS] =  
blockcopy_ps_c<W, H>;
                                                           ^
h:/MSYS/home/Entwicklung/x265/source/common/pixel.cpp:1026:5: note: in  
expansion of macro 'CHROMA_422_X'
      CHROMA_422_X(4, 4);
      ^
+----

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list