Stb Support

Join GitHub today

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Nov 9, 2017
edited

Add a dds loader, but not same model as HDR loader--we do not support converting to RGBA. It's really just there as a helper function for people who are writing 3D-accelerated games, because it's a poor use of everyone's time for them to not have this.

commented Nov 9, 2017
edited

In raylib I implemented support for DDS, PKM, KTX, PVR and ASTC data loading. Maybe any of those could be useful: https://github.com/raysan5/raylib/blob/master/src/textures.c#L2087

commented Jan 29, 2018

@raysan5 License means I can't use your code, but thanks.

commented Feb 16, 2018

@nothings any progress on this? :)
Would be nice to have support for DXT1/3/5, at least. Ideally - with BC6H & BC7.

commented May 3, 2018

I know that the DDS file format is well documented ( see: DDS on Microsoft Developers Network). This should help with implementing the dds file format after using the recent source release by Rich Geldreich for a bc7 encoder. ( see: https://github.com/richgel999/bc7enc16 ). This should help since the code is released under the same license as the rest of the STB libraries.

Also, I will post something under issue #203 since this really should belong as it's own library set.

commented May 3, 2018

@nothings sorry, just missed your comment!

What's the problem with current zlib license? I can just relicense or dual-license that code if required.

commented May 3, 2018
edited

stb_image is public domain, so you'd have to disown copyright for your lib. I wouldn't bother, dds isn't complicated enough to need that much work anyway. The hard part will be defining a new API and hooking up the other stuff to it.

referenced this issue May 12, 2018

Open

Requested libraries #203

commented May 24, 2018

Maybe this helps, someone based on stb_image and implemented dds support.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Most set-top boxes these days, whether TiVo, Moxi, or cable and satellite boxes, are capable of high-definition.

In order to take full advantage of the high-definition experience, you need to change how your TV is connected.

Fortunately, it's pretty easy to do. Plus, since an HDMI cable is what's used for this, which carries both audio and video signals, you only need that one cable to get everything to your HDTV.

Set-top boxes work with televisions from a variety of manufacturers including, but not limited to, those made by LG, Samsung, Panasonic, Sony, and Vizio.

Filmovi

Use HDMI to Connect Your STB to Your HDTV

Let’s take a look at using HDMI to connect your STB to your HDTV so you can start enjoying the HD programming provided by your provider.

  1. First, determine if your set-top box has an HDMI connection. The HDMI port should look a bit like a flattened, misshaped USB port, and follow the same shape as the HDMI cable ends you see in the picture above.

    While most set-top boxes do have an HDMI out port, there are still some that, while HD-capable, will not support HDMI. If yours does not have one, either try upgrading to one that does or try connecting component cables to your TV.

  2. Locate one of the HDMI ports on your HDTV. If you have just one, then you have no option but to use it. However, most TVs have at least two, labeled HDMI 1 and HDMI 2.

    If it's easier to remember that the device is on HDMI 1, then go for it. It really doesn't matter which one you use so long as you remember which you choose.

  3. Attach one of end the HDMI cable to your HDTV and the other to your set-top box HDMI out.

    Make sure you don't use any other connections between the STB and the HDTV, like coax or component. It's possible that the other cables will confuse the devices and you won't see anything on the screen.

  4. Turn on your HDTV and STB.

  5. Switch the input on your TV to the HDMI port you chose. This can probably be done from the TV itself but most remotes for HDTVs have an 'HDMI 1' and 'HDMI 2' button. Choose whichever applies to the choice you made in Step 2.

    Some HDTVs won't let you select the port until you've actually made a connection, so if you skipped Step 3, make sure you connect the cable now and then try changing the input.

  6. If you’ve selected the correct input on the TV, you should be all set. You can now take the time to adjust the resolution and make any other changes needed to get the best picture.

Tips

  • If you want to use an A/V receiver, you can do so by using two HDMI cables, connecting everything in order and again, making sure you've set your inputs correctly. An A/V receiver will let you take full advantage of 5.1 surround sound if the channel you're watching provides it.
  • Each STB should have a manual (whether physical or online) that you can go through if you're having troubles setting it up. It's possible that there's some sort of misconfiguration going on and not that you're mishandling the cables.