| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 }; |
| OLD | NEW |