mirror of
https://github.com/nothings/stb
synced 2025-03-11 16:01:12 -04:00
Commit Graph
Select branches
Hide Pull Requests
dev
master
#1
#1
#10
#1000
#1001
#1002
#1003
#1005
#1006
#1007
#1008
#1009
#1012
#1016
#102
#1024
#1025
#1025
#1027
#1029
#1031
#1032
#1033
#1034
#1035
#1036
#1037
#1037
#1038
#1039
#104
#1040
#1042
#1043
#1044
#1045
#1048
#105
#1050
#1052
#1053
#1054
#1058
#106
#1064
#1066
#1067
#1069
#107
#1073
#1074
#1075
#1075
#1078
#108
#1081
#1083
#1084
#1088
#1095
#1098
#1102
#1106
#1107
#111
#1110
#1111
#1113
#1114
#1116
#1121
#1130
#1133
#1135
#1136
#1137
#1142
#1143
#1144
#1145
#1147
#1148
#1150
#1155
#1156
#1157
#1157
#1158
#1160
#1161
#1165
#1169
#1169
#1172
#1172
#1173
#1173
#1174
#1174
#1175
#1175
#1176
#1176
#1177
#1179
#1179
#1181
#1181
#1183
#1184
#1184
#1188
#1188
#1194
#1194
#1195
#1195
#1196
#1196
#1198
#1198
#1199
#1199
#120
#120
#1204
#1207
#1207
#1208
#1208
#121
#1211
#1211
#1217
#1219
#122
#122
#1220
#1223
#1228
#1228
#1230
#1235
#1236
#1236
#1241
#1243
#1255
#1257
#1257
#126
#1261
#1261
#1263
#1266
#1269
#1269
#127
#1270
#1270
#1272
#1272
#1276
#1278
#1278
#1279
#1279
#1290
#1290
#1295
#1295
#1297
#1299
#1299
#130
#130
#1306
#1306
#131
#1310
#1310
#1311
#1311
#1312
#1312
#1315
#1315
#1319
#1320
#1320
#1322
#1324
#1327
#1327
#1330
#1331
#1331
#1333
#1336
#1336
#1337
#1337
#1339
#1347
#1350
#1350
#136
#1373
#1374
#1374
#1375
#1380
#1380
#1383
#1383
#1384
#1385
#1385
#1388
#1388
#1389
#1389
#139
#1396
#1396
#1397
#1397
#1398
#1398
#1399
#14
#140
#1402
#1402
#1404
#1404
#1413
#1414
#1414
#1418
#1418
#142
#1420
#1420
#1422
#1422
#1426
#1426
#1435
#1435
#144
#1440
#1440
#1442
#1442
#1443
#1445
#1445
#1447
#145
#1450
#1450
#1454
#1454
#1455
#1455
#1457
#146
#1462
#1466
#1467
#1467
#1468
#1470
#1470
#1472
#1474
#1476
#1476
#1477
#1478
#1478
#1487
#1487
#1490
#1490
#1494
#1494
#1496
#1496
#1497
#1497
#1498
#1498
#1499
#1499
#15
#150
#1500
#1500
#1502
#1506
#1506
#1509
#1509
#1512
#1512
#1513
#1513
#1514
#1514
#1515
#1517
#1517
#1530
#1530
#1532
#1532
#1534
#1534
#1539
#1539
#154
#1541
#1541
#1543
#1543
#1545
#1545
#1547
#1547
#1549
#1549
#1551
#1551
#1553
#1553
#1554
#1554
#1555
#1555
#1556
#1556
#1557
#1557
#1558
#1558
#1559
#1559
#156
#156
#1560
#1560
#1561
#1561
#1563
#1563
#1564
#1564
#1565
#1565
#1567
#1567
#1569
#1569
#157
#1570
#1570
#1571
#1571
#1572
#1572
#1573
#1573
#1576
#1577
#1577
#158
#1586
#1586
#1592
#1592
#1596
#16
#160
#1600
#1600
#1603
#1604
#1605
#1606
#1609
#1610
#1610
#1615
#1615
#1617
#1617
#1618
#1618
#1619
#1619
#162
#1622
#1622
#1623
#1623
#1624
#1624
#1628
#1628
#163
#163
#1631
#1631
#1638
#1640
#1640
#1646
#1647
#1647
#1649
#1651
#1651
#1653
#1653
#1654
#1655
#1656
#1656
#1657
#1657
#1658
#1658
#166
#166
#1660
#1660
#1664
#1665
#1665
#1667
#1667
#1671
#1674
#1680
#1682
#1682
#1684
#1689
#1689
#1693
#1693
#1694
#1694
#1695
#1695
#1696
#1696
#1699
#1699
#17
#170
#170
#1702
#1702
#1704
#1704
#1705
#1705
#1706
#1706
#1707
#1707
#1708
#1710
#1710
#1712
#1712
#1713
#1713
#1718
#172
#1722
#1722
#1724
#1724
#1725
#1725
#1726
#1726
#173
#1732
#1732
#1736
#1736
#1739
#1739
#174
#174
#1742
#1743
#1743
#1746
#1746
#1747
#1747
#1748
#175
#1751
#1751
#1752
#1752
#1755
#1755
#1756
#1756
#176
#177
#179
#182
#186
#187
#190
#191
#194
#195
#196
#197
#198
#200
#204
#206
#206
#207
#208
#209
#210
#210
#211
#211
#212
#212
#216
#219
#219
#22
#22
#220
#220
#221
#221
#222
#223
#224
#225
#226
#226
#228
#229
#230
#230
#232
#233
#234
#235
#236
#236
#238
#242
#243
#243
#248
#252
#253
#255
#257
#258
#258
#26
#26
#261
#266
#269
#269
#27
#27
#271
#271
#272
#272
#273
#275
#275
#278
#278
#28
#286
#288
#288
#29
#290
#290
#293
#294
#294
#296
#297
#298
#299
#30
#300
#301
#301
#303
#303
#306
#308
#308
#31
#31
#316
#319
#32
#320
#323
#324
#324
#327
#327
#328
#328
#330
#331
#331
#336
#336
#337
#337
#338
#338
#339
#341
#343
#344
#344
#345
#35
#351
#351
#352
#352
#354
#354
#356
#356
#357
#361
#362
#362
#363
#364
#365
#367
#367
#37
#370
#371
#373
#374
#375
#376
#377
#379
#38
#380
#380
#381
#382
#386
#389
#39
#391
#392
#394
#395
#4
#401
#402
#402
#407
#41
#412
#415
#415
#418
#419
#42
#420
#421
#422
#423
#424
#425
#426
#427
#427
#428
#429
#43
#431
#432
#436
#437
#437
#438
#439
#44
#440
#441
#442
#443
#444
#445
#447
#449
#449
#45
#45
#451
#452
#453
#453
#454
#455
#455
#456
#456
#459
#459
#460
#462
#462
#463
#463
#470
#471
#471
#472
#472
#473
#473
#474
#475
#476
#477
#485
#486
#488
#49
#49
#491
#495
#496
#498
#499
#5
#5
#500
#502
#505
#505
#506
#506
#51
#511
#513
#517
#521
#522
#524
#526
#527
#528
#528
#529
#529
#531
#531
#532
#534
#536
#536
#538
#547
#547
#55
#550
#550
#553
#554
#556
#556
#559
#559
#560
#560
#561
#562
#563
#564
#564
#568
#57
#570
#571
#572
#575
#577
#578
#585
#59
#593
#594
#594
#596
#598
#598
#599
#60
#604
#604
#606
#607
#61
#61
#610
#611
#613
#615
#62
#621
#623
#624
#625
#626
#626
#629
#63
#630
#631
#633
#637
#638
#640
#644
#646
#650
#650
#653
#653
#654
#654
#66
#661
#662
#663
#665
#666
#667
#667
#668
#669
#67
#67
#670
#673
#675
#678
#679
#683
#683
#697
#698
#699
#7
#70
#703
#704
#708
#71
#710
#712
#713
#714
#715
#716
#719
#72
#720
#721
#722
#723
#725
#726
#727
#728
#73
#730
#731
#732
#735
#737
#738
#742
#743
#750
#753
#755
#758
#758
#759
#76
#760
#762
#763
#763
#764
#769
#771
#778
#779
#78
#781
#782
#786
#788
#789
#791
#795
#796
#8
#8
#80
#804
#807
#808
#809
#810
#811
#812
#815
#818
#819
#82
#821
#823
#825
#828
#83
#831
#832
#834
#835
#84
#848
#849
#85
#850
#852
#853
#854
#858
#86
#860
#87
#88
#882
#89
#890
#891
#893
#894
#895
#896
#898
#899
#9
#900
#902
#904
#906
#91
#918
#922
#926
#93
#93
#932
#934
#935
#938
#94
#940
#941
#943
#945
#946
#947
#949
#95
#950
#951
#955
#959
#96
#960
#961
#971
#973
#974
#979
#981
#983
#984
#985
#989
#99
#993
#998
#999
Select branches
Hide Pull Requests
dev
master
#1
#1
#10
#1000
#1001
#1002
#1003
#1005
#1006
#1007
#1008
#1009
#1012
#1016
#102
#1024
#1025
#1025
#1027
#1029
#1031
#1032
#1033
#1034
#1035
#1036
#1037
#1037
#1038
#1039
#104
#1040
#1042
#1043
#1044
#1045
#1048
#105
#1050
#1052
#1053
#1054
#1058
#106
#1064
#1066
#1067
#1069
#107
#1073
#1074
#1075
#1075
#1078
#108
#1081
#1083
#1084
#1088
#1095
#1098
#1102
#1106
#1107
#111
#1110
#1111
#1113
#1114
#1116
#1121
#1130
#1133
#1135
#1136
#1137
#1142
#1143
#1144
#1145
#1147
#1148
#1150
#1155
#1156
#1157
#1157
#1158
#1160
#1161
#1165
#1169
#1169
#1172
#1172
#1173
#1173
#1174
#1174
#1175
#1175
#1176
#1176
#1177
#1179
#1179
#1181
#1181
#1183
#1184
#1184
#1188
#1188
#1194
#1194
#1195
#1195
#1196
#1196
#1198
#1198
#1199
#1199
#120
#120
#1204
#1207
#1207
#1208
#1208
#121
#1211
#1211
#1217
#1219
#122
#122
#1220
#1223
#1228
#1228
#1230
#1235
#1236
#1236
#1241
#1243
#1255
#1257
#1257
#126
#1261
#1261
#1263
#1266
#1269
#1269
#127
#1270
#1270
#1272
#1272
#1276
#1278
#1278
#1279
#1279
#1290
#1290
#1295
#1295
#1297
#1299
#1299
#130
#130
#1306
#1306
#131
#1310
#1310
#1311
#1311
#1312
#1312
#1315
#1315
#1319
#1320
#1320
#1322
#1324
#1327
#1327
#1330
#1331
#1331
#1333
#1336
#1336
#1337
#1337
#1339
#1347
#1350
#1350
#136
#1373
#1374
#1374
#1375
#1380
#1380
#1383
#1383
#1384
#1385
#1385
#1388
#1388
#1389
#1389
#139
#1396
#1396
#1397
#1397
#1398
#1398
#1399
#14
#140
#1402
#1402
#1404
#1404
#1413
#1414
#1414
#1418
#1418
#142
#1420
#1420
#1422
#1422
#1426
#1426
#1435
#1435
#144
#1440
#1440
#1442
#1442
#1443
#1445
#1445
#1447
#145
#1450
#1450
#1454
#1454
#1455
#1455
#1457
#146
#1462
#1466
#1467
#1467
#1468
#1470
#1470
#1472
#1474
#1476
#1476
#1477
#1478
#1478
#1487
#1487
#1490
#1490
#1494
#1494
#1496
#1496
#1497
#1497
#1498
#1498
#1499
#1499
#15
#150
#1500
#1500
#1502
#1506
#1506
#1509
#1509
#1512
#1512
#1513
#1513
#1514
#1514
#1515
#1517
#1517
#1530
#1530
#1532
#1532
#1534
#1534
#1539
#1539
#154
#1541
#1541
#1543
#1543
#1545
#1545
#1547
#1547
#1549
#1549
#1551
#1551
#1553
#1553
#1554
#1554
#1555
#1555
#1556
#1556
#1557
#1557
#1558
#1558
#1559
#1559
#156
#156
#1560
#1560
#1561
#1561
#1563
#1563
#1564
#1564
#1565
#1565
#1567
#1567
#1569
#1569
#157
#1570
#1570
#1571
#1571
#1572
#1572
#1573
#1573
#1576
#1577
#1577
#158
#1586
#1586
#1592
#1592
#1596
#16
#160
#1600
#1600
#1603
#1604
#1605
#1606
#1609
#1610
#1610
#1615
#1615
#1617
#1617
#1618
#1618
#1619
#1619
#162
#1622
#1622
#1623
#1623
#1624
#1624
#1628
#1628
#163
#163
#1631
#1631
#1638
#1640
#1640
#1646
#1647
#1647
#1649
#1651
#1651
#1653
#1653
#1654
#1655
#1656
#1656
#1657
#1657
#1658
#1658
#166
#166
#1660
#1660
#1664
#1665
#1665
#1667
#1667
#1671
#1674
#1680
#1682
#1682
#1684
#1689
#1689
#1693
#1693
#1694
#1694
#1695
#1695
#1696
#1696
#1699
#1699
#17
#170
#170
#1702
#1702
#1704
#1704
#1705
#1705
#1706
#1706
#1707
#1707
#1708
#1710
#1710
#1712
#1712
#1713
#1713
#1718
#172
#1722
#1722
#1724
#1724
#1725
#1725
#1726
#1726
#173
#1732
#1732
#1736
#1736
#1739
#1739
#174
#174
#1742
#1743
#1743
#1746
#1746
#1747
#1747
#1748
#175
#1751
#1751
#1752
#1752
#1755
#1755
#1756
#1756
#176
#177
#179
#182
#186
#187
#190
#191
#194
#195
#196
#197
#198
#200
#204
#206
#206
#207
#208
#209
#210
#210
#211
#211
#212
#212
#216
#219
#219
#22
#22
#220
#220
#221
#221
#222
#223
#224
#225
#226
#226
#228
#229
#230
#230
#232
#233
#234
#235
#236
#236
#238
#242
#243
#243
#248
#252
#253
#255
#257
#258
#258
#26
#26
#261
#266
#269
#269
#27
#27
#271
#271
#272
#272
#273
#275
#275
#278
#278
#28
#286
#288
#288
#29
#290
#290
#293
#294
#294
#296
#297
#298
#299
#30
#300
#301
#301
#303
#303
#306
#308
#308
#31
#31
#316
#319
#32
#320
#323
#324
#324
#327
#327
#328
#328
#330
#331
#331
#336
#336
#337
#337
#338
#338
#339
#341
#343
#344
#344
#345
#35
#351
#351
#352
#352
#354
#354
#356
#356
#357
#361
#362
#362
#363
#364
#365
#367
#367
#37
#370
#371
#373
#374
#375
#376
#377
#379
#38
#380
#380
#381
#382
#386
#389
#39
#391
#392
#394
#395
#4
#401
#402
#402
#407
#41
#412
#415
#415
#418
#419
#42
#420
#421
#422
#423
#424
#425
#426
#427
#427
#428
#429
#43
#431
#432
#436
#437
#437
#438
#439
#44
#440
#441
#442
#443
#444
#445
#447
#449
#449
#45
#45
#451
#452
#453
#453
#454
#455
#455
#456
#456
#459
#459
#460
#462
#462
#463
#463
#470
#471
#471
#472
#472
#473
#473
#474
#475
#476
#477
#485
#486
#488
#49
#49
#491
#495
#496
#498
#499
#5
#5
#500
#502
#505
#505
#506
#506
#51
#511
#513
#517
#521
#522
#524
#526
#527
#528
#528
#529
#529
#531
#531
#532
#534
#536
#536
#538
#547
#547
#55
#550
#550
#553
#554
#556
#556
#559
#559
#560
#560
#561
#562
#563
#564
#564
#568
#57
#570
#571
#572
#575
#577
#578
#585
#59
#593
#594
#594
#596
#598
#598
#599
#60
#604
#604
#606
#607
#61
#61
#610
#611
#613
#615
#62
#621
#623
#624
#625
#626
#626
#629
#63
#630
#631
#633
#637
#638
#640
#644
#646
#650
#650
#653
#653
#654
#654
#66
#661
#662
#663
#665
#666
#667
#667
#668
#669
#67
#67
#670
#673
#675
#678
#679
#683
#683
#697
#698
#699
#7
#70
#703
#704
#708
#71
#710
#712
#713
#714
#715
#716
#719
#72
#720
#721
#722
#723
#725
#726
#727
#728
#73
#730
#731
#732
#735
#737
#738
#742
#743
#750
#753
#755
#758
#758
#759
#76
#760
#762
#763
#763
#764
#769
#771
#778
#779
#78
#781
#782
#786
#788
#789
#791
#795
#796
#8
#8
#80
#804
#807
#808
#809
#810
#811
#812
#815
#818
#819
#82
#821
#823
#825
#828
#83
#831
#832
#834
#835
#84
#848
#849
#85
#850
#852
#853
#854
#858
#86
#860
#87
#88
#882
#89
#890
#891
#893
#894
#895
#896
#898
#899
#9
#900
#902
#904
#906
#91
#918
#922
#926
#93
#93
#932
#934
#935
#938
#94
#940
#941
#943
#945
#946
#947
#949
#95
#950
#951
#955
#959
#96
#960
#961
#971
#973
#974
#979
#981
#983
#984
#985
#989
#99
#993
#998
#999
-
29f59c0460
update version number
Sean Barrett
2014-08-07 04:44:17 -0700 -
d26beed67d
comments/ version update for platformID = Unicode
Sean Barrett
2014-08-07 04:41:02 -0700 -
0adfac0abe
Merge branch 'master' of https://github.com/HouQiming/stb into working
Sean Barrett
2014-08-07 04:35:51 -0700 -
85c39da625
Merge branch 'rc/const' of https://github.com/ronnychevalier/stb into working
Sean Barrett
2014-08-07 04:25:12 -0700 -
2119c17ae9
stb_vorbis: fix unused variables
Ronny Chevalier
2014-07-17 14:53:42 +0200 -
260741ed33
vorbis warnings from ronny chevalier
Sean Barrett
2014-08-07 04:20:58 -0700 -
758c165d2c
stb_vorbis: fix unused functions
Ronny Chevalier
2014-07-17 14:49:48 +0200 -
b8b6e7c31a
stb_image: fix unused parameter
Ronny Chevalier
2014-07-17 14:44:11 +0200 -
422e29017c
stb_vorbis: fix signed/unsigned comparison
Ronny Chevalier
2014-07-17 14:43:29 +0200 -
893ef013b2
stb_image: fix undefined preprocessor definition
Ronny Chevalier
2014-07-17 14:43:08 +0200 -
c28e92e856
stb_vorbis: use const char* when appropriate
Ronny Chevalier
2014-08-03 23:43:54 +0200 -
e05ebdbf1e
My guess is people who care about premultiply also care about color space.
Jorge Rodriguez
2014-07-31 19:37:42 -0700 -
d75488b0e8
Do the multiply inline, it should be a tad faster and not corrupt our data.
Jorge Rodriguez
2014-07-31 19:00:48 -0700 -
13acfca829
I had the whole premultiply thing backwards.
Jorge Rodriguez
2014-07-31 18:46:00 -0700 -
21c7c8f5d9
Another stab at the api, offering classes of functions for different common tasks.
Jorge Rodriguez
2014-07-31 18:04:57 -0700 -
8063ea0952
Specify a channel as having premultiplied alpha and use it to un-premultiply all other channels before resampling.
Jorge Rodriguez
2014-07-31 17:20:00 -0700 -
a32fa8b4df
This to-do item done.
Jorge Rodriguez
2014-07-31 16:36:09 -0700 -
daf325dc03
Sub pixel source area test cases. No problems.
Jorge Rodriguez
2014-07-31 16:31:45 -0700 -
aae1c7ca41
ZOOM AND ENHANCE!
Jorge Rodriguez
2014-07-31 15:16:36 -0700 -
1b2d104e00
Some error conditions.
Jorge Rodriguez
2014-07-31 00:52:03 -0700 -
35cb95b803
Allow for specifying a sub-region of the source image to use. Downsampling only, currently.
Jorge Rodriguez
2014-07-31 00:39:33 -0700 -
52ac93225a
C<99 ports
Jorge Rodriguez
2014-07-30 17:33:47 -0700 -
fdc979e48b
Some minor ports for Linux. No idea how it worked at all in Windows with STB_RESIZE_IMPLEMENTATION instead of STB_RESAMPLE_IMPLEMENTATION.
Jorge Rodriguez
2014-07-30 17:30:25 -0700 -
c5de2f3298
Test channels.
Jorge Rodriguez
2014-07-30 09:41:41 -0700 -
985ac75251
When doing a perfect po2 nearest neighbor downsample don't allow -0.5 and 0.5 to both contribute to a texel or you'll get a double tap.
Jorge Rodriguez
2014-07-30 09:27:42 -0700 -
c2449acc3e
Tests for edge behavior
Jorge Rodriguez
2014-07-30 09:14:38 -0700 -
59cb71ea18
Fix float conversion.
Jorge Rodriguez
2014-07-30 08:47:55 -0700 -
6625259959
Try to keep integer precision by briefly casting to double while decoding and encoding.
Jorge Rodriguez
2014-07-30 01:18:23 -0700 -
11897fbf96
More fixing shorts.
Jorge Rodriguez
2014-07-30 00:34:25 -0700 -
1fcbe0daaf
Fix shorts. Add test cases for shorts.
Jorge Rodriguez
2014-07-30 00:16:13 -0700 -
7ead9a748d
Fix. Ring buffers are a height value.
Jorge Rodriguez
2014-07-29 23:09:41 -0700 -
043fa28c11
Same deal with height.
Jorge Rodriguez
2014-07-29 23:02:56 -0700 -
ebe0473d8b
Add a test suite to do a bunch of different resizes to find problems. One problem found was an incorrect calculation of texel support how many margin texels needed when downsampling. When downsampling we need to spread out the support of each contributing texel, so to compensate you need more margin texels.
Jorge Rodriguez
2014-07-29 22:50:06 -0700 -
68f93b72d5
Update documentation and add helper functions.
Jorge Rodriguez
2014-07-29 20:18:28 -0700 -
5b40906271
My perf testing code.
Jorge Rodriguez
2014-07-29 17:44:45 -0700 -
d96c97298c
This is still faster than the function pointer solution, and neater.
Jorge Rodriguez
2014-07-29 16:22:22 -0700 -
3a3e06029e
This is definitely faster than the function pointer solution.
Jorge Rodriguez
2014-07-29 12:11:03 -0700 -
9bd5abb52d
Both versions run within the margin of error on my machine so we'll go with the simpler one.
Jorge Rodriguez
2014-07-29 11:44:32 -0700 -
5dff80ed31
Trying some different strategies for optimizing the decoder. The code in #ifdef 1 is slightly faster by my measurements, but a whole lot uglier.
Jorge Rodriguez
2014-07-29 11:39:42 -0700 -
54a3792ab1
Merge
1bb5089d85
intoee8e926317
metiscus
2014-07-29 18:14:57 +0000 -
1bb5089d85
Changed name of STB_UNUSED macro to STBI_UNUSED to reflect the other macros in the file.
Michael A Bosse
2014-07-29 14:13:37 -0400 -
b9f305c796
Removed a build warning about unused parameter
Michael A Bosse
2014-07-29 14:11:06 -0400 -
05f775e977
Merge branch 'master' of https://github.com/BSVino/stb
Jorge Rodriguez
2014-07-29 00:33:54 -0700 -
1fcf30ada0
Fix a math error.
Jorge Rodriguez
2014-07-29 00:33:29 -0700 -
e2ac4f6505
More resample ideas
Jorge Rodriguez
2014-07-27 12:05:17 -0700 -
ef3a460ec4
Some better looking horners save another multiplication.
Jorge Rodriguez
2014-07-27 00:55:47 -0700 -
7d47582578
Support for 16 and 32 bit integer images, and float images.
Jorge Rodriguez
2014-07-27 00:09:22 -0700 -
6c8cac0a66
Support for sRGB color space.
Jorge Rodriguez
2014-07-26 23:44:45 -0700 -
41dc4c476c
In some situations with certain filter kernels with negative values it's possible to generate valid results > 1.0, so saturate it before we write it to make sure it doesn't overflow. Also fix incorrect filter radius while downsampling.
Jorge Rodriguez
2014-07-26 22:49:56 -0700 -
af1ed58f51
Add wrap, fix reflect so it doesn't wrap.
Jorge Rodriguez
2014-07-26 19:30:13 -0700 -
8723567439
Add edge reflect mode.
Jorge Rodriguez
2014-07-26 19:11:02 -0700 -
6cd81d4dd5
Put the polynomials in horner form to save a multiplication.
Jorge Rodriguez
2014-07-26 15:36:15 -0700 -
fb2f8df5cc
Add mitchell filter.
Jorge Rodriguez
2014-07-26 15:06:31 -0700 -
69af963c42
Add catmull rom filter. Also, move the debug asserts for values <= 1 to the very end of the process. This will make these bugs a lot harder to find, but because some filter kernels have negative values it's possible for the buffers to have values > 1 up until the point where it's converted back to an int.
Jorge Rodriguez
2014-07-26 14:52:28 -0700 -
12acf87eec
When downsampling start the buffer loop at -filter_texel_margin to make sure that all contributors get their taps in at the ring buffer.
Jorge Rodriguez
2014-07-26 13:56:23 -0700 -
155c71fb90
Reorder these loops because I think we get a cache win if we write the entire ring buffer entry at once.
Jorge Rodriguez
2014-07-26 13:12:48 -0700 -
01fb58d6b4
Add a bicubic filter.
Jorge Rodriguez
2014-07-26 13:07:04 -0700 -
a95da9ee1d
Unroll the multiply-add loops. At the cost of a function pointer dereference we get a whole lot of conditionals eliminated. Should be a solid win once the debug asserts are gone.
Jorge Rodriguez
2014-07-26 12:04:39 -0700 -
7abd4ccf34
Support for filters with larger support. Initial support for edge behavior.
Jorge Rodriguez
2014-07-26 11:51:02 -0700 -
62ff271c7a
I put it in the to do list and now I can close my browser tab.
Jorge Rodriguez
2014-07-25 00:08:23 -0700 -
81c1ddf110
Keeping a list of suggestions so I don't forget them.
Jorge Rodriguez
2014-07-25 00:00:40 -0700 -
27926e78b8
Make consistent tests for whether we're doing upsampling or downsampling of width and height. Don't request memory for horizontal buffer or encode buffer if we don't need it.
Jorge Rodriguez
2014-07-24 23:50:14 -0700 -
666c025710
Fix non uniform scaling where out_w < in_w && out_h > in_h.
Jorge Rodriguez
2014-07-24 23:32:25 -0700 -
736596ba09
Fix non uniform scaling where out_w > in_w && out_h < in_h.
Jorge Rodriguez
2014-07-24 23:27:29 -0700 -
178e301ea4
Fix upsampling, avoid dereferencing in an inner loop.
Jorge Rodriguez
2014-07-24 22:54:35 -0700 -
dbb7480f12
Fix nonuniform downsampling.
Jorge Rodriguez
2014-07-24 22:30:35 -0700 -
fa69bc8551
Basic downsampling algorithm works for uniform sampling.
Jorge Rodriguez
2014-07-24 22:09:08 -0700 -
297266b27b
Starting to implement downsampling.
Jorge Rodriguez
2014-07-24 19:10:45 -0700 -
7d8faf5727
Remove unused functions.
Jorge Rodriguez
2014-07-24 15:02:54 -0700 -
8ac052ac8a
Avoid gaps between box filter kernels.
Jorge Rodriguez
2014-07-24 15:02:39 -0700 -
9e726bb3e4
The vertical resampling pass. Now all elements of the upscale algorithm are in place.
Jorge Rodriguez
2014-07-24 14:20:18 -0700 -
152965f334
Decode enough scanlines into a ring buffer to make sure that we have enough source scanlines to do a vertical sampling.
Jorge Rodriguez
2014-07-24 00:47:00 -0700 -
158effb62a
More accurate names. Smaller size for contributors memory, more accurate to what's needed.
Jorge Rodriguez
2014-07-23 23:08:06 -0700 -
855fb207be
Merge remote-tracking branch 'remotes/nothings/master'
Jorge Rodriguez
2014-07-23 22:24:59 -0700 -
55c5f0b3a0
Beginning of a more sophisticated resample algorithm, starting with calculating filter contributions per scan line.
Jorge Rodriguez
2014-07-23 22:17:56 -0700 -
73562febc8
Merge
54d71cad2c
intoee8e926317
Ronny Chevalier
2014-07-22 20:18:56 +0000 -
ee8e926317
even more resampling notes
Sean Barrett
2014-07-22 12:45:24 -0700 -
92b08aa98a
more resampling notes
Sean Barrett
2014-07-22 12:39:29 -0700 -
6f779fb67a
whoops imageresampler link
Sean Barrett
2014-07-22 12:17:43 -0700 -
9c9a68787d
imageresampler library reference
Sean Barrett
2014-07-22 12:16:11 -0700 -
3e8a89cad1
more resampler notes
Sean Barrett
2014-07-22 11:57:46 -0700 -
c27ccec436
resampler prototypes
Sean Barrett
2014-07-22 11:37:54 -0700 -
63cce5c70a
created stb_resample_ideas.txt
Sean Barrett
2014-07-22 10:05:01 -0700 -
0155bd3ab6
We are going to support SRGB.
Jorge Rodriguez
2014-07-21 19:51:11 -0700 -
ba861fa493
Allow specifying a stride.
Jorge Rodriguez
2014-07-21 18:01:05 -0700 -
06b7b00696
It does nothing now but I want to support edge behavior in the future.
Jorge Rodriguez
2014-07-21 16:14:32 -0700 -
c27c5b6fbe
There's really no point in returning the output buffer.
Jorge Rodriguez
2014-07-21 15:36:43 -0700 -
d54e74092e
stb_resample initial implementation
Jorge Rodriguez
2014-07-21 00:16:03 -0700 -
54d71cad2c
stb_vorbis: fix unused variables
Ronny Chevalier
2014-07-17 14:53:42 +0200 -
d54996e73a
stb_vorbis: fix unused functions
Ronny Chevalier
2014-07-17 14:49:48 +0200 -
8e67393dc2
stb_image: fix unused parameter
Ronny Chevalier
2014-07-17 14:44:11 +0200 -
32c73c69d4
stb_vorbis: fix signed/unsigned comparison
Ronny Chevalier
2014-07-17 14:43:29 +0200 -
3ad599be07
stb_image: fix undefined preprocessor definition
Ronny Chevalier
2014-07-17 14:43:08 +0200 -
bcefca10f7
fix bad fix in previous fix
Sean Barrett
2014-07-15 22:26:01 -0700 -
75b9e9cc1b
update stb_image version number
Sean Barrett
2014-07-09 23:45:58 -0700 -
b2cbed2634
Merge branch 'working'
Sean Barrett
2014-07-09 23:44:48 -0700 -
1eb665906e
cdecl fixes
Sean Barrett
2014-07-09 23:41:40 -0700 -
68b5ec9392
fix cdecl
Sean Barrett
2014-07-09 23:39:00 -0700 -
e0d86b0f5c
STBI_ASSERT
Sean Barrett
2014-07-09 23:35:25 -0700 -
3bf91543f4
revert img_n=0 initialization to original location
Sean Barrett
2014-07-09 23:26:03 -0700