Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: litex-hub/jpeg_encoder_gsoc2017_ishan-bansal
base: a973349bc976
Choose a base ref
...
head repository: litex-hub/jpeg_encoder_gsoc2017_ishan-bansal
compare: da7be45709f5
Choose a head ref
  • 9 commits
  • 13 files changed
  • 2 contributors

Commits on Jun 24, 2017

  1. Adding additional files

    ishan98 committed Jun 24, 2017
    Copy the full SHA
    bf62140 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2017

  1. Copy the full SHA
    e3b7069 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2017

  1. Adding Documentation

    ishan98 committed Jun 29, 2017
    Copy the full SHA
    7d7e5a9 View commit details
    Browse the repository at this point in the history
  2. Adding documentation

    ishan98 committed Jun 29, 2017
    Copy the full SHA
    b9d5bce View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2017

  1. Adding Documentation

    ishan98 committed Jun 30, 2017
    Copy the full SHA
    ca0fd0e View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2017

  1. Copy the full SHA
    537ab43 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2017

  1. Copy the full SHA
    2b06e1a View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2017

  1. Adding Indentation

    ishan98 committed Aug 10, 2017
    Copy the full SHA
    6bd4275 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2017

  1. Merge pull request #1 from ishan98/master

    Adding frontend for JPEG encoder.
    
    ----
    
    This commit includes some changes in the existing files and adding some new files as follows:
    
    **Files which are edited**
      ```
      modified:   litejpeg/core/common.py
    ```
                  
    "common.py" contains the various datasets required for initialising the inputs and outputs in other modules. Additional documentation is added to this to make it clear about  which dataset is used in which block and how many bits are assigned to each.
    ```
      modified:   litejpeg/core/csc.py
      modified:   litejpeg/core/quantization.py
      modified:   litejpeg/core/zigzag.py
      modified:   test/Makefile
    ```
    
    Additional documentation is been added to make the code more readable.
    ```  
      modified:   test/common.py
    ```
    
    Contains the input_data for testing and functions for conversion of data and output in the required format.
    Input_data is been added for the testing of the RGB2YCbCr, DCT, Quantizer and Zigzag module.
    Added functions such as pack_dct(), unpack_dct() to get the data or the output of the implemented module in the required format.
    
    
    **Newly added files** 
           
    ``` 
    litejpeg/core/new_dct6.py
    ```
    
    "new_dct6.py" contains the DCT module required for the conversion of the YCbCr in order to suppress the high frequency component present in the matrix. This is been added as the older version that is "dct.py" is not been working over the "new_dct_tb2.py" giving compilation errors. 
    Even after the addition of this module we can remove the dct.py as per requirement.
    
    ``` 
    test/model/enc_frame.py
    ```
    "enc_frame.py" contain the software implementation of each module for the purpose of testing. The 
     ouptut of each implemented module is compared with the software version to check the accuracy of 
     the implemented module. 
    
    ```
    test/new_dct_tb2.py
    test/new_quantize_tb.py
    test/new_zigzag_tb.py
    ```
    
    These three test benches are added to check the accuracy of the DCT, Quantizer and ZigZag module respectively. The test bench runs the same set of inputs to the software and implemented module and compare the output of both.
    
    
    
    After adding the above changes, the resultant repository will have **working model of RGB2YCbCr, DCT , Zigzag and Quantization module along with the Test Benches** for each of them.
    mithro committed Aug 20, 2017
    Copy the full SHA
    da7be45 View commit details
    Browse the repository at this point in the history