XvMC was last relevant over 10 years ago, if ever. There is no reason to use it today.
Showing the changes to libavcodec/avcodec.h (1 of 15 files). Show all
Unified · Split
| @@ -2119,7 +2119,6 @@ typedef struct AVHWAccel { · 2118 unmodified lines | ||
| 2119 | 2119 | * |
| 2120 | 2120 | * Meaningful slice information (codec specific) is guaranteed to |
| 2121 | 2121 | * be parsed at this point. This function is mandatory. |
| 2122 | − * The only exception is XvMC, that works on MB level. | |
| 2123 | 2122 | * |
| 2124 | 2123 | * @param avctx the codec context |
| 2125 | 2124 | * @param buf the slice data buffer base |
| @@ -2148,17 +2147,6 @@ typedef struct AVHWAccel { · 22 unmodified lines | ||
| 2148 | 2147 | */ |
| 2149 | 2148 | int frame_priv_data_size; |
| 2150 | 2149 | |
| 2151 | − /** | |
| 2152 | − * Called for every Macroblock in a slice. | |
| 2153 | − * | |
| 2154 | − * XvMC uses it to replace the ff_mpv_reconstruct_mb(). | |
| 2155 | − * Instead of decoding to raw picture, MB parameters are | |
| 2156 | − * stored in an array provided by the video driver. | |
| 2157 | − * | |
| 2158 | − * @param s the mpeg context | |
| 2159 | − */ | |
| 2160 | − void (*decode_mb)(struct MpegEncContext *s); | |
| 2161 | − | |
| 2162 | 2150 | /** |
| 2163 | 2151 | * Initialize the hwaccel private data. |
| 2164 | 2152 | * |