| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 /** control function to invert the decoding order to from right to left. The | 99 /** control function to invert the decoding order to from right to left. The |
| 100 * function is used in a test to confirm the decoding independence of tile | 100 * function is used in a test to confirm the decoding independence of tile |
| 101 * columns. The function may be used in application where this order | 101 * columns. The function may be used in application where this order |
| 102 * of decoding is desired. | 102 * of decoding is desired. |
| 103 * | 103 * |
| 104 * TODO(yaowu): Rework the unit test that uses this control, and in a future | 104 * TODO(yaowu): Rework the unit test that uses this control, and in a future |
| 105 * release, this test-only control shall be removed. | 105 * release, this test-only control shall be removed. |
| 106 */ | 106 */ |
| 107 VP9_INVERT_TILE_DECODE_ORDER, | 107 VP9_INVERT_TILE_DECODE_ORDER, |
| 108 | 108 |
| 109 /** control function to set the skip loop filter flag. Valid values are |
| 110 * integers. The decoder will skip the loop filter when its value is set to |
| 111 * nonzero. If the loop filter is skipped the decoder may accumulate decode |
| 112 * artifacts. The default value is 0. |
| 113 */ |
| 114 VP9_SET_SKIP_LOOP_FILTER, |
| 115 |
| 109 VP8_DECODER_CTRL_ID_MAX | 116 VP8_DECODER_CTRL_ID_MAX |
| 110 }; | 117 }; |
| 111 | 118 |
| 112 /** Decrypt n bytes of data from input -> output, using the decrypt_state | 119 /** Decrypt n bytes of data from input -> output, using the decrypt_state |
| 113 * passed in VPXD_SET_DECRYPTOR. | 120 * passed in VPXD_SET_DECRYPTOR. |
| 114 */ | 121 */ |
| 115 typedef void (*vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input, | 122 typedef void (*vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input, |
| 116 unsigned char *output, int count); | 123 unsigned char *output, int count); |
| 117 | 124 |
| 118 /*!\brief Structure to hold decryption state | 125 /*!\brief Structure to hold decryption state |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 VPX_CTRL_USE_TYPE(VP9D_GET_FRAME_SIZE, int *) | 157 VPX_CTRL_USE_TYPE(VP9D_GET_FRAME_SIZE, int *) |
| 151 VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int) | 158 VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int) |
| 152 | 159 |
| 153 /*! @} - end defgroup vp8_decoder */ | 160 /*! @} - end defgroup vp8_decoder */ |
| 154 | 161 |
| 155 #ifdef __cplusplus | 162 #ifdef __cplusplus |
| 156 } // extern "C" | 163 } // extern "C" |
| 157 #endif | 164 #endif |
| 158 | 165 |
| 159 #endif // VPX_VP8DX_H_ | 166 #endif // VPX_VP8DX_H_ |
| OLD | NEW |