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

Unified Diff: source/libvpx/vp9/common/vp9_mbpitch.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/common/vp9_loopfilter_filters.c ('k') | source/libvpx/vp9/common/vp9_modecont.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/vp9/common/vp9_mbpitch.c
===================================================================
--- source/libvpx/vp9/common/vp9_mbpitch.c (revision 177019)
+++ source/libvpx/vp9/common/vp9_mbpitch.c (working copy)
@@ -16,17 +16,13 @@
DEST = 1
} BLOCKSET;
-static void setup_block
-(
- BLOCKD *b,
- int mv_stride,
- unsigned char **base,
- unsigned char **base2,
- int Stride,
- int offset,
- BLOCKSET bs
-) {
-
+static void setup_block(BLOCKD *b,
+ int mv_stride,
+ uint8_t **base,
+ uint8_t **base2,
+ int Stride,
+ int offset,
+ BLOCKSET bs) {
if (bs == DEST) {
b->dst_stride = Stride;
b->dst = offset;
@@ -37,15 +33,13 @@
b->base_pre = base;
b->base_second_pre = base2;
}
-
}
-
static void setup_macroblock(MACROBLOCKD *xd, BLOCKSET bs) {
int block;
- unsigned char **y, **u, **v;
- unsigned char **y2 = NULL, **u2 = NULL, **v2 = NULL;
+ uint8_t **y, **u, **v;
+ uint8_t **y2 = NULL, **u2 = NULL, **v2 = NULL;
BLOCKD *blockd = xd->block;
int stride;
@@ -117,7 +111,6 @@
}
void vp9_build_block_doffsets(MACROBLOCKD *xd) {
-
/* handle the destination pitch features */
setup_macroblock(xd, DEST);
setup_macroblock(xd, PRED);
« no previous file with comments | « source/libvpx/vp9/common/vp9_loopfilter_filters.c ('k') | source/libvpx/vp9/common/vp9_modecont.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698