Pavel Krajcevski
9bbc707379
Fix average downscale method signature.
2013-10-10 10:49:49 -04:00
Pavel Krajcevski
30e0337496
Small refactoring changes.
2013-10-03 14:12:48 -04:00
Pavel Krajcevski
160fbb5e39
Add method for downscaling by averaging nearby pixel values.
2013-10-03 14:12:41 -04:00
Pavel Krajcevski
8e555b8424
Add hessian eigenvalue computation for an image.
2013-10-02 11:20:11 -04:00
Pavel Krajcevski
623f792904
Refactor
2013-10-02 11:19:36 -04:00
Pavel Krajcevski
0112f2cca7
Move the intensity calculation to the Pixel class...
2013-10-01 18:03:59 -04:00
Pavel Krajcevski
baab69dc99
Fix some MSVC compiler snafus
2013-09-28 22:21:31 -04:00
Pavel Krajcevski
dcf389d346
Merge PVRTC compressor into split library.
2013-09-27 17:30:16 -04:00
Pavel Krajcevski
ed12d53cd4
Merge in a few changes from master
2013-09-25 15:05:56 -04:00
Pavel Krajcevski
79d2ad79ac
Fix some snafus on windows
2013-09-25 14:30:48 -04:00
Pavel Krajcevski
ea68f3a138
PVRTC image quality of life improvements.
2013-09-24 14:00:14 -04:00
Pavel Krajcevski
e9a9988a56
Fix small bug in downsampling that causes artifacts
2013-09-20 12:48:56 -04:00
Pavel Krajcevski
995c237e5e
Add downscale test and fix a few bugs and formatting.
2013-09-19 17:47:36 -04:00
Pavel Krajcevski
9f4fa671d9
Add a first pass at content aware downscaling.
2013-09-18 18:03:44 -04:00
Pavel Krajcevski
e609075d04
Split apart the index calculation and pixel lookup functions
2013-09-18 18:03:08 -04:00
Pavel Krajcevski
16cc7f4a93
Use GetHeight/GetWidth() where appropriate instead of m_Width/m_Height
2013-09-18 18:02:35 -04:00
Pavel Krajcevski
d4ca50f8ed
Fix the directories in the PVRTC compressor
2013-09-17 18:35:56 -04:00
Pavel Krajcevski
29bd1368e6
Fix a few compiler warnings and add the BPTCEncoder license.
2013-09-15 14:56:09 -04:00
Pavel Krajcevski
28cf254fe5
Initial decoupling of base library from core library. Includes a few formatting changes as well.
2013-09-13 19:36:37 -04:00
Pavel Krajcevski
b3f8fcd454
Decouple upscale directions so that we can non-uniformly scale images.
2013-09-12 14:44:54 -04:00
Pavel Krajcevski
9f6e6e7233
Fix bug with debug images
2013-09-12 14:32:33 -04:00
Pavel Krajcevski
6c8eea5520
Add superfluous code from when I was trying to match the decoder to PVR library.
2013-09-09 10:31:53 -05:00
Pavel Krajcevski
09b5680245
Some small code style fixes
2013-09-06 13:37:50 -04:00
Pavel Krajcevski
91c79cd717
Fix Bilinear upscale
...
There were a couple of fixes.
1. Add another set of pixels to an image that represent the fractional bits that get populated as a result of doing a bilerp.
2. Do not consider individual axes when doing the bilerp. Instead, assign a weight to each of the different texels that we will use for the bilerp. Then, combine them and save the fractional bits.
2013-09-06 01:58:53 -04:00
Pavel Krajcevski
92827c23fc
Add a debug function to our intermediate PVRTC images
2013-09-06 01:57:06 -04:00
Pavel Krajcevski
4bbd80aab2
Make sure to preserve bit depth when bilinearly upscaling
2013-09-02 19:14:31 -04:00
Pavel Krajcevski
1d25e31d2a
Bilinear upscale bug fixes.
2013-08-31 18:30:47 -04:00
Pavel Krajcevski
36641c2268
Don't set all of the memory to zero when we specify an image without any pixels
2013-08-31 16:43:32 -04:00
Pavel Krajcevski
992c72e4b5
Fix asserts
2013-08-31 16:40:49 -04:00
Pavel Krajcevski
b3a07e21f7
Add assignment operator
2013-08-31 16:37:07 -04:00
Pavel Krajcevski
f280c2bb33
Fix some compiler warnings.
2013-08-31 13:30:12 -04:00
Pavel Krajcevski
40743d612b
Add a logical definition of an image for PVRTC
2013-08-29 18:31:42 -04:00