Convert [4][4] matrices to [16] arrays.
Most of the code that actually uses these matrices indexes them as if they were a single contiguous array, and coverity produces reports about the resulting accesses that overflow the static bounds of the first row. This is perfectly legal in C, but converting them to actual [16] arrays should eliminate the report, and removes a good deal of extraneous indexing and address operators from the code. Change-Id: Ibda479e2232b3e51f9edf3b355b8640520fdbf23
Showing
- vp8/common/blockd.h 1 addition, 1 deletionvp8/common/blockd.h
- vp8/common/onyxc_int.h 3 additions, 3 deletionsvp8/common/onyxc_int.h
- vp8/decoder/arm/dequantize_arm.c 2 additions, 2 deletionsvp8/decoder/arm/dequantize_arm.c
- vp8/decoder/decodframe.c 11 additions, 14 deletionsvp8/decoder/decodframe.c
- vp8/decoder/dequantize.c 1 addition, 1 deletionvp8/decoder/dequantize.c
- vp8/decoder/threading.c 5 additions, 5 deletionsvp8/decoder/threading.c
- vp8/encoder/arm/quantize_arm.c 1 addition, 1 deletionvp8/encoder/arm/quantize_arm.c
- vp8/encoder/block.h 5 additions, 5 deletionsvp8/encoder/block.h
- vp8/encoder/encodeframe.c 57 additions, 63 deletionsvp8/encoder/encodeframe.c
- vp8/encoder/encodemb.c 2 additions, 2 deletionsvp8/encoder/encodemb.c
- vp8/encoder/onyx_int.h 14 additions, 14 deletionsvp8/encoder/onyx_int.h
- vp8/encoder/quantize.c 38 additions, 38 deletionsvp8/encoder/quantize.c
- vp8/encoder/x86/x86_csystemdependent.c 22 additions, 22 deletionsvp8/encoder/x86/x86_csystemdependent.c
Loading
Please register or sign in to comment