summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* Update year to 2015.bradleys2015-02-0186-86/+86
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6852 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: refactor plugin loadingRodeo2015-02-011-18/+32
| | | | | | | We may need to load more than one plugin per session, e.g. one for decoding and one for encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6851 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: reduce logging in encqsvInitRodeo2015-02-011-23/+27
| | | | | | | Only log non-essential parameters when their values differ from our global default; this avoids tempting users with options they know nothing about. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6850 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: update hb_qsv_force_workarounds()Rodeo2015-02-011-4/+6
| | | | | | | Disabling API 1.6 detection is no longer required (our own DTS is now always available); disabling BRefType support may be useful to check that our old B-Pyramid code still works with newer drivers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6849 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: improve ICQ and LA handlingRodeo2015-02-011-2/+2
| | | | | | | ICQ is incompatible with ABR encoding; LA is incompatible with CQP. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6848 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: improve B-Pyramid handling.Rodeo2015-02-011-110/+139
| | | | | | | Newer drivers support enabling/disabling it via a dedicated option without having to modify other GOP parameters. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6847 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: refactor logging of encoder capabilitiesRodeo2015-02-012-24/+69
| | | | | | | | | | | Only log H.265/HEVC information with verbosity 2, as encoding is not supported yet. Log H.264 capabilities with verbosity 1, as this may be useful and doesn't take up that much space. Shorten the string as much as possible. Also rename NMBSLICE capability to NMPSLICE (Num Mb Per Slice) for consistency. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6846 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add support for open type font attachments.ritsuka2015-01-314-11/+25
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: fix avformat stream time_base warningjstebbins2015-01-301-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: automatically add rendersub filter when requiredjstebbins2015-01-303-30/+51
| | | | | | | | | | | | This requires the addition of a filter->post_init function to inform filters of the final job configuration after all filters have been initialized. Rendersub needs to know cropping, but cropping isn't known till after crop_scale filter is initialized. Since crop_scale is initialized *after* rendersub is initialized, post_init is needed. Currently, rendersub is the only filter that defines post_init. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6830 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: NLMeans x86 SSE acceleration/optimizations.bradleys2015-01-294-36/+268
| | | | | | | | Speed improvements of 1-6% seem typical. Most benefit seems to be for older hardware and/or hardware with fewer threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6826 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Build: fix compilation with some MinGW-w64 distributions.Rodeo2015-01-281-0/+8
| | | | | | | Some distributions provide their own strtok_r via a preprocessor directive, which conflicts with our implementation; prefer our own as it is thread-safe. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: revert last commitjstebbins2015-01-221-4/+2
| | | | | | | | made a bad assumption. internal libhb track number is not needed by the front-end git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add "Track" to audio and subtitle in titlesjstebbins2015-01-221-2/+4
| | | | | | | | This is the track that must be passed to libhb in the job to select desired audio and subtitle tracks git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: fix mingw Jenkins buildsjstebbins2015-01-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6773 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Work around fedora mingw pthread library requirementjstebbins2015-01-182-2/+11
| | | | | | | | | | Fedora mingw seems to require it's own pthread library which causes build conflicts with our pthread lib. So this patch distinguishes whether libpthread or libpthreadGC2 is already installed on the system and uses the appropriate system lib when found. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6766 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix srt filename parsingjstebbins2015-01-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6762 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dvd: demote an hb_error to hb_log to prevent GUI error dialog spamjstebbins2015-01-151-1/+1
| | | | | | | This "error" always happens with non-dvd sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6755 b64f7644-9d1e-0410-96f1-a4d463321fa5
* stream: Fix scanning files with large PNGsjstebbins2015-01-141-1/+15
| | | | | | | | Increase libavformat probe buffer size. The default size of 5MB is not large enough to successfully scan some files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix libdvdnav dvd name and add additional fallback if no name is foundritsuka2015-01-131-1/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6744 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert a change Xcode committed on its own.ritsuka2015-01-131-8/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-131-1/+8
| | | | | | controllers. Now it's possible to create a HBJob and apply a preset to without the UI classes help. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-124-26/+43
| | | | | | | | | Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: simplify hb_add_json APIjstebbins2015-01-111-10/+25
| | | | | | | | Now automatically adds subtitle scan and 2-pass encoding jobs. Changed "Pass" integer to "TwoPass" boolean to facilite this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix parsing of SRT subtitlesjstebbins2015-01-111-1/+1
| | | | | | | Previously required "Track" < 0 which is unintuitive and unnecessary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6730 b64f7644-9d1e-0410-96f1-a4d463321fa5
* rendersub: fix small blending errorjstebbins2015-01-101-3/+3
| | | | | | | | The error is really small, but visible over some backgrounds. See https://forum.handbrake.fr/viewtopic.php?f=5&t=30942 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix some leaks in OpenCL code. https://reviews.handbrake.fr/r/779/ritsuka2015-01-101-39/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6715 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: reduce framerate fps/num for all encoders.Rodeo2015-01-091-0/+7
| | | | | | | | Some encoders do it on their own, but others don't, so do it unconditionally for consistency. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6714 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: only sanitize PAR for the MPEG-4 encoder.Rodeo2015-01-091-17/+7
| | | | | | | | | The MPEG-2 and VP8 encoders will initialize fine regardless, and the PAR will be stored at the container, not the bitstream level. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6713 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: disable AdaptiveI/B options by default.Rodeo2015-01-091-2/+2
| | | | | | | | | | Detection of the features' availability is not 100% reliable yet, and the encoder could fail to initialize if the options are enabled but not supported by the graphics driver. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix job configuration when qsv removes all filtersjstebbins2015-01-051-0/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6688 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: simplify job initializationjstebbins2015-01-032-22/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6683 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix access to uninitialized variables in hb_set_anamorphic_size2jstebbins2015-01-031-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6682 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: initialize the buffer pool only oncejstebbins2014-12-291-5/+5
| | | | | | | | We leak a little memory for the buffer pool lists if we initialize it with every new hb_handle_t. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6673 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add "Codec" to audio list itemsjstebbins2014-12-233-0/+17
| | | | | | | and add hb_audio_can_apply_drc2 API which doesn't require audio codec_param git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: eliminate refereces to libmkvjstebbins2014-12-231-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6649 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: eliminate unnecessary references to mp4v2jstebbins2014-12-232-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6648 b64f7644-9d1e-0410-96f1-a4d463321fa5
* eliminate job->largeFileSizejstebbins2014-12-233-10/+3
| | | | | | | It is no longer needed since we eliminated mp4v2 support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove dead codejstebbins2014-12-232-10/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6646 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove hb_job_resetjstebbins2014-12-222-55/+0
| | | | | | | It is no longer needed by the mac ui git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6641 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove deprecated job and title fieldsjstebbins2014-12-221-26/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6639 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix hb_get_preview_jsonjstebbins2014-12-192-11/+136
| | | | | | | and add some routines for json conversion of preview parameters and images git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6614 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add hb_image_init to create blank imagesjstebbins2014-12-192-0/+81
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6613 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make hb_get_preview2 always return a valid imagejstebbins2014-12-191-3/+8
| | | | | | | When we fail to read the preview image, create a blank image git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6612 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix plane size in hb_get_preview_image_jsonjstebbins2014-12-191-0/+1
| | | | | | | The actual size of the base64 encoded data is the length of the string git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6611 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix memory leak in hb_get_preview_jsonjstebbins2014-12-191-0/+1
| | | | | | | forgot to call hb_image_close on the image git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6610 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add hb_get_preview_jsonjstebbins2014-12-191-2/+112
| | | | | | | | | | | | | | No idea if it actually works as advertised. Probably not ;) Returns a json representation of an hb_image_t with the data encoded in base64. Also, fix a bug in hb_set_anamorphic_size_json that probably would have cause it to just fail. And fix a couple of memory leaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6609 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: fix building with --enable-hwdjstebbins2014-12-182-13/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: separate the video settings logic from the view controller. There ↵ritsuka2014-12-181-0/+1
| | | | | | are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mux: fix format of ssa preamblejstebbins2014-12-161-11/+12
| | | | | | | | sprintf decimal specifier was using the system local to insert a ',' where there should have been a '.' git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6604 b64f7644-9d1e-0410-96f1-a4d463321fa5