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

Side by Side Diff: source/libvpx/vpx_mem/memory_manager/hmm_true.c

Issue 1124333011: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: only update to last nights LKGR Created 5 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11
12 /* This code is in the public domain.
13 ** Version: 1.1 Author: Walt Karas
14 */
15
16 #include "hmm_intrnl.h"
17
18 U(size_aau) U(true_size)(void *payload_ptr) {
19 register head_record *head_ptr = PTR_REC_TO_HEAD(payload_ptr);
20
21 #ifdef HMM_AUDIT_FAIL
22 AUDIT_BLOCK(head_ptr)
23 #endif
24
25 /* Convert block size from BAUs to AAUs. Subtract head size, leaving
26 ** payload size.
27 */
28 return(
29 (BLOCK_BAUS(head_ptr) * ((U(size_aau)) HMM_BLOCK_ALIGN_UNIT)) -
30 HEAD_AAUS);
31 }
OLDNEW
« no previous file with comments | « source/libvpx/vpx_mem/memory_manager/hmm_shrink.c ('k') | source/libvpx/vpx_mem/memory_manager/include/cavl_if.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698