lavc: Move frame_skip_* to codec private options
These options are only used by mpegvideoenc and vpx. They are very codec-specific options, so deprecate the global variants. Add an allowed value to the private options for frame_skip_cmp which seems to have been forgotten, but perfectly working. The libvpx frame dropping feature uses one of such option (frame_skip_threshold) without the other three. For this reason rename the option to something more consistent with the other libvpx variables. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -2369,33 +2369,23 @@ typedef struct AVCodecContext {
|
||||
int lmax;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* frame skip threshold
|
||||
* - encoding: Set by user.
|
||||
* - decoding: unused
|
||||
*/
|
||||
#if FF_API_PRIVATE_OPT
|
||||
/** @deprecated use encoder private options instead */
|
||||
attribute_deprecated
|
||||
int frame_skip_threshold;
|
||||
|
||||
/**
|
||||
* frame skip factor
|
||||
* - encoding: Set by user.
|
||||
* - decoding: unused
|
||||
*/
|
||||
/** @deprecated use encoder private options instead */
|
||||
attribute_deprecated
|
||||
int frame_skip_factor;
|
||||
|
||||
/**
|
||||
* frame skip exponent
|
||||
* - encoding: Set by user.
|
||||
* - decoding: unused
|
||||
*/
|
||||
/** @deprecated use encoder private options instead */
|
||||
attribute_deprecated
|
||||
int frame_skip_exp;
|
||||
|
||||
/**
|
||||
* frame skip comparison function
|
||||
* - encoding: Set by user.
|
||||
* - decoding: unused
|
||||
*/
|
||||
/** @deprecated use encoder private options instead */
|
||||
attribute_deprecated
|
||||
int frame_skip_cmp;
|
||||
#endif /* FF_API_PRIVATE_OPT */
|
||||
|
||||
/**
|
||||
* trellis RD quantization
|
||||
|
||||
Reference in New Issue
Block a user