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

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

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
« no previous file with comments | « source/libvpx/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp8/vp8cx_arm.mk » ('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
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 (void)si; 77 (void)si;
78 return sizeof(vpx_codec_alg_priv_t); 78 return sizeof(vpx_codec_alg_priv_t);
79 } 79 }
80 80
81 static void vp8_init_ctx(vpx_codec_ctx_t *ctx) 81 static void vp8_init_ctx(vpx_codec_ctx_t *ctx)
82 { 82 {
83 ctx->priv = 83 ctx->priv =
84 (vpx_codec_priv_t *)vpx_memalign(8, sizeof(vpx_codec_alg_priv_t)); 84 (vpx_codec_priv_t *)vpx_memalign(8, sizeof(vpx_codec_alg_priv_t));
85 vpx_memset(ctx->priv, 0, sizeof(vpx_codec_alg_priv_t)); 85 vpx_memset(ctx->priv, 0, sizeof(vpx_codec_alg_priv_t));
86 ctx->priv->sz = sizeof(*ctx->priv); 86 ctx->priv->sz = sizeof(*ctx->priv);
87 ctx->priv->iface = ctx->iface;
88 ctx->priv->alg_priv = (vpx_codec_alg_priv_t *)ctx->priv; 87 ctx->priv->alg_priv = (vpx_codec_alg_priv_t *)ctx->priv;
89 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si); 88 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si);
90 ctx->priv->alg_priv->decrypt_cb = NULL; 89 ctx->priv->alg_priv->decrypt_cb = NULL;
91 ctx->priv->alg_priv->decrypt_state = NULL; 90 ctx->priv->alg_priv->decrypt_state = NULL;
92 ctx->priv->alg_priv->flushed = 0; 91 ctx->priv->alg_priv->flushed = 0;
93 ctx->priv->init_flags = ctx->init_flags; 92 ctx->priv->init_flags = ctx->init_flags;
94 93
95 if (ctx->config.dec) 94 if (ctx->config.dec)
96 { 95 {
97 /* Update the reference to the config structure to an internal copy. */ 96 /* Update the reference to the config structure to an internal copy. */
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 { /* encoder functions */ 819 { /* encoder functions */
821 0, 820 0,
822 NOT_IMPLEMENTED, 821 NOT_IMPLEMENTED,
823 NOT_IMPLEMENTED, 822 NOT_IMPLEMENTED,
824 NOT_IMPLEMENTED, 823 NOT_IMPLEMENTED,
825 NOT_IMPLEMENTED, 824 NOT_IMPLEMENTED,
826 NOT_IMPLEMENTED, 825 NOT_IMPLEMENTED,
827 NOT_IMPLEMENTED 826 NOT_IMPLEMENTED
828 } 827 }
829 }; 828 };
OLDNEW
« no previous file with comments | « source/libvpx/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp8/vp8cx_arm.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698