astc-encoder | Arm ASTC Encoder , a compressor for the Adaptive Scalable | Computer Vision library

 by   ARM-software C Version: 4.4.0 License: Apache-2.0

kandi X-RAY | astc-encoder Summary

kandi X-RAY | astc-encoder Summary

astc-encoder is a C library typically used in Artificial Intelligence, Computer Vision applications. astc-encoder has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

This is the official repository for the Arm Adaptive Scalable Texture Compression (ASTC) Encoder, astcenc, a command-line tool for compressing and decompressing images using the ASTC texture compression standard.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              astc-encoder has a medium active ecosystem.
              It has 813 star(s) with 201 fork(s). There are 51 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 9 open issues and 220 have been closed. On average issues are closed in 51 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of astc-encoder is 4.4.0

            kandi-Quality Quality

              astc-encoder has 0 bugs and 0 code smells.

            kandi-Security Security

              astc-encoder has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              astc-encoder code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              astc-encoder is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              astc-encoder releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of astc-encoder
            Get all kandi verified functions for this library.

            astc-encoder Key Features

            No Key Features are available at this moment for astc-encoder.

            astc-encoder Examples and Code Snippets

            No Code Snippets are available at this moment for astc-encoder.

            Community Discussions

            Trending Discussions on astc-encoder

            QUESTION

            Segmentation fault with glCompressedTexImage2D
            Asked 2017-Jan-15 at 17:14

            I'm running an OpenGL ES application on a device that supports the GL_OES_texture_compression_astc extension. I have a 3000x2000 pixel texture, and when I call glTexImage2D, everything runs fine.

            To compress the image, I downloaded the ASTC encoder and executed the following command:

            ./astcenc.exe -c player.png player.astc 6x5 -medium

            But when I use player.astc in glCompressedTexImage2D, the function causes a segmentation fault. Here's my code:

            glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, tids[0]); glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA_ASTC_6x5_KHR, 3000, 2000, 0, size, data); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glBindTexture(GL_TEXTURE_2D, 0);

            I've checked size and data, and they appear to be fine. Is there anything I can do to fix the problem?

            ...

            ANSWER

            Answered 2017-Jan-15 at 17:14

            There is an example of ASTC texture usage in the Mali OpenGL ES SDK:

            http://malideveloper.arm.com/sample-code/astc-textures/

            Source https://stackoverflow.com/questions/41652857

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install astc-encoder

            Release build binaries for the astcenc stable releases are provided in the GitHub Releases page. Latest 3.x stable release: 3.3. Latest 2.x stable release: 2.5. Binaries are provided for 64-bit builds on Windows, macOS, and Linux. The builds of the astcenc are provided as multiple binaries, each tuned for a specific SIMD instruction set.
            Change log: 3.x series
            Change log: 2.x series
            astcenc-sse2 - uses SSE2
            astcenc-sse4.1 - uses SSE4.1 and POPCNT
            astcenc-avx2 - uses AVX2, SSE4.2, POPCNT, and F16C
            astcenc-neon - uses NEON
            Open a terminal, change to the appropriate directory for your system, and run the astcenc encoder program, like this on Linux or macOS:.

            Support

            The encoder supports compression of low dynamic range (BMP, JPEG, PNG, TGA) and high dynamic range (EXR, HDR) images, as well as a subset of image data wrapped in the DDS and KTX container formats, into ASTC or KTX format output images. The decoder supports decompression of ASTC or KTX format input images into low dynamic range (BMP, PNG, TGA), high dynamic range (EXR, HDR), or DDS and KTX wrapped output images. The encoder allows control over the compression time/quality tradeoff with exhaustive, thorough, medium, fast, and fastest encoding quality presets. The encoder allows compression time and quality analysis by reporting the compression time, and the Peak Signal-to-Noise Ratio (PSNR) between the input image and the compressed output.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ARM-software/astc-encoder.git

          • CLI

            gh repo clone ARM-software/astc-encoder

          • sshUrl

            git@github.com:ARM-software/astc-encoder.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link