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

Side by Side Diff: source/libvpx/vp9/decoder/vp9_decoder.h

Issue 484923003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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
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
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 YV12_BUFFER_CONFIG *sd); 71 YV12_BUFFER_CONFIG *sd);
72 72
73 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm, 73 vpx_codec_err_t vp9_set_reference_dec(VP9_COMMON *cm,
74 VP9_REFFRAME ref_frame_flag, 74 VP9_REFFRAME ref_frame_flag,
75 YV12_BUFFER_CONFIG *sd); 75 YV12_BUFFER_CONFIG *sd);
76 76
77 struct VP9Decoder *vp9_decoder_create(); 77 struct VP9Decoder *vp9_decoder_create();
78 78
79 void vp9_decoder_remove(struct VP9Decoder *pbi); 79 void vp9_decoder_remove(struct VP9Decoder *pbi);
80 80
81 static INLINE uint8_t read_marker(vpx_decrypt_cb decrypt_cb,
82 void *decrypt_state,
83 const uint8_t *data) {
84 if (decrypt_cb) {
85 uint8_t marker;
86 decrypt_cb(decrypt_state, data, &marker, 1);
87 return marker;
88 }
89 return *data;
90 }
91
92 // This function is exposed for use in tests, as well as the inlined function
93 // "read_marker".
94 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data,
95 size_t data_sz,
96 uint32_t sizes[8], int *count,
97 vpx_decrypt_cb decrypt_cb,
98 void *decrypt_state);
99
81 #ifdef __cplusplus 100 #ifdef __cplusplus
82 } // extern "C" 101 } // extern "C"
83 #endif 102 #endif
84 103
85 #endif // VP9_DECODER_VP9_DECODER_H_ 104 #endif // VP9_DECODER_VP9_DECODER_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c ('k') | source/libvpx/vp9/decoder/vp9_decoder.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698