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

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

Issue 394353005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 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/vp9/common/vp9_alloccommon.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
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 img->x_chroma_shift = 1; 262 img->x_chroma_shift = 1;
263 img->y_chroma_shift = 1; 263 img->y_chroma_shift = 1;
264 img->planes[VPX_PLANE_Y] = yv12->y_buffer; 264 img->planes[VPX_PLANE_Y] = yv12->y_buffer;
265 img->planes[VPX_PLANE_U] = yv12->u_buffer; 265 img->planes[VPX_PLANE_U] = yv12->u_buffer;
266 img->planes[VPX_PLANE_V] = yv12->v_buffer; 266 img->planes[VPX_PLANE_V] = yv12->v_buffer;
267 img->planes[VPX_PLANE_ALPHA] = NULL; 267 img->planes[VPX_PLANE_ALPHA] = NULL;
268 img->stride[VPX_PLANE_Y] = yv12->y_stride; 268 img->stride[VPX_PLANE_Y] = yv12->y_stride;
269 img->stride[VPX_PLANE_U] = yv12->uv_stride; 269 img->stride[VPX_PLANE_U] = yv12->uv_stride;
270 img->stride[VPX_PLANE_V] = yv12->uv_stride; 270 img->stride[VPX_PLANE_V] = yv12->uv_stride;
271 img->stride[VPX_PLANE_ALPHA] = yv12->y_stride; 271 img->stride[VPX_PLANE_ALPHA] = yv12->y_stride;
272 img->bit_depth = 8;
272 img->bps = 12; 273 img->bps = 12;
273 img->user_priv = user_priv; 274 img->user_priv = user_priv;
274 img->img_data = yv12->buffer_alloc; 275 img->img_data = yv12->buffer_alloc;
275 img->img_data_owner = 0; 276 img->img_data_owner = 0;
276 img->self_allocd = 0; 277 img->self_allocd = 0;
277 } 278 }
278 279
279 static int 280 static int
280 update_fragments(vpx_codec_alg_priv_t *ctx, 281 update_fragments(vpx_codec_alg_priv_t *ctx,
281 const uint8_t *data, 282 const uint8_t *data,
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 }, 805 },
805 { /* encoder functions */ 806 { /* encoder functions */
806 NOT_IMPLEMENTED, 807 NOT_IMPLEMENTED,
807 NOT_IMPLEMENTED, 808 NOT_IMPLEMENTED,
808 NOT_IMPLEMENTED, 809 NOT_IMPLEMENTED,
809 NOT_IMPLEMENTED, 810 NOT_IMPLEMENTED,
810 NOT_IMPLEMENTED, 811 NOT_IMPLEMENTED,
811 NOT_IMPLEMENTED 812 NOT_IMPLEMENTED
812 } 813 }
813 }; 814 };
OLDNEW
« no previous file with comments | « source/libvpx/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp9/common/vp9_alloccommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698