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

Side by Side Diff: source/libvpx/vp8/common/invtrans.h

Issue 11555023: libvpx: Add VP9 decoder. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 11
12 #ifndef __INC_INVTRANS_H 12 #ifndef __INC_INVTRANS_H
13 #define __INC_INVTRANS_H 13 #define __INC_INVTRANS_H
14 14
15 #include "vpx_config.h" 15 #include "vpx_config.h"
16 #include "vpx_rtcd.h" 16 #include "vp8_rtcd.h"
17 #include "blockd.h" 17 #include "blockd.h"
18 #include "onyxc_int.h" 18 #include "onyxc_int.h"
19 19
20 #if CONFIG_MULTITHREAD 20 #if CONFIG_MULTITHREAD
21 #include "vpx_mem/vpx_mem.h" 21 #include "vpx_mem/vpx_mem.h"
22 #endif 22 #endif
23 23
24 static void eob_adjust(char *eobs, short *diff) 24 static void eob_adjust(char *eobs, short *diff)
25 { 25 {
26 /* eob adjust.... the idct can only skip if both the dc and eob are zero */ 26 /* eob adjust.... the idct can only skip if both the dc and eob are zero */
(...skipping 26 matching lines...) Expand all
53 eob_adjust(xd->eobs, xd->qcoeff); 53 eob_adjust(xd->eobs, xd->qcoeff);
54 54
55 DQC = xd->dequant_y1_dc; 55 DQC = xd->dequant_y1_dc;
56 } 56 }
57 vp8_dequant_idct_add_y_block 57 vp8_dequant_idct_add_y_block
58 (xd->qcoeff, DQC, 58 (xd->qcoeff, DQC,
59 xd->dst.y_buffer, 59 xd->dst.y_buffer,
60 xd->dst.y_stride, xd->eobs); 60 xd->dst.y_stride, xd->eobs);
61 } 61 }
62 #endif 62 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698