summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* hb_json: add new hb_state_t fieldsJohn Stebbins2019-06-251-1/+4
|
* LinGui: add queue statisticsJohn Stebbins2019-06-257-70/+87
| | | | and tweak the layout per BradleyS suggestions
* build: Add --enable-hardening flag to enable stack protection and enhanced ↵Nomis1012019-06-192-0/+6
| | | | | | buffer overflow protection. Prints the hardening status on global init to the log. Closes #2027. Was #2040.
* Fix build of libhb under NetBSDRyo ONODERA2019-06-181-1/+1
| | | | | Pick up external libraries from LOCALBASE, especially libxml2.
* decvcodec: fix building with QSV disabledJohn Stebbins2019-05-271-1/+1
|
* qsv: zero-copy re-implementationmaximd332019-05-268-70/+1111
|
* preset: Add Playstation 2160p60 Surround for PS4 Pro.edu2019-05-251-1/+121
| | | | Reference: https://manuals.playstation.net/document/gb/ps4/music/mp_format_m.html
* qsv: adding LowPower support for AVC and HEVC encode on the appropriate HW ↵maxd2019-05-176-9/+42
| | | | generations
* hbavfilter: fix jerkey deinterlace outputJohn Stebbins2019-05-081-1/+4
| | | | | | | The deinterlace filter returns previous frames sometimes if output frames are not unref'd as they are used. Fixes https://github.com/HandBrake/HandBrake/issues/2087
* libhb: pass AV_PKT_FLAG_DISCARD through to decoderJohn Stebbins2019-05-023-1/+13
| | | | | | | | Edit list cuts are not always on keyframe boundaries and therefore sometimes require dropping frames after decoding them. AV_PKT_FLAG_DISCARD tells us when to do this. Fixes https://github.com/HandBrake/HandBrake/issues/1900
* deblock: replace pp7 with avfilter vf_deblockJohn Stebbins2019-05-027-645/+396
| | | | | | Adds deblock presets and tunes. Old preset values are converted upon preset import. Old PictureDeblock preset key is now PictureDeblockPreset.
* rendersub: fix crash while rendering subtitlesJohn Stebbins2019-04-201-11/+10
| | | | | | | Subtitle render buffers are YUVA, they have alpha. I broke allocation of the alpha channel in recent filter changes. Fixes https://github.com/HandBrake/HandBrake/issues/2054
* av_aac: use HB_PROJECT_FEATURE_FFMPEG_AAC instead of USE_FFMPEG_AACJohn Stebbins2019-04-172-4/+1
|
* vce: use HB_PROJECT_FEATURE_VCE instead of USE_VCEJohn Stebbins2019-04-174-13/+10
|
* nvenc: use HB_PROJECT_FEATURE_NVENC instead of USE_NVENCJohn Stebbins2019-04-174-11/+7
|
* qsv: use HB_PROJECT_FEATURE_QSV instead of USE_QSVJohn Stebbins2019-04-1723-68/+108
|
* encx265: Use HB_PROJECT_FEATURE_X265 instead of USE_X265John Stebbins2019-04-178-26/+26
|
* configure: export FEATURE.* vars to project.hJohn Stebbins2019-04-171-31/+45
|
* LinGui: fix additional mingw gtk UI build issuesJohn Stebbins2019-04-171-0/+1
|
* compat: fix compiler warning in strerror_rJohn Stebbins2019-04-171-0/+1
| | | | implicit delcaration of snprintf
* make: finish correcting host/build semanticsJohn Stebbins2019-04-174-22/+22
|
* WinGui: Fix previews after hb_image_s change. Fixes #2044sr552019-04-161-0/+1
|
* vfr: improve duplicate frame drop detectionJohn Stebbins2019-04-141-19/+47
| | | | | | | | | | More strictly limit the range of frames inspected when choosing a frame to drop. We were getting too many false positives which resulted in dropping good frames. Limiting the range results in emitting good frames before they can become the worst of a collection of other good frames, and therefore be evaluated as droppable.
* work: fix pix_fmt init input to filter pipelineJohn Stebbins2019-04-141-1/+5
| | | | | | | The pix_fmt of the filter input is the format output by decavcodec.c which is currently YUV420P Fixes https://github.com/HandBrake/HandBrake/issues/2041
* ports: increase HB_LOW_PRIORITY on macOS to avoid threads being stalled on ↵Damiano Galassi2019-04-091-1/+1
| | | | modern macOS versions.
* ports: set pthreads name on macOS.Damiano Galassi2019-04-091-0/+4
|
* cropscale: force output pixfmt to YUV420PJohn Stebbins2019-04-081-0/+9
| | | | | It appears some color prim/tran/matrix settings result in high bit depth output of the scale filter.
* hbavfilter: fix filename in header commentJohn Stebbins2019-04-081-1/+1
|
* hbavfilter: hide internals of hb_avfilter_graph_sJohn Stebbins2019-04-084-51/+61
|
* avfilter: split individual filters to separate filesJohn Stebbins2019-04-0810-939/+1024
| | | | | | Splits the initialization of pad, cropscale, deinterlace, rotate, and colorspace into their own files. Also splits internal avfilter API into it's own file.
* avfilter: fix header file commentJohn Stebbins2019-04-081-1/+1
|
* libhb: change preset key to VideoColorMatrixCodeOverrideJohn Stebbins2019-04-0810-110/+218
| | | | | | Reserve VideoColorMatrixCode for doing color conversion. VideoColorMatrixCodeOverride sets color flags without transforming video frame colors.
* Add missing yuv444p12 colorspace optonJohn Stebbins2019-04-081-0/+2
|
* libhb: propagate color matrix info through the pipelineJohn Stebbins2019-04-0819-47/+650
| | | | | | | | | Propagates pix_fmt, range, primaries, transfer, and matrix everywhere. Everything that passes or creates video frames tags the frames with their color matrix info. All filters know the expected color matrix info of input frames.
* avfilter: simplify internal API to avfilterJohn Stebbins2019-04-0812-827/+910
| | | | | | Use this interface in decavcodec. Remove cropscale.c and use avfilter for crop and scale. Improve log output of filters that are aliases for avfilter.
* Fix crash when chroma smooth tune is NULLJohn Stebbins2019-04-081-6/+6
| | | | 'HandBrakeCLI --help' was crashing ;)
* decvobsub: fix crash due to malformed vobsubJohn Stebbins2019-04-041-10/+14
| | | | Check that a runlength does not exceed the width of a line
* contrib: Remove local pthreads-w32 in favor of winpthreads.Bradley Sepos2019-03-311-5/+1
| | | | Cross-compiling for Windows now requires winpthreads which is part of the toolchain provided by scripts/mingw-w64-build, and similar packages provided by Linux distros.
* Libhb: Some minor logging cleanupsr552019-03-306-16/+16
|
* libhb: Consolidate plane functions and eliminate a malloc in Chroma Smooth.Bradley Sepos2019-03-281-48/+38
|
* libhb: Tweak Chroma Smooth filter presets and tunes.Bradley Sepos2019-03-282-122/+30
| | | | The initial tunes were too weak.
* libhb: Initial implementation of Chroma Smooth filter.Bradley Sepos2019-03-287-1/+875
|
* qsv: fix build when qsv is disabledJohn Stebbins2019-03-131-4/+4
|
* qsv: add i965 VA driver fallbackJohn Stebbins2019-03-123-25/+63
| | | | | | The iHD VA driver does not work for Sandy bridge, Ivy bridge and Haswell. iHD will fail to initialize on these CPUs. So when a failure occurs, fallback to i965.
* qsv: allow user to override VA driver nameJohn Stebbins2019-03-121-1/+4
|
* fix spurious libswscale warningJohn Stebbins2019-03-121-0/+2
| | | | | These messages only appear rarely, but they annoy. It's complaining about an uninitialized unused plane
* sync: imporve accuracy of logged min/max fpsJohn Stebbins2019-03-121-2/+2
|
* encavcodec: fix bitrate ceiling overflow for VP8/9John Stebbins2019-03-121-16/+2
| | | | | | | | | When using constant quality encoding with VP8/9, we set a bitrate ceiling to prevent bitrate spikes. The calculation of this ceiling was duplicated at some point and the second copy was not transcribed properly and resulted in integer overflow. Fixes https://github.com/HandBrake/HandBrake/issues/1966
* qsv: fix logging of implementation 'via' optionJohn Stebbins2019-03-101-4/+4
| | | | implementation is not a bit vector. It has bit fields.
* fix setting sequence_id of final job statusJohn Stebbins2019-03-091-1/+1
| | | | | current_job can't be NULL'd till after the status is set because the job contains the current sequence_id