History

avcodec: deprecate AVCodecContext.debug_mv

It's been unused for almost three years now.

James Almer committed 5 years ago

Commit 56709ca1 parent c3f3b564 files · +12 −5Browse files

Unified · Split

4 files
  1. doc/APIchanges +4 −0
  2. libavcodec/avcodec.h +4 −3
  3. libavcodec/pthread_frame.c +0 −1
  4. libavcodec/version.h +4 −1
doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2017-10-21 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182021-01-25 - xxxxxxxxxx - lavc 58.119.100 - avcodec.h
19 Deprecate AVCodecContext.debug_mv, FF_DEBUG_VIS_MV_P_FOR, FF_DEBUG_VIS_MV_B_FOR,
20 FF_DEBUG_VIS_MV_B_BACK
21
182021-01-11 - xxxxxxxxxx - lavc 58.116.100 - avcodec.h222021-01-11 - xxxxxxxxxx - lavc 58.116.100 - avcodec.h
19 Add FF_PROFILE_VVC_MAIN_10 and FF_PROFILE_VVC_MAIN_10_444.23 Add FF_PROFILE_VVC_MAIN_10 and FF_PROFILE_VVC_MAIN_10_444.
20 24
libavcodec/avcodec.h+4−3
@@ -2141,15 +2141,16 @@ typedef struct AVCodecContext { · 2140 unmodified lines
2141 */2141 */
2142 int seek_preroll;2142 int seek_preroll;
2143 2143
2144#if FF_API_DEBUG_MV
2144 /**2145 /**
2145 * debug motion vectors2146 * @deprecated unused
2146 * - encoding: Set by user.
2147 * - decoding: Set by user.
2148 */2147 */
2148 attribute_deprecated
2149 int debug_mv;2149 int debug_mv;
2150#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames2150#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames
2151#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames2151#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames
2152#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames2152#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames
2153#endif
2153 2154
2154 /**2155 /**
2155 * custom intra quantization matrix2156 * custom intra quantization matrix
libavcodec/pthread_frame.c+0−1
@@ -342,7 +342,6 @@ static int update_context_from_user(AVCodecContext *dst, AVCodecContext *src) · 341 unmodified lines
342 342
343 dst->opaque = src->opaque;343 dst->opaque = src->opaque;
344 dst->debug = src->debug;344 dst->debug = src->debug;
345 dst->debug_mv = src->debug_mv;
346 345
347 dst->slice_flags = src->slice_flags;346 dst->slice_flags = src->slice_flags;
348 dst->flags2 = src->flags2;347 dst->flags2 = src->flags2;
libavcodec/version.h+4−1
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#include "libavutil/version.h"28#include "libavutil/version.h"
29 29
30#define LIBAVCODEC_VERSION_MAJOR 5830#define LIBAVCODEC_VERSION_MAJOR 58
31#define LIBAVCODEC_VERSION_MINOR 11831#define LIBAVCODEC_VERSION_MINOR 119
32#define LIBAVCODEC_VERSION_MICRO 10032#define LIBAVCODEC_VERSION_MICRO 100
33 33
34#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \34#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
@@ -147,5 +147,8 @@ · 112 unmodified lines
147#ifndef FF_API_THREAD_SAFE_CALLBACKS147#ifndef FF_API_THREAD_SAFE_CALLBACKS
148#define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60)148#define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60)
149#endif149#endif
150#ifndef FF_API_DEBUG_MV
151#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 60)
152#endif
150 153
151#endif /* AVCODEC_VERSION_H */154#endif /* AVCODEC_VERSION_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t