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 14 matching lines...) Expand all Loading... |
25 #if CONFIG_VP9_POSTPROC | 25 #if CONFIG_VP9_POSTPROC |
26 #include "vp9/common/vp9_postproc.h" | 26 #include "vp9/common/vp9_postproc.h" |
27 #endif | 27 #endif |
28 #include "vp9/common/vp9_quant_common.h" | 28 #include "vp9/common/vp9_quant_common.h" |
29 #include "vp9/common/vp9_reconintra.h" | 29 #include "vp9/common/vp9_reconintra.h" |
30 #include "vp9/common/vp9_systemdependent.h" | 30 #include "vp9/common/vp9_systemdependent.h" |
31 | 31 |
32 #include "vp9/decoder/vp9_decodeframe.h" | 32 #include "vp9/decoder/vp9_decodeframe.h" |
33 #include "vp9/decoder/vp9_decoder.h" | 33 #include "vp9/decoder/vp9_decoder.h" |
34 #include "vp9/decoder/vp9_detokenize.h" | 34 #include "vp9/decoder/vp9_detokenize.h" |
35 #include "vp9/decoder/vp9_dthread.h" | |
36 | 35 |
37 static void initialize_dec(void) { | 36 static void initialize_dec(void) { |
38 static volatile int init_done = 0; | 37 static volatile int init_done = 0; |
39 | 38 |
40 if (!init_done) { | 39 if (!init_done) { |
41 vp9_rtcd(); | 40 vp9_rtcd(); |
42 vp9_init_intra_predictors(); | 41 vp9_init_intra_predictors(); |
43 init_done = 1; | 42 init_done = 1; |
44 } | 43 } |
45 } | 44 } |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 | 405 |
407 for (j = 0; j < mag; ++j) | 406 for (j = 0; j < mag; ++j) |
408 this_sz |= (*x++) << (j * 8); | 407 this_sz |= (*x++) << (j * 8); |
409 sizes[i] = this_sz; | 408 sizes[i] = this_sz; |
410 } | 409 } |
411 *count = frames; | 410 *count = frames; |
412 } | 411 } |
413 } | 412 } |
414 return VPX_CODEC_OK; | 413 return VPX_CODEC_OK; |
415 } | 414 } |
OLD | NEW |