summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-09-12 14:40:29 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-01-21 15:33:19 -0500
commit5764d38173661c29d954711dd5abfddf709e9ba4 (patch)
treee5654771a1bb8245b22ce9feab7d7e1347fc5407 /libavcodec/avcodec.h
parent0ac9f33a9e69c64eee592791be3c5441a6a3d6b7 (diff)
lavc: Move chromaoffset to codec private options
This option is only used by x264 and xavs. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 160ab60de2..355e6f6729 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1978,12 +1978,11 @@ typedef struct AVCodecContext {
*/
int refs;
- /**
- * chroma qp offset from luma
- * - encoding: Set by user.
- * - decoding: unused
- */
+#if FF_API_PRIVATE_OPT
+ /** @deprecated use encoder private options instead */
+ attribute_deprecated
int chromaoffset;
+#endif
#if FF_API_UNUSED_MEMBERS
/**