Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: source/libvpx/vp9/encoder/vp9_satd_c.c

Issue 11974002: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_sad_c.c ('k') | source/libvpx/vp9/encoder/vp9_segmentation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/vp9/encoder/vp9_satd_c.c
===================================================================
--- source/libvpx/vp9/encoder/vp9_satd_c.c (revision 177019)
+++ source/libvpx/vp9/encoder/vp9_satd_c.c (working copy)
@@ -11,16 +11,17 @@
#include <stdlib.h>
#include "vpx_ports/mem.h"
#include "./vp9_rtcd.h"
-unsigned int vp9_satd16x16_c(const unsigned char *src_ptr,
+
+unsigned int vp9_satd16x16_c(const uint8_t *src_ptr,
int src_stride,
- const unsigned char *ref_ptr,
+ const uint8_t *ref_ptr,
int ref_stride,
unsigned int *psatd) {
int r, c, i;
unsigned int satd = 0;
- DECLARE_ALIGNED(16, short, diff_in[256]);
- DECLARE_ALIGNED(16, short, diff_out[16]);
- short *in;
+ DECLARE_ALIGNED(16, int16_t, diff_in[256]);
+ DECLARE_ALIGNED(16, int16_t, diff_out[16]);
+ int16_t *in;
for (r = 0; r < 16; r++) {
for (c = 0; c < 16; c++) {
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_sad_c.c ('k') | source/libvpx/vp9/encoder/vp9_segmentation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698