Commit Graph

2927 Commits

Author SHA1 Message Date
Martin Pulec
63c637b68e J2K compress: check all cmpto calls 2018-06-27 14:34:46 +02:00
Martin Pulec
5d45bada24 J2K compress: use async API 2018-06-27 14:34:46 +02:00
Martin Pulec
36c97b3147 J2K initial implementation 2018-06-27 14:34:46 +02:00
Martin Pulec
abc593e7e3 Libavcodec NVENC: changed default RC
The former caused pulsing and is deprecated. The current one doesn't
make frames of the exactly same size (I-frames are bigger).
2018-06-27 14:33:46 +02:00
Martin Pulec
0c2c9c86c7 Video decoders: fixed FEC with invalid key
Fixed when there is a FEC and encryption with an invalid key given which
caused segfaults. This is because no valid packet was decoded, therfore
buffer was not allocated. Solved by setting data_len to non-zero after
we got a valid packet.
2018-06-27 14:33:00 +02:00
Martin Pulec
2e04129948 Fixed compress deinitialization on startup
Fixed passing of poison pill to video compress when sender thread was
not actually started.
2018-06-27 14:32:55 +02:00
Martin Pulec
e015adaf1e DELTACAST DVI: compat with new SDK 2018-06-27 13:28:47 +02:00
Martin Pulec
63f28f5795 Reenable hwacc when possible 2018-06-07 10:36:17 +02:00
Lukas Rucka
952de50449 BUILD: Preffer QT5 qmake instead of qtselector one (+ use QtGui for dependencies) 2018-06-05 13:36:35 +02:00
Martin Pulec
35348b8166 Hwaccel: temporarily disable by default
Currently it induces dependency on VDPAU into core which is undesirable.
2018-06-04 13:17:54 +02:00
Martin Pulec
142d2d50fe Configure: fixed wrong variable name 2018-06-04 11:43:19 +02:00
Martin Pulec
0ce8e0d4c7 RTP UDP: do not pass addr len to recvfrom()
Calling recvfrom() with src_addr == NULL and addrlen != NULL is
invalid (at least in MSW).
2018-05-31 17:13:31 +02:00
Martin Pulec
b45bb22ccc RTP UDP: do not use separate thread on MSW
Do not use separate receiving thread on MSW because it causes freezes
when the thread is waiting on read() and different thread wants to
set/get different properties of the socket - eg. setsockopt(SO_RCVBUF)
or getsockname().
2018-05-31 16:41:59 +02:00
Martin Piatka
d1d42ad3de GUI: Ask user to confirm exit if UltraGrid is still running 2018-05-31 11:12:06 +02:00
Martin Piatka
13a4ed7caa GUI: Fix segmentation fault when exiting. 2018-05-31 10:52:23 +02:00
Martin Piatka
ac23c66173 GUI: Add vu meter 2018-05-30 14:03:47 +02:00
Martin Pulec
e9e3718ffa Astat tool: fixed uninitialized members 2018-05-28 15:07:05 +02:00
Martin Piatka
88304b3d38 hwaccel: Add comments 2018-05-16 14:19:24 +02:00
Martin Piatka
4dfe336949 hwaccel: Split code into more files, compile each hwaccel independently 2018-05-16 14:19:24 +02:00
Martin Pulec
d43f8bcf3f DeckLink cap.: opt to disable/enable passthrough 2018-05-07 10:47:15 +02:00
Martin Pulec
439fc895eb Audio decoders: fixed wrong cast 2018-05-03 14:52:30 +02:00
Martin Pulec
1e1017ec1a Control socket: make remote connections nonblock.
Use non-blocking socket for network connections since all sockets are
written sequentially. When one gets stuck it blocks the whole stack
(can be a case when a lot of data is produced - eg. statistics).
2018-04-24 10:51:49 +02:00
Martin Pulec
ff817bf52a RTP UDP Win: overlapped sockets only for remote
Use overlapped sockets only if not transmitting over localhost. The
reason is that sending through localhost to a socket where noone is
listening (default behaviour is to use dynamic local port when acting as
a sender) caused strange memory leaks. Disabling WSA_FLAG_OVERLAPPED
flag of WSASocket seem to solve it. Simply not using overlapped
transfers while having socket opened with that flag didn't solve the
problem, either.
2018-04-24 09:59:32 +02:00
Martin Pulec
00535744af Keyboard control: echo also carriage return (Win) 2018-04-24 09:59:32 +02:00
Martin Pulec
1e46697eee MSW: support for 64-bit CUDA 2018-04-24 09:59:32 +02:00
Martin Pulec
701f572641 Message queue: sepearate lock for messages
Trying to fix a deadlock in check_message() - possibly the lock is
already hold by another thread (trying to destroy module).
2018-04-24 09:59:32 +02:00
Martin Pulec
5e89baef70 MSW: fd_t is now SOCKET 2018-04-24 09:59:32 +02:00
Martin Pulec
064af35d5f Script to build 64b SPOUT 2018-04-24 09:59:32 +02:00
Martin Pulec
be7cb8e536 RTP: fixed computing of packet hdr offset
Fixed computing of packet header offset in rtp_packet. The former
version didn't work for 64-bit MSW build.
2018-04-24 09:59:32 +02:00
Martin Pulec
013a7ee849 RTSP: remove deprecated bzero() 2018-04-24 09:59:32 +02:00
Martin Pulec
9826374188 Added tool/library to read audio statistics 2018-04-24 09:59:32 +02:00
Martin Pulec
dfcd5a1084 Platform pipe: tiny change 2018-04-24 09:59:32 +02:00
Martin Pulec
d30fb765a8 Control: report stats for audio 2018-04-24 09:59:32 +02:00
Martin Pulec
b24bed7f64 Configure: small fix if CUDA path contains spaces
Fixed when CUDA path contains spaces (eg. the path in MSW).
2018-04-24 09:59:32 +02:00
Martin Pulec
fbe4c514d5 Added SPOUT 2018-04-24 09:59:32 +02:00
Martin Pulec
213c2b5d58 Double framerate: proper timing can be disabled 2018-04-24 09:59:32 +02:00
Martin Pulec
9bd7ecc18b Added build date to version 2018-04-24 09:59:32 +02:00
Martin Pulec
fb07611894 DeckLink: fixed warnings 2018-04-24 09:59:32 +02:00
Martin Pulec
e35a973ff4 JPEG: moved to new merged GPUJPEG
* removed throughput optimizing gpujpeg_encoder_input_copy_image().
  Looks like there is only a little benefit of this - reenable if needed
  (using gpujpeg_encoder_input_set_gpu_image()).
* updated GPUJPEG submodule
2018-04-24 09:59:32 +02:00
Martin Pulec
ee476ef29c GL: use PBO for texture uploads
This improves performance/throughput since the driver usually makes
a copy when using client-side pixel transfers (see
https://www.khronos.org/opengl/wiki/Pixel_Buffer_Object#Uploads).
2018-04-24 09:59:32 +02:00
Martin Piatka
4ce214ae24 Gui: Add default values for ldgm and reed-solomon 2018-04-20 15:08:07 +02:00
Martin Piatka
d649fd9025 GL: hwaccel fix compile warnings 2018-04-05 12:22:18 +02:00
Martin Piatka
43a8d730e9 libavcodec: Fix compilation with older versions of ffmpeg 2018-04-04 14:43:09 +02:00
Martin Piatka
aa5d69e376 Request decoder reconf if can't decode to out_codec 2018-04-04 14:21:30 +02:00
Martin Piatka
656a10c2f8 libavcodec: Automatically determine wheter to use copy mode of vdpau 2018-04-04 14:21:23 +02:00
Martin Piatka
dbac74428f libavcodec: Improved automatic codec choice 2018-04-04 14:20:56 +02:00
Martin Piatka
55039af1e6 hwaccel: Add ifdef guards 2018-04-04 14:17:14 +02:00
Martin Piatka
26ab0f83ef hwaccel: Properly clear vdpau frames 2018-04-04 14:17:04 +02:00
Martin Piatka
f7bdf3cad3 GL: VDPAU mixer 2018-04-04 14:17:04 +02:00
Martin Piatka
0c26bbbaec hwaccel: Loading vdp functions 2018-04-04 14:14:18 +02:00