summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-06-12 10:21:46 -0700
committerGitHub <[email protected]>2017-06-12 10:21:46 -0700
commite8e6af1ec69651c540fd04ae5417c77a8dc1c9ae (patch)
treea1cbcad17a6b9742dd208b38a2d5295550cba9cd /libhb/hb_json.c
parentc72396f91d2b9535f3873d8dd5dc8b7ea1b4c28e (diff)
opencl: removit it (#777)
It was only used for scaling, it fails far too often and is only faster on a limited selectoin of hardware.
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r--libhb/hb_json.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index 32975785d..3d42078f7 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -396,8 +396,8 @@ hb_dict_t* hb_job_to_dict( const hb_job_t * job )
"s:{s:o, s:o, s:o,},"
// PAR {Num, Den}
"s:{s:o, s:o},"
- // Video {Encoder, OpenCL, QSV {Decode, AsyncDepth}}
- "s:{s:o, s:o, s:{s:o, s:o}},"
+ // Video {Encoder, QSV {Decode, AsyncDepth}}
+ "s:{s:o, s:{s:o, s:o}},"
// Audio {CopyMask, FallbackEncoder, AudioList []}
"s:{s:[], s:o, s:[]},"
// Subtitles {Search {Enable, Forced, Default, Burn}, SubtitleList []}
@@ -421,7 +421,6 @@ hb_dict_t* hb_job_to_dict( const hb_job_t * job )
"Den", hb_value_int(job->par.den),
"Video",
"Encoder", hb_value_int(job->vcodec),
- "OpenCL", hb_value_bool(job->use_opencl),
"QSV",
"Decode", hb_value_bool(job->qsv.decode),
"AsyncDepth", hb_value_int(job->qsv.async_depth),
@@ -860,10 +859,10 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict )
"s?{s:i, s:i},"
// Video {Codec, Quality, Bitrate, Preset, Tune, Profile, Level, Options
// TwoPass, Turbo, ColorMatrixCode,
- // OpenCL, QSV {Decode, AsyncDepth}}
+ // QSV {Decode, AsyncDepth}}
"s:{s:o, s?f, s?i, s?s, s?s, s?s, s?s, s?s,"
" s?b, s?b, s?i,"
- " s?b, s?{s?b, s?i}},"
+ " s?{s?b, s?i}},"
// Audio {CopyMask, FallbackEncoder, AudioList}
"s?{s?o, s?o, s?o},"
// Subtitle {Search {Enable, Forced, Default, Burn}, SubtitleList}
@@ -905,7 +904,6 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict )
"TwoPass", unpack_b(&job->twopass),
"Turbo", unpack_b(&job->fastfirstpass),
"ColorMatrixCode", unpack_i(&job->color_matrix_code),
- "OpenCL", unpack_b(&job->use_opencl),
"QSV",
"Decode", unpack_b(&job->qsv.decode),
"AsyncDepth", unpack_i(&job->qsv.async_depth),