summaryrefslogtreecommitdiffstats
path: root/libhb
Commit message (Collapse)AuthorAgeFilesLines
* libhb: sort the list of files in batch modejstebbins2014-02-221-3/+30
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: clean up handling dir directory separatorjstebbins2014-02-226-5/+42
| | | | | | | title->name was getting set to an empty string in some cases due to looking for the wrong directory separator. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6057 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix decavcodecaBSInfo again...jstebbins2014-02-221-16/+24
| | | | | | | ... forgot to check for error return from avcodec_decode_audio4 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix a problem decoding wmapro audiojstebbins2014-02-221-3/+3
| | | | | | | ... and probably some other audio types. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6054 b64f7644-9d1e-0410-96f1-a4d463321fa5
* SVN: remove a52dec.Rodeo2014-02-201-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6050 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: remove a52decjstebbins2014-02-2013-591/+57
| | | | | | | replace it with libavcodec ac3 decoder git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6049 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix compiler warning with cpuid usagejstebbins2014-02-181-13/+17
| | | | | | | fixes "dereferencing type-punned pointer will break strict-aliasing rules" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6045 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove HB_API_OLD_PRESET_SETTERS cruft.Rodeo2014-02-182-76/+5
| | | | | | | All UIs and Interop should be up-to-date. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6044 b64f7644-9d1e-0410-96f1-a4d463321fa5
* openclkernels.h: fix line endings.Rodeo2014-02-181-94/+94
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6043 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update some copyright dates to 2014.Rodeo2014-02-1880-80/+80
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6042 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: API 1.8 support and related improvementsRodeo2014-02-187-297/+1021
| | | | | | | | | Optional feature detection now done via MFXVideoENCODE_Query. This should work better with future hardware and encoder implementations. Optional API 1.8 features are not tested (not supported by the software implementation, and no drivers with API 1.8 support available yet). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6041 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump libav to v10_beta1Rodeo2014-02-185-3/+40
| | | | | | | | | Remove some patches that have been applied upstream. Add support for AVDownmixInfo side data (i.e. mix levels). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6039 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Add cpuid inline asm macrojstebbins2014-02-152-18/+37
| | | | | | | | This eliminates our reliance on the private (unexported) libavutil function ff_cpu_cpuid(). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: make encoder options less x264-centric.Rodeo2014-02-138-121/+224
| | | | | | | | profile/level control and, to a lesser extent, encoder presets and tunes are becoming more common. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix typo in previous commit.Rodeo2014-02-131-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: write encoding library's name in the Activity Log.Rodeo2014-02-133-45/+107
| | | | | | | We lost them for some encoders in SVN revision 5586. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: fix compiler warning.Rodeo2014-02-121-6/+7
| | | | | | | Was fixed for encx264 in SVN revision 5999. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x265: misc. container-related fixes.Rodeo2014-02-123-7/+7
| | | | | | | CLI users: please use -f x265 instead of -f raw git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6027 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encx265: miscellaneous fixes, cleanup and refactoring.Rodeo2014-02-112-128/+230
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6026 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Initial x265 integration. Patch by Zhang Zhiqiang. Thanks!Rodeo2014-02-109-1/+362
| | | | | | | | | | | Build with --enable-x265 (requires CMake). Use via HandBrakeCLI with -a none -e x265 -f raw Only raw HEVC output is supported for now (no audio or subtitles). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6023 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: change libhb.a to libhandbrake.ajstebbins2014-02-091-1/+1
| | | | | | | | | | | | On linux, there is a problem with some distros that dynamically link harfbuzz (libhb) to libass. The name conflicts with our libhb. So this changes the library name to resolve the conflict. It only changes libhb.a. It does not affect the windows libraries hb.lib and hb.dll git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: work around an issue where two consecutive IDR frames cause Media SDK ↵Rodeo2014-02-071-0/+10
| | | | | | to use one more consecutive reference B-frame than accounted for by the initial PTS-DTS delay. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6016 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix problem with avcodec audio sample_ratejstebbins2014-02-021-2/+21
| | | | | | | | libavcodec does not yet consistently set AVFrame.sample_rate. So when it is not set, use AVCodecContext.sample_rate and log a warning. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6011 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix crashes with some BDsjstebbins2014-01-312-1/+3
| | | | | | | | A stray line of code from the switch from mpeg2dec to libavcodec caused a failure to open the mpeg2 decoder for BDs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6009 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Replace invaled timestamp flag "-1" with AV_NOPTSjstebbins2014-01-2614-74/+77
| | | | | | | | | -1 is not a good value as a flag for invalid timestamps. There are cases where small negative timestamps are useful. So this eliminates a potential ambiguity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: support AV_FRAME_DATA_MATRIXENCODING side data.Rodeo2014-01-266-7/+69
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix compiler warningjstebbins2014-01-261-7/+7
| | | | | | | move struct chapter_s declaration to correct location. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5999 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix missing format specifier in printfjstebbins2014-01-261-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: set audio description in LookForAudio (scan.c).Rodeo2014-01-255-221/+122
| | | | | | | | | All audio tracks go through it since SVN revision 5424. This is where we have the most information about each audio track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decavcodec: DRC support.Rodeo2014-01-254-1/+70
| | | | | | | Adds DRC support for E-AC-3 audio (as well as any future libavcodec decoders with DRC support). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decavcodec: prefer AVFrame fields over their AVCodecContext equivalent.Rodeo2014-01-2510-80/+31
| | | | | | | These fields correspond to the actual audio data in the AVFrame, and should always be set (otherwise, we must submit a bug report to libav). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5994 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix double free in decavcodec during scanjstebbins2014-01-241-3/+3
| | | | | | | | decavcodecvFlush freed the context, then under certain error conditions, closePriveData freed the context again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5989 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove some leftovers from the mpeg2dec contrib removal.Rodeo2014-01-152-3/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5976 b64f7644-9d1e-0410-96f1-a4d463321fa5
* stream: fix a crash caused by assigning an audio work-object to some video ↵Rodeo2014-01-151-2/+2
| | | | | | tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5975 b64f7644-9d1e-0410-96f1-a4d463321fa5
* decavcodec: only allow in-decoder downmix if it matches the requested mix ↵Rodeo2014-01-151-19/+46
| | | | | | levels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5973 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove contrib mpeg2decjstebbins2014-01-1315-1048/+18
| | | | | | | | We no longer need mpeg2dec. libav now has all the features we need for mpeg2 decoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5966 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert previous commit, sorry.Rodeo2014-01-122-6/+0
| | | | | | | I forgot about capabilities, we can't just swap the preferred implementation like that. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5965 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: add an option to select the preferred implementation at runtime.Rodeo2014-01-122-0/+6
| | | | | | | This is intended for developers only; having to rebuild just to compare software to hardware is annoying as hell. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* QSV: base the B-pyramid check on the presence of B-references, rather than ↵Rodeo2014-01-121-7/+9
| | | | | | | | | the initial delay. This is potentially more accurate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5963 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libav, libav-v10_alpha1-90-g63debaajstebbins2014-01-126-78/+244
| | | | | | | | | Adds interlaced VC1 and HEVC support. Eliminates the need for most of our local patches. Many assorted bug fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5962 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: don't overwrite the last track's parameters when adding ↵Rodeo2014-01-081-3/+3
| | | | | | attachments. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Revert previous borked commit. Sorry!Rodeo2014-01-075-222/+72
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* parsecsv: always check result of malloc()Rodeo2014-01-075-72/+222
| | | | | | | | | RebiewBoard #670. Patch by icchan. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5957 b64f7644-9d1e-0410-96f1-a4d463321fa5
* encoders: save chapter markers in a list.Rodeo2014-01-072-25/+121
| | | | | | | If chapters were a few seconds apart or less, we would encounter a new marker before the previous one had been placed in an output buffer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: don't forget to delete chapter markers after saving them in filter_loop.Rodeo2014-01-071-0/+2
| | | | | | | Some filters will propagate them, and since filter_loop also restores them, this can result in duplicate chapters or other related issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: use av_pix_fmt_desc_getjstebbins2014-01-061-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5954 b64f7644-9d1e-0410-96f1-a4d463321fa5
* qsv: log occurrences of invalid DTS (i.e. DTS > PTS) in the encoder.Rodeo2014-01-021-0/+9
| | | | | | | The muxer is not verbose enough, plus we have access to some additional info not available downstream. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5951 b64f7644-9d1e-0410-96f1-a4d463321fa5
* qsv: add some frame type helper functions.Rodeo2014-01-023-11/+64
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5950 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: print the actual error name, rather than a hard-to-lookup error ↵Rodeo2014-01-021-2/+8
| | | | | | code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix green line in deinterlace preview and fast deinterlacejstebbins2013-12-291-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5947 b64f7644-9d1e-0410-96f1-a4d463321fa5