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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_bitstream.c

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_aq_complexity.c ('k') | source/libvpx/vp9/encoder/vp9_block.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <assert.h> 11 #include <assert.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <limits.h> 13 #include <limits.h>
14 14
15 #include "vpx/vpx_encoder.h" 15 #include "vpx/vpx_encoder.h"
16 #include "vpx_mem/vpx_mem.h" 16 #include "vpx_mem/vpx_mem.h"
17 #include "vpx_ports/mem_ops.h" 17 #include "vpx_ports/mem_ops.h"
18 18
19 #include "vp9/common/vp9_entropy.h" 19 #include "vp9/common/vp9_entropy.h"
20 #include "vp9/common/vp9_entropymode.h" 20 #include "vp9/common/vp9_entropymode.h"
21 #include "vp9/common/vp9_entropymv.h" 21 #include "vp9/common/vp9_entropymv.h"
22 #include "vp9/common/vp9_mvref_common.h" 22 #include "vp9/common/vp9_mvref_common.h"
23 #include "vp9/common/vp9_pragmas.h"
24 #include "vp9/common/vp9_pred_common.h" 23 #include "vp9/common/vp9_pred_common.h"
25 #include "vp9/common/vp9_seg_common.h" 24 #include "vp9/common/vp9_seg_common.h"
26 #include "vp9/common/vp9_systemdependent.h" 25 #include "vp9/common/vp9_systemdependent.h"
27 #include "vp9/common/vp9_tile_common.h" 26 #include "vp9/common/vp9_tile_common.h"
28 27
29 #include "vp9/encoder/vp9_cost.h" 28 #include "vp9/encoder/vp9_cost.h"
30 #include "vp9/encoder/vp9_bitstream.h" 29 #include "vp9/encoder/vp9_bitstream.h"
31 #include "vp9/encoder/vp9_encodemv.h" 30 #include "vp9/encoder/vp9_encodemv.h"
32 #include "vp9/encoder/vp9_mcomp.h" 31 #include "vp9/encoder/vp9_mcomp.h"
33 #include "vp9/encoder/vp9_segmentation.h" 32 #include "vp9/encoder/vp9_segmentation.h"
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 first_part_size = write_compressed_header(cpi, data); 1215 first_part_size = write_compressed_header(cpi, data);
1217 data += first_part_size; 1216 data += first_part_size;
1218 // TODO(jbb): Figure out what to do if first_part_size > 16 bits. 1217 // TODO(jbb): Figure out what to do if first_part_size > 16 bits.
1219 vp9_wb_write_literal(&saved_wb, (int)first_part_size, 16); 1218 vp9_wb_write_literal(&saved_wb, (int)first_part_size, 16);
1220 1219
1221 data += encode_tiles(cpi, data); 1220 data += encode_tiles(cpi, data);
1222 1221
1223 *size = data - dest; 1222 *size = data - dest;
1224 } 1223 }
1225 1224
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_aq_complexity.c ('k') | source/libvpx/vp9/encoder/vp9_block.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698