Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Turkin <andrey.turkin@gmail.com>2016-05-25 17:26:25 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2016-05-31 16:48:43 +0300
commit9824321b321448854102070383aa99fa8e56f491 (patch)
treed14651e51146a1b878bfeb49cbf01c71e39e2594 /libavcodec/nvenc.h
parentfaffff88c21c24765e5a3c87ffc657b191c4efc0 (diff)
avcodec/nvenc: convert profile parsing to AVOptions
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index 5b81fc8667..b5a0a2abf0 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -120,6 +120,13 @@ enum {
};
enum {
+ NV_ENC_H264_PROFILE_BASELINE,
+ NV_ENC_H264_PROFILE_MAIN,
+ NV_ENC_H264_PROFILE_HIGH,
+ NV_ENC_H264_PROFILE_HIGH_444P,
+};
+
+enum {
NVENC_LOWLATENCY = 1,
NVENC_LOSSLESS = 2,
NVENC_ONE_PASS = 4,
@@ -160,7 +167,7 @@ typedef struct NvencContext
void *nvencoder;
int preset;
- char *profile;
+ int profile;
char *level;
char *tier;
int cbr;