| OLD | NEW |
| 1 /* | 1 /* |
| 2 * copyright (c) 2001 Fabrice Bellard | 2 * copyright (c) 2001 Fabrice Bellard |
| 3 * | 3 * |
| 4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
| 5 * | 5 * |
| 6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 /** | 24 /** |
| 25 * @file | 25 * @file |
| 26 * external API header | 26 * external API header |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include <errno.h> | 29 #include <errno.h> |
| 30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
| 31 #include "libavutil/cpu.h" | 31 #include "libavutil/cpu.h" |
| 32 | 32 |
| 33 #define LIBAVCODEC_VERSION_MAJOR 52 | 33 #define LIBAVCODEC_VERSION_MAJOR 52 |
| 34 #define LIBAVCODEC_VERSION_MINOR 93 | 34 #define LIBAVCODEC_VERSION_MINOR 94 |
| 35 #define LIBAVCODEC_VERSION_MICRO 0 | 35 #define LIBAVCODEC_VERSION_MICRO 0 |
| 36 | 36 |
| 37 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 37 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 38 LIBAVCODEC_VERSION_MINOR, \ | 38 LIBAVCODEC_VERSION_MINOR, \ |
| 39 LIBAVCODEC_VERSION_MICRO) | 39 LIBAVCODEC_VERSION_MICRO) |
| 40 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | 40 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ |
| 41 LIBAVCODEC_VERSION_MINOR, \ | 41 LIBAVCODEC_VERSION_MINOR, \ |
| 42 LIBAVCODEC_VERSION_MICRO) | 42 LIBAVCODEC_VERSION_MICRO) |
| 43 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | 43 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
| 44 | 44 |
| (...skipping 2715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2760 enum AVLPCType lpc_type; | 2760 enum AVLPCType lpc_type; |
| 2761 | 2761 |
| 2762 /** | 2762 /** |
| 2763 * Number of passes to use for Cholesky factorization during LPC analysis | 2763 * Number of passes to use for Cholesky factorization during LPC analysis |
| 2764 * - encoding: Set by user | 2764 * - encoding: Set by user |
| 2765 * - decoding: unused | 2765 * - decoding: unused |
| 2766 */ | 2766 */ |
| 2767 int lpc_passes; | 2767 int lpc_passes; |
| 2768 | 2768 |
| 2769 /** | 2769 /** |
| 2770 * Number of slices. |
| 2771 * Indicates number of picture subdivisions. Used for parallelized |
| 2772 * decoding. |
| 2773 * - encoding: Set by user |
| 2774 * - decoding: unused |
| 2775 */ |
| 2776 int slices; |
| 2777 |
| 2778 /** |
| 2770 * Whether this is a copy of the context which had init() called on it. | 2779 * Whether this is a copy of the context which had init() called on it. |
| 2771 * This is used by multithreading - shared tables and picture pointers | 2780 * This is used by multithreading - shared tables and picture pointers |
| 2772 * should be freed from the original context only. | 2781 * should be freed from the original context only. |
| 2773 * - encoding: Set by libavcodec. | 2782 * - encoding: Set by libavcodec. |
| 2774 * - decoding: Set by libavcodec. | 2783 * - decoding: Set by libavcodec. |
| 2775 */ | 2784 */ |
| 2776 int is_copy; | 2785 int is_copy; |
| 2777 | 2786 |
| 2778 /** | 2787 /** |
| 2779 * Which multithreading methods to use. | 2788 * Which multithreading methods to use. |
| (...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4176 * @param cb User defined callback. Note: FFmpeg may invoke calls to this | 4185 * @param cb User defined callback. Note: FFmpeg may invoke calls to this |
| 4177 * callback during the call to av_lockmgr_register(). | 4186 * callback during the call to av_lockmgr_register(). |
| 4178 * Thus, the application must be prepared to handle that. | 4187 * Thus, the application must be prepared to handle that. |
| 4179 * If cb is set to NULL the lockmgr will be unregistered. | 4188 * If cb is set to NULL the lockmgr will be unregistered. |
| 4180 * Also note that during unregistration the previously registered | 4189 * Also note that during unregistration the previously registered |
| 4181 * lockmgr callback may also be invoked. | 4190 * lockmgr callback may also be invoked. |
| 4182 */ | 4191 */ |
| 4183 int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); | 4192 int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op)); |
| 4184 | 4193 |
| 4185 #endif /* AVCODEC_AVCODEC_H */ | 4194 #endif /* AVCODEC_AVCODEC_H */ |
| OLD | NEW |