Commit Graph

50 Commits

Author SHA1 Message Date
Martin Pulec
453df639ba rtdxt: suppress warnings 2023-04-11 14:14:16 +02:00
Martin Pulec
d0dc2c0280 RTDXT: added for DXT1_YUV
Perhaps not much useful nowadays but at least for testing (and because
we have that codec in UG anyways ;)).
2022-11-11 16:39:24 +01:00
Martin Pulec
3e8d6aac67 DXT: replace some old macros (macOS)
Replaced some old macros from UltraGrid (that are no longer present).
2019-07-24 10:57:06 +02:00
Martin Pulec
9860f9890b Fixed some coverity issues 2014-10-21 13:01:10 +02:00
Martin Pulec
06d89598fa Fixed some Coverity reported errors
These Coverity errors should be fixed (mostly classified as High
Impact Outstanding by Coverity):
53922, 53923, 53935, 53938, 53945, 53963, 53974, 53976, 53978, 53979,
53980, 53981, 53982, 53988, 53990, 53991, 53993, 53994, 53995, 53998,
54000, 54002, 54004, 54008, 54010, 54013, 54016, 54018, 54020, 54022,
54024, 54025, 54027, 54028, 54030, 54031, 54032, 54033, 54034, 54035,
54036, 54038, 54039, 54041, 54043, 54047, 54048, 54050, 54053, 54054,
54055, 54056, 54062, 54064, 54065, 54067, 54071, 54072, 54074, 54075,
54076, 54081, 54087, 54088, 54089, 54091, 54093, 54096, 54097, 54103,
54104, 54106, 54109, 54111, 54112, 54114, 54117, 54119, 54120, 54121,
54125, 54126, 54129, 54130, 54132, 54133, 54136, 54137, 54140, 54145,
54146, 54149, 54150, 54151, 54153, 54154, 54156, 54157
2014-09-08 15:29:02 +02:00
Martin Pulec
566d3dee5f Merge branch 'master' into trunk 2013-03-15 09:27:26 +01:00
Martin Pulec
4e82ab2236 Intel graphics fixes
RTDXT compress finally runs with MESA GL. Decompress unfortunately
still requires GL_EXT_texture_compression_s3tc which is not present by
default.
2013-03-12 16:20:08 +01:00
Martin Pulec
4131c4b131 Merge branch 'master' into trunk
Conflicts:
	configure.ac
	src/audio/audio.c
	src/rtp/decoders.c
	src/video_codec.c
	src/video_compress.c
	src/video_compress/fastdxt.c
	src/video_decompress.c
	src/video_decompress/dxt_glsl.c
2013-01-15 10:05:56 +01:00
Martin Pulec
b97dfabcc6 DXT: fixed possible problems 2012-11-05 10:18:36 +01:00
Martin Pulec
25099eb14d Added JPEG->DXT1 transcoder 2012-09-27 16:14:44 +02:00
Martin Pulec
5e89b60d77 Fixed some Intel C Compiler warnings
Note that only GCC-compatible ICC mode can be used (see Mantis bug #177)
2012-07-31 16:56:04 +02:00
Martin Pulec
d118f0c691 RTDXT: disalbe PBO for decoder
It increases latency up about 1.5x frame time for NVidia 580.
2012-07-27 18:03:08 +02:00
Martin Pulec
e35a641da9 Allow to disable PBO at configure time
* it seems to increase latency if used
2012-06-11 13:53:53 +02:00
Martin Pulec
a9da2d02fb Use PBO also for DXT decompress 2012-06-08 16:05:40 +02:00
Martin Pulec
cc16f5984a RTDXT minor update - move one function betw. files 2012-05-15 16:32:31 +02:00
Martin Pulec
5113d5cbb3 Make DXT more self-contained 2012-05-14 16:56:25 +02:00
Martin Pulec
fe72241671 added screen video driver 2012-05-04 16:38:06 +02:00
Martin Pulec
882559dba9 RTDXT: use PBO for textured data read-back 2012-03-01 08:59:43 +01:00
root
5d1083a10c RTDXT: use PBO for texture loads 2012-03-01 08:59:19 +01:00
Martin Pulec
49ff0dfab1 RTDXT: removed if from compression shaders 2012-02-27 15:29:26 +01:00
Martin Pulec
98f6a065c3 Mac 10.5 - compile RTDXT 2012-02-27 09:07:14 +01:00
Martin Pulec
0d356e2252 RTDXT: compress also when width % 4 != 0 2012-02-13 15:43:55 +01:00
Martin Pulec
b87995b1dd RTDXT: return also original host counters 2012-02-10 14:13:49 +01:00
Martin Pulec
b57a729966 RTDXT: change performance counters to use GL_EXT_timer_query 2012-02-10 13:56:46 +01:00
Martin Pulec
e6080a0adc added support for GPUPerfAPI 2012-02-10 12:38:37 +01:00
Martin Pulec
42bc269e23 added missing glBindFragDataLocation in OGL 3 code 2012-02-10 11:26:04 +01:00
Martin Pulec
551c0695e5 RTDXT: allow core 3.2 profile for Mac Lion (i. a.) 2012-02-07 19:36:40 +01:00
Martin Pulec
d94cc1960f RTDXT changes
* make the library compile again (not only with UltraGrid)
* small changes (mainly dependecies and cleanups)
2012-01-19 12:12:55 +01:00
Martin Pulec
c4ec526cfe add JACK sound input and output 2012-01-19 11:38:41 +01:00
Martin Pulec
fa01c8fd48 DXT1 should work for Mac now 2012-01-03 14:01:47 +01:00
Martin Pulec
cd05d3e6b9 Make DXT5 run on Mac when GL_EXT_gpu_shader4 is present 2012-01-03 13:29:56 +01:00
Martin Pulec
48e26b5a62 DXT - revert to standard tex coords 2011-11-28 15:02:43 +01:00
Martin Pulec
efb6552219 Merge branch 'jpeg_compress' into jpeg_compress_integrated 2011-11-24 19:25:18 +01:00
Martin Pulec
758c365899 DPX: updates - better pipeline i.a. 2011-11-22 14:26:15 +01:00
Martin Srom
b06bd54d34 Correction for improved quality for DXT compression 2011-11-14 10:11:54 +01:00
Martin Srom
aaea629da8 Merge branch 'dxt_compress' of ssh://seth.ics.muni.cz/home/gituser/git/ultragrid into dxt_compress
Conflicts:
	dxt_compress/dxt_encoder.c
2011-11-14 08:59:59 +01:00
Martin Srom
7d4ac40bda Improved quality of DXT compression (now is same as in dxt realtime article) 2011-11-14 08:53:36 +01:00
Martin Pulec
f20132ecd9 Added support for RGB (not RGBA) to DXT, OpenGL
* added possibility to encompress RGB
* OpenGL display now displays RGB nativelly (TODO: add it also for SDL)
2011-10-31 13:09:48 +01:00
Martin Pulec
f568fc5187 Do not require hostname/IP address
* expect localhost where not set
* TODO: revide iHDTV (remained untouched by this change)
+ minor changes in yuv422->yuv444 shader
2011-10-12 11:47:01 +02:00
Martin Pulec
38403bd760 Finished compression on Linux
* TODO: figure it out on Mac X OS, add deinterlace shader and maybe
  other shaders for decoding other codecs (v210 etc.)
2011-10-11 14:05:46 +02:00
Martin Pulec
4bb7a5d899 dxt: logic moved to wrong function 2011-10-10 12:40:04 +02:00
Martin Pulec
622f8fdca5 Simplify compress procedure 2011-10-10 11:59:26 +02:00
Martin Srom
145acda513 Correction for dxt_compressk 2011-10-10 09:19:30 +02:00
Martin Srom
67feeb6b49 Replaced glTexImage2D by faster glTexSubImage2D 2011-10-10 08:32:25 +02:00
Martin Srom
c48659616b Optimized optinal selection of YUV to RGB conversion 2011-10-07 17:12:56 +02:00
Martin Srom
4ad74291d3 Added YUV to RGB conversion to DXT compressor shaders 2011-10-07 13:58:46 +02:00
Martin Srom
3ff5274a1f DXT compressor api changed 2011-10-07 12:14:08 +02:00
Martin Srom
ede910da8c Removed allocation from encode, renamed DXTx constants, timer only ifdef DEBUG 2011-10-07 11:46:41 +02:00
Martin Srom
1b05f78a58 Removed dependency to Cg toolkit, refactored shader to GLSL 2011-10-06 12:38:46 +02:00
Martin Srom
4a44a2a158 Added dxt_compressor tool (DXT1 and DXT5 YCoCg encoder and decoder) 2011-10-04 10:55:45 +02:00