summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* Missed typo in previous commitluz.paz2018-02-201-1/+1
|
* please review....luz.paz2018-02-201-2/+2
| | | there is a redundant 'the the' in this string, please advise
* Misc. typosluz.paz2018-02-2032-46/+46
| | | Found via `codespell -q 3 --skip="./gtk/po`
* encx264: fix apply_h264_profile's lossless check for high bit depth.Tim Walker2018-02-181-4/+12
|
* sync: fix hang in searching for PtoP start frameJohn Stebbins2018-01-251-11/+21
| | | | fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37311
* libhb: Define SYS_FREEBSD in libhb module.Yuichiro NAITO2018-01-131-3/+5
|
* libhb: fix a number of issues reported by clang.Damiano Galassi2018-01-1212-50/+89
|
* libhb: Allow NLMeans prefilter passthru when strength is 0 (zero).Bradley Sepos2018-01-101-6/+6
|
* libhb: Make NLMeans prefilter order consistent.Bradley Sepos2018-01-101-6/+6
|
* libhb: Make prefiltered check in NLMeans more explicit.Bradley Sepos2018-01-101-1/+1
|
* libhb: Reorder some code in nlmeans_prefilter for clarity.Bradley Sepos2018-01-101-11/+7
|
* libhb: Plug memory leak in NLMeans.Bradley Sepos2018-01-101-2/+10
| | | | This reverts 0e072aa42e3affd6280447317375460753f9284b and implements a proper fix for some frames not being prefiltered correctly. Turns out it was an issue with an uninitialized variable.
* qsv: better dimensions adjustments for HEVC 10bmaxd2018-01-101-3/+5
|
* libhb: fixed a dead assignment in avfilter.c.Damiano Galassi2018-01-101-1/+1
|
* libhb: fix a leak in decssasubDamiano Galassi2018-01-101-0/+3
|
* ports: fix a possible null deference.Damiano Galassi2018-01-101-0/+2
|
* encx264: check correct build number in ifdefJohn Stebbins2018-01-101-4/+4
| | | | The multi-lib change actually happend in build 153
* x264: bump to build 155John Stebbins2018-01-101-3/+45
| | | | | | | Requires NASM to build Unified 8 and 10 bit library support AVX-512 optimizations Various other bug fixes and improvements
* libhb: Better prioritize NLMeans prefilter order.Bradley Sepos2018-01-091-11/+11
|
* libhb: Add CSM prefilter to NLMeans.Bradley Sepos2018-01-091-3/+108
| | | | | | | | | | | | | | | | CSM is a Conservative Smoothing filter with Median-like tendencies. Conservative Smoothing is a basic noise reduction method that ensures a given pixel is within the values of those around it. A value higher than all the others is clamped to the maximum value in the neighborhood. Likewise, a value lower than all the others is clamped to the minimum value in the neighborhood. Basically, pixel values that seem to "fit in" are left alone, and extreme values are brought in line. CSM takes this a step further. A pixel not affected by the previous part of the algorithm is subjected to additional thresholding. If the pixel value is closer to the minimum or maximum neighborhood value than the median, it is clamped to the half-way point. Finally, a pixel still not affected is subjected to a third level of thresholding, clamping to the half-way point between the median and the previous half-way point. Any other pixel value is deemed close enough to its peers and left alone. In effect, this creates a "soft" median-like filter, where relatively similar values are left alone and increasingly disparate values are nudged closer together. Practically, CSM is the best prefilter to date for improving weight decisions with sources containing a type or amount of noise proving difficult for NLMeans to uniformly dampen or completely remove on its own. Additionally, it does not significantly alter the strength metric in most cases, so it can simply be enabled wherever desired. From what I can tell in my limited testing, the algorithm respects proper detail and edges well enough that it seems to be safe with nearly any source. Perhaps it should be the default if I ever get around to creating NLMeans 2. Unlike the mean and median prefilters where a larger neighborhood increases the strength of the prefilter, a larger CSM neighborhood merely takes more pixels into account, theoretically decreasing the strength of the filter. In practice, the provided 3x3 and 5x5 neighborhoods typically do not produce significantly differing results. Basic usage: Add y-prefilter=16 to your desired parameters and NLMeans will use CSM for weighting decisions. Use y-prefilter=2064 if you want to see the output of the prefilter itself—the visual effect is mild. Adjust these values to 32 and 2080 for a 5x5 neighborhood; 3x3 works well in all cases I've tried.
* QSV: fix ICQ availability detection for HEVC encoder.Tim Walker2018-01-041-0/+3
| | | | | | | | Explicitly set all relevant rate control parameters when querying for availability of a given rate control method. I still "blame" Intel, as the existing code managed to query ICQ availability for the H.264 encoder just fine.
* Update copyright dates to 2018.Bradley Sepos2018-01-0189-89/+89
|
* libhb: Fix nlmeans prefilter passthru only outputting some frames.Bradley Sepos2017-12-301-7/+0
| | | | Closes #1088.
* libhb: Output result of nlmeans prefilter when passthru enabled.Chris Darroch2017-12-301-2/+11
| | | | | | | | | | | When the prefilter passthru flag is enabled, write the nlmeans prefilter result into the "main" memory buffer (mem) instead of the prefilter one (mem_pre) so that the prefilter result will be output as if it was the result of the nlmeans filter itself. Otherwise, when the passthru flag is enabled, the prefilter result is lost and the filter effectively just outputs its source input without any changes.
* libhb: Fix nlmeans prefilter passthru frame addressing.Chris Darroch2017-12-301-1/+1
| | | | | | In commit 29a49a8, the nlmeans_prefilter() call in nlmeans_filter_thread() was fixed, but a corresponding change was not made to the similar call site in nlmeans_filter_flush().
* QSV: adding HEVC10b decode supportmaxim_d332017-12-221-3/+5
|
* theora: fix a crash when enctheoraClose is called and pv is NULL.Damiano Galassi2017-12-161-0/+5
|
* FreeBSD 11.1 compatibility.Bradley Sepos2017-12-064-11/+22
|
* qsv: range as 0-63maxd2017-12-041-7/+5
|
* QSV: adjusting QP range to address all valuesmaxd2017-12-041-3/+14
|
* preset: Additional presets and revisions for 1.1.0.Bradley Sepos2017-11-281-186/+713
|
* add sdtp (sample dependency) box to mp4 (#1006)John Stebbins2017-11-284-8/+14
| | | | | * add sdtp (sample dependency) box to mp4 The AppleTV 4K requires this box in order to play 2160p60 video.
* stream: better probing of PS filesJohn Stebbins2017-11-271-1/+1
| | | | | | | | The probe did not inspect enough data and did not always detect all streams. Thanks to josephpaul0 Fixes https://github.com/HandBrake/HandBrake/issues/1023
* libhb: fix warnings.Damiano Galassi2017-11-245-17/+17
|
* add align a/v start to logJohn Stebbins2017-11-221-0/+4
|
* scan: don't abort on empty buffersJohn Stebbins2017-11-221-4/+4
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/1017
* presets: fix selection of audio tracksJohn Stebbins2017-11-102-1/+4
| | | | | The new audio attributes were not checked correctly and filtered out any audio tracks that had the DEFAULT flag.
* Add adaptive streaming support (#972)John Stebbins2017-11-098-9/+115
| | | | | | | "Adaptive streaming" allows changing video parameters mid-stream at IDR boundaries. Such changes require new SPS and PPS NALs at the IDR. MP4 supports this with 'avc3' and 'hev1' sample entry types.
* Auto-rotate video that has rotation tagJohn Stebbins2017-11-097-525/+740
|
* libhb: read video rotation from libav.Damiano Galassi2017-11-093-0/+33
|
* CLI: add option to log version, title, and progress in jsonJohn Stebbins2017-11-0611-56/+336
| | | This is useful for scripts and other frontends that need to parse CLI output.
* presets: enforce 2 level hierarchy when importing presetsJohn Stebbins2017-11-063-2/+200
| | | | See https://github.com/HandBrake/HandBrake/issues/833#issuecomment-333193971
* LinGui: Add "Category" dropdown to preset save dialogJohn Stebbins2017-11-062-15/+32
| | | | | | | | | | | This replaces the "New Folder" option in the presets menu. It enforces the folder structure we have agreed to and hopefully helps the user keep things organized. Note that users are allowed to save a custom preset to the same "Category" as an official preset. When they do this, a new custom category is created with the same name and the preset is saved in that folder.
* LinGui: Reorgainize Summary paneJohn Stebbins2017-11-062-4/+4
| | | | Synching up with https://github.com/HandBrake/HandBrake/issues/833
* libhb: add HLG to our list of known transfer characteristics.Damiano Galassi2017-11-062-0/+3
|
* tx3g: make font size scale with video heightJohn Stebbins2017-11-033-16/+41
| | | Fixes https://forum.handbrake.fr/viewtopic.php?f=5&t=37034
* QSV: Main10 should be default profilemaxd2017-10-133-3/+12
|
* QSV: Adding D11 support for encodemaxd2017-09-173-23/+60
|
* decomb: add an additional null check to avoid a crash if the filter receive ↵Damiano Galassi2017-08-071-3/+6
| | | | the EOF flag before reciving a valid frame.
* libhb: Add threads parameter to NLMeans.Bradley Sepos2017-07-241-16/+22
| | | | Allows setting number of frames to process in parallel. For testing and experts wanting to fine tune the pipeline; e.g., fewer NLMeans threads may make x265 run slightly faster. Realistically, the defaults are the best choice for most everyone.