summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* libhb fix some typos in hb_preset_apply_filters().Rodeo2015-06-281-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7330 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: be more picky about marking an encoder as available.Rodeo2015-06-271-6/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7329 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: check for Skylake hardware-accelerated HEVC encoder.Rodeo2015-06-271-1/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7328 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: load required plug-ins before encoding, too.Rodeo2015-06-273-47/+115
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7327 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: add new capability guards for some extended video parameter buffers.Rodeo2015-06-273-69/+246
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7326 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: parse and print profile & level in a codec-agnostic way.Rodeo2015-06-273-87/+207
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: B-pyramid support is codec-specific.Rodeo2015-06-271-8/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7324 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: cleanup LookAheadDepth handling.Rodeo2015-06-272-3/+7
| | | | | | | When possible, allow a value of 100 for users that might want it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7323 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove HB_API_OLD_PRESET_GETTERS cruft.Rodeo2015-06-273-39/+0
| | | | | | | None of the frontends are using it anymore. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7322 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add new preset function to header filejstebbins2015-06-241-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7315 b64f7644-9d1e-0410-96f1-a4d463321fa5
* presets: add hb_presets_read_file_json()jstebbins2015-06-241-0/+13
| | | | | | | First tries to intrepret file as json. If that fails, tries plist. Returns a json string. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7314 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: re-work OpenCL cleanup a bit.Rodeo2015-06-232-8/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7313 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: make hb_va_create_dxva2 less verbose.Rodeo2015-06-231-6/+7
| | | | | | | | Since we can easily fall back on the software decoder, these errors aren't exactly fatal. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7312 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: check if a compatible AVHWAccel exists for the input codec.Rodeo2015-06-231-4/+17
| | | | | | | Otherwise, disable DXVA2 support for the title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7311 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: cleanup decode support checks.Rodeo2015-06-237-56/+54
| | | | | | | This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor cleanup after last commit.Rodeo2015-06-232-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add DXVA2-accelerated HEVC decoding.Rodeo2015-06-234-3/+23
| | | | | | | Patch by Zhang Zhiqiang. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7308 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix application of custom anamorphic settingsjstebbins2015-06-141-2/+2
| | | | | | | Thanks to wickning1 in the forums https://forum.handbrake.fr/viewtopic.php?f=4&t=32631&sid=e05d32d1f34bbcaab59d321f6c6222cf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7296 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Allow log level changes and update checks *after* hb_init()jstebbins2015-06-123-98/+36
| | | | | | | | | | | - In the CLI, this allows calling hb_init() before parsing args, which permits us to see any libhb log messages that are generated during option parsing. These messages were hidden before. - In the GUIs, this allows dynamic changes to log level. Previously an application restart was required. I have only updated the LinGui to take advantage of this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7295 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: log json job stringjstebbins2015-06-091-0/+2
| | | | | | | For now, the log leve of this is 1. When we feel that the json job code has stabilized, we may want to change the log level to 2 or 3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Eliminate string length limit in hb_valogjstebbins2015-06-092-19/+49
| | | | | | | | This eliminates the length limit of all libhb logging functions. The previous limit was 361 chars. Now it is only limited by available memory. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7280 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx265: fix regression introduced in SVN revision 6366.Rodeo2015-06-081-6/+2
| | | | | | | Unknown options and bad values were never fatal for any libhb encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7278 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bd: use the correct printf specifier for unsigned variables.Rodeo2015-06-031-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7273 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bd: fix printf warningsjstebbins2015-06-031-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix green bottom line in preview with deinterlacejstebbins2015-06-031-0/+1
| | | | | | ... and "fast" deinterlace git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Initialize the copy_mask variable before using itritsuka2015-06-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7266 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix flac fallback for passthruritsuka2015-06-031-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7263 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decomb: fix color distortion in last row of imagejstebbins2015-06-011-3/+28
| | | | | | Prevent blending uninitialized lines of data into last row. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix three warnings.ritsuka2015-06-011-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix a couple of memory leaksjstebbins2015-06-011-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7254 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of VideoScaler to jobjstebbins2015-05-291-1/+1
| | | | | | | Broken strcasecmp conditional caused OpenCl to be added to the job when it should not have been and *not* added to the job when it should. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix issues with video optionsjstebbins2015-05-282-0/+21
| | | | | | | | | | Fixes: https://forum.handbrake.fr/viewtopic.php?f=10&t=32535&sid=321e6d1092fd09c8d380e13e86d1a9ee - Sanitize empty video encoder settings strings to NULL. - In the CLI, use encoder defaults if user changes the preset's video encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to initialize job...jstebbins2015-05-272-319/+378
| | | | | | | ...and set some job settings as values change in the UI. This eliminates a large chunk of job setup code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: skip scan if title has already been scannedjstebbins2015-05-264-4/+36
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix vorbis encodingjstebbins2015-05-251-1/+1
| | | | | | | Was broken when we switched to using EOF flag instead of 0 length buffer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset: fix application of mp4 mux optionsjstebbins2015-05-241-1/+1
| | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=10&t=32445&p=151040#p151008 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use libhb to init audio and subtitle listsjstebbins2015-05-201-1/+12
| | | | | | | This eliminates a lot of essentially duplicate code in LinGui for initializing these lists. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: assume remix support when input layout is not set.Rodeo2015-05-191-0/+8
| | | | | | | | Allows querying an encoder's default mixdown from places where the input channel layout is unavailable (e.g. audio defaults panel). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dict: make hb_value_get_json param constjstebbins2015-05-182-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7208 b64f7644-9d1e-0410-96f1-a4d463321fa5
* preset_template: allow all supported passthru codecs by default.Rodeo2015-05-173-9/+21
| | | | | | | | That way, very old presets and (more importantly) built-in presets do not force a restricted copy mask on the user. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make libFDK the default (HE-)AAC encoder.Rodeo2015-05-171-1/+1
| | | | | | | | | | It's almost as fast as libavcodec's native encoder and offers much better audio quality at any bitrate. Under OS X, Apple's encoder is still used by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: return the global bitrate limits for a given mixdown when the ↵Rodeo2015-05-161-0/+14
| | | | | | samplerate is not known. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow negative number in hb_validate_filter_settings. Fix deinterlace ↵ritsuka2015-05-161-2/+2
| | | | | | settings validation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7193 b64f7644-9d1e-0410-96f1-a4d463321fa5
* rotate: Use more intuitive rotation parametersjstebbins2015-05-151-16/+75
| | | | | | Instead of cryptic bit flags, allow "angle:mirror" parameter git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* presets: add new UserPresets.json path for osx cli presetsjstebbins2015-05-141-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7184 b64f7644-9d1e-0410-96f1-a4d463321fa5
* lingui: use libhb preset management from linux guijstebbins2015-05-1411-934/+1580
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix --heightjstebbins2015-05-141-0/+10
| | | | | | | | Didn't set the proper flag to make hb_set_anamorphic_size prefer keeping the height over the width. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7178 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix initialization of encode rangesjstebbins2015-05-131-0/+2
| | | | | | | | | | | The default chapter start or end was used if one but not the other of start-at/stop-at were used. Also don't overwrite current pass and pass_count status in hb_state_t while searching for the position to start encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: increase scan size thresh to accomodate raw 4K avijstebbins2015-05-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* cli: fix missing subtitle "Default" flag when --all-subtitles is usedjstebbins2015-05-111-1/+12
| | | | | | | Also fix case that can cause all subtitles to be added twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7169 b64f7644-9d1e-0410-96f1-a4d463321fa5