Steve Lhomme
74ff08ca3b
chromecast: try to encode with QSV if possible
It will be handled by the GPU so use less resource.
8 years ago
Hugo Beauzée-Luyssen
11bd3483a0
qt: input_slider: Convert wheel events to KEY_MOUSEWHEEL*
This way we can honor the user's settings regarding inverting the scroll
direction, and they can chose the size of the jump
refs #19790
8 years ago
Hugo Beauzée-Luyssen
a3f0523b76
VLSub: Display a user visible error when the hash can't be generated
8 years ago
Hugo Beauzée-Luyssen
56c8dba7a1
VLSub: Simplify directories handling
Simply use userdatadir and don't allow the directory to be edited. Do
not store it in vlc config file, don't fallback to VLC install
directory.
Additionaly, stop using os.execute
8 years ago
Hugo Beauzée-Luyssen
7bbc232c69
lua: extensions: Expose misc namespace
8 years ago
Hugo Beauzée-Luyssen
67ed23cef3
lua: Expose a mkdir function
To avoid using os.execute...
8 years ago
Hugo Beauzée-Luyssen
e15d9d230f
VLSub: Convert path to current codepage
Otherwise any IO operation on path with contain any non-ascii character
will fail on windows.
8 years ago
Hugo Beauzée-Luyssen
fdd3d58eaf
lua: Add a function to convert to the current codepage
This will help VLSub handle non ascii path on windows
8 years ago
Hugo Beauzée-Luyssen
a67d761528
VLSub: Properly convert subtitle archive path to MRL
8 years ago
Hugo Beauzée-Luyssen
8c3035d2d9
VLSub: Signal extraction failure to the user
8 years ago
Hugo Beauzée-Luyssen
43e481351e
VLSub: Remove unused helper
8 years ago
Hugo Beauzée-Luyssen
2bb1ed5433
VLSub: Use a translatable string to signal subtitle extraction error
8 years ago
Hugo Beauzée-Luyssen
d55ef2c177
Revert "VLSub: Allow a subtitle to be loaded without download it"
This reverts commit d32f7fb577 .
8 years ago
Hugo Beauzée-Luyssen
138ea1946a
VLSub: Handle interface refresh when no video is loaded
8 years ago
Hugo Beauzée-Luyssen
7eda8499ef
lua: stream: Fix leak on error
8 years ago
Hugo Beauzée-Luyssen
ef57f83fb0
VLSub: Remove tabs
8 years ago
Steve Lhomme
682d0e20d4
dxva2: use a more generic build version to test for Intel HEVC support
We don't care about the WDDM versions, only the real driver version.
8 years ago
Steve Lhomme
425a6eb978
d3d9_fmt: make the driver version test more flexible
Just like d3d11
8 years ago
Steve Lhomme
704ad60d44
d3d: handle new Intel driver version formats
aa.bb.16.dddd becomes aa.bb.100.dddd
and after aa.bb.100.9999 comes aa.bb.101.1000
When we need to target higher versions we'll use 101.11000 internally so the
build number can be compared with all formats.
8 years ago
Thomas Guillem
4bd4423629
objects: update hacked object name list
QT and macOS gui don't need vlc_object_find_name for filters anymore.
8 years ago
Steve Lhomme
04a7de6781
codec: add vlc_fifo_helper.h in the Makefile
8 years ago
Steve Lhomme
b055c164f9
qsv: use an internal pool to feed the decoder
It doesn't like having too many input pointers so we have to use some cached
buffers/pictures. Otherwise we end up with and error -17 quickly.
8 years ago
Steve Lhomme
c19208afb0
qsv: detect incorrect pixel alignments
8 years ago
Steve Lhomme
6039a555ef
qsv: set the input texture sizes when they are known
9 years ago
Steve Lhomme
da6ec6c7d2
qsv: use the same algorithm as ffmpeg to pick available encoding surfaces
9 years ago
Steve Lhomme
13c37041ac
qsv: allow one more buffer in the FIFO than the one in Async Depth
that's what avcodec does
9 years ago
Steve Lhomme
5f808bca69
qsv: don't encode a NULL picture
9 years ago
Steve Lhomme
160213214d
qsv: code moving/renaming
to match the ffmpeg behaviour
9 years ago
Steve Lhomme
37f415512e
qsv: only enqueue packets that are successfully encoded
And fix leaks in case the packet won't be enqueued.
9 years ago
Steve Lhomme
300800f967
qsv: clean the picture enqueuing code
9 years ago
Steve Lhomme
e77bbf19e4
qsv: enqueue the QSV output packets using a FIFO
Now we push the frame to encode first and then look in the output FIFO
for an encoded block_t ready to be used.
This is the same order of processing as ffmpeg.
9 years ago
Steve Lhomme
fc2257b66b
codec: add a set of functions to use a plain FIFO
It's similar to the block FIFO but with no locking.
9 years ago
Steve Lhomme
e75195e501
qsv: remove extra const
9 years ago
Steve Lhomme
0bfc4de975
qsv: refine setup error logging
8 years ago
Steve Lhomme
d6ec77db15
qsv: fix debug trace formatting
8 years ago
Steve Lhomme
ef2a76492f
qsv: log the reason for looping
9 years ago
Steve Lhomme
f579726e5f
qsv: reset the buffer size after it's used
just in case
9 years ago
Steve Lhomme
fd978c3079
qsv: fix typo
9 years ago
Steve Lhomme
3488d33626
qsv: log when the encoder outputs empty data
9 years ago
Steve Lhomme
946945fdf7
qsv: the wait time when busy is the minimum we can wait
Although for 60fps 10ms is a lot. For 120fps that's too long.
9 years ago
Steve Lhomme
8ba9c83551
qsv: split the parameter query/init to match ffmpeg
9 years ago
Steve Lhomme
4d16481dff
qsv: use the same timeout value on SyncOperation as ffmpeg
9 years ago
Steve Lhomme
4fac0b946f
qsv: init QSV for version 1.1
Similar to avcodec
9 years ago
Steve Lhomme
875a15c96d
qsv: log the status when SyncOperation fails
9 years ago
Steve Lhomme
0c8291795d
qsv: only set the encoder_t values when fully initialized
9 years ago
Steve Lhomme
b2fdb0eee9
qsv: allocate the mfxSyncPoint dynamically
no real benefit except that's how ffmpeg does it
9 years ago
Steve Lhomme
b7b628b08f
qsv: keep the same encoding parameters when getting the buffer parameters
9 years ago
Steve Lhomme
c493125497
qsv: call MFXVideoENCODE_EncodeFrameAsync again if it returns MFX_WRN_IN_EXECUTION
9 years ago
Steve Lhomme
cf54f27cd8
qsv: retry to sync when QSV returns MFX_WRN_IN_EXECUTION
9 years ago
Steve Lhomme
4ce8737a09
qsv: check the encoding parameters are OK before using them
9 years ago