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

Side by Side Diff: source/libvpx/vp8/vp8_dx_iface.c

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 #include <stdlib.h> 12 #include <stdlib.h>
13 #include <string.h> 13 #include <string.h>
14 #include "vpx_rtcd.h" 14 #include "vp8_rtcd.h"
15 #include "vpx/vpx_decoder.h" 15 #include "vpx/vpx_decoder.h"
16 #include "vpx/vp8dx.h" 16 #include "vpx/vp8dx.h"
17 #include "vpx/internal/vpx_codec_internal.h" 17 #include "vpx/internal/vpx_codec_internal.h"
18 #include "vpx_version.h" 18 #include "vpx_version.h"
19 #include "common/onyxd.h" 19 #include "common/onyxd.h"
20 #include "decoder/onyxd_int.h" 20 #include "decoder/onyxd_int.h"
21 #include "common/alloccommon.h" 21 #include "common/alloccommon.h"
22 #include "vpx_mem/vpx_mem.h" 22 #include "vpx_mem/vpx_mem.h"
23 #if CONFIG_ERROR_CONCEALMENT 23 #if CONFIG_ERROR_CONCEALMENT
24 #include "decoder/error_concealment.h" 24 #include "decoder/error_concealment.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 { 187 {
188 /* nothing to clean up */ 188 /* nothing to clean up */
189 } 189 }
190 190
191 static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx, 191 static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx,
192 vpx_codec_priv_enc_mr_cfg_t *data) 192 vpx_codec_priv_enc_mr_cfg_t *data)
193 { 193 {
194 vpx_codec_err_t res = VPX_CODEC_OK; 194 vpx_codec_err_t res = VPX_CODEC_OK;
195 (void) data; 195 (void) data;
196 196
197 vpx_rtcd(); 197 vp8_rtcd();
198 198
199 /* This function only allocates space for the vpx_codec_alg_priv_t 199 /* This function only allocates space for the vpx_codec_alg_priv_t
200 * structure. More memory may be required at the time the stream 200 * structure. More memory may be required at the time the stream
201 * information becomes known. 201 * information becomes known.
202 */ 202 */
203 if (!ctx->priv) 203 if (!ctx->priv)
204 { 204 {
205 vpx_codec_mmap_t mmap; 205 vpx_codec_mmap_t mmap;
206 206
207 mmap.id = vp8_mem_req_segs[0].id; 207 mmap.id = vp8_mem_req_segs[0].id;
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 }, 893 },
894 { /* encoder functions */ 894 { /* encoder functions */
895 NOT_IMPLEMENTED, 895 NOT_IMPLEMENTED,
896 NOT_IMPLEMENTED, 896 NOT_IMPLEMENTED,
897 NOT_IMPLEMENTED, 897 NOT_IMPLEMENTED,
898 NOT_IMPLEMENTED, 898 NOT_IMPLEMENTED,
899 NOT_IMPLEMENTED, 899 NOT_IMPLEMENTED,
900 NOT_IMPLEMENTED 900 NOT_IMPLEMENTED
901 } 901 }
902 }; 902 };
OLDNEW
« libvpx.gyp ('K') | « source/libvpx/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp8/vp8cx.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698