JPEG IP core （KJN series）
The KJN series of still-image compression/decompression IP corescomplies with the JPEG Baseline/Extended process StandardOverview
 Complies with JPEG Baseline / Extended / Lossless (ISO/IEC 10918-1, ITU-T T.81 Annex H)
 Obtains high-speed, small-scale and power-efficient processing by Shikino’s original algorithms
 The arithmetic accuracy satisfies the compliance testing requirement of JPEG Part2 (ISO/IEC 10918-2, ITU-T T.83)
 Operation parameters such as processing mode, image size, DRI value etc. are set in internal registers via external CPU Markers

Automatically generated on Encode, and automatically analyzed on Decode.
Supported markers：SOI, SOF0（Baseline), SOF1(Extended), SOF3(Lossless), SOS, DQT, DHT, DRI, RSTm, EOI
 A flexible lineup meeting a wide range of demands on Processing speed (Data rate) and Image bit depth

Performance◆ The KJN series is up to 32X faster data rate against other common JPEG IP cores
Decode data rate

Encode data rate

Image data rate （MAX）* Although common H/W JPEG IPs process
images at only 1sample/clock(same as KJN-1+),our JPEG IP processes up to 32X faster withsmall gate count to satisfy high-resolution needs.

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

Advantage of KJN seriesComparison against common JPEG IP(Samples/clock)

Image Bit
Depth

Lossless

Shikino IP(KJN series)

Up to 32

8-16bitYes

CommonJPEG IP

1

8bit

No

Data rate

Codecgate count

ASIC/FPGA

Frame Rate (fps)(8K：YUV422@200MHz)

Gate count estimation at
96fps

JPEG
(Baseline, Extended,Lossless)
JPEG XR

Least
80KG

Yes

96

Around 400KGates

JPEG(Baseline)

Around100KG

Yes

3

Around 3200KGates(1Sample/clock IP x 32)

Supported Formats(8K：YUV422＠200MHz)* Above numbers might vary depending on environments and/or image.

◆ Overwhelming superiority in Data rate and Gate count
KJN series attains up to 32X higher data rate against other common JPEG IP and only 1/32 frequency is needed to achieve
the same target frame rate. On the other hand, it is also possible to meet the target frame rate with a lower gate count.

Encode data rate

Our fastest IP core
32X faster than common JPEG IPCommon JPEG IP (same as KJN-1+)◆ Support high bit depth/Lossless
The KJN series supports not only standard 8bit JPEG (Baseline), but also 12bit JPEG (Extended) to satisfy high bit depth needs
such as HDR(WDR). This function provides the same compression efficiency with JPEG and outstanding images with less image
quality deterioration during image compression/decompression of 10-14bit camera sensor data.
Furthermore, this series also provides Lossless formats for applications where any deterioration of image quality is
unacceptable. Lossless format : ISO/IEC 10918-1, ITU-T T.81 Annex H and JPEG XR.
Our original high speed algorithm used by the high bit depth/lossless IP cores enables a reduction of the clock frequency
and/or gate count.

◆ A thorough support system
We offer customization of the Interface, additional functions and/or the IP core itself, to satisfy specific user demands.
 Processing capacity.
 Fully reversible lossless compression method.
 Code stream format.

 Rate control & image area segmentation functions.
 IP core peripheral circuit design.
 Integration with customer IP core.

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

High bit depth/Lossless image IP coreAn IP core supporting high bit depth and lossless function to obtain ultra-high definition images against traditional
8bit RGB. We are ready to provide an IP core supporting more than 12 bits depth, Lossless/Lossy image, which
minimizes image quality deterioration and enables advanced image correction/edit.

◆ High bit depth
In addition to the existing 8bit depth in JPEG, the high bit depths (10bit/12bit) attains high image quality.
It is even possible to select bit depths for each frame. This product is most suitable for themedical/broadcasting/aerospace/industrial camera fields requiring color reproducibility and exactness.

◆ Lossless/Lossy
Besides the existing lossy JPEG format, the KJN series supports lossless compression for color reproducibility.
This technology is very useful in highly advanced medical equipment, image processing inspection devices andaviation/aerospace equipment that previously have required customers to use uncompressed and large-capacity RAW images toprevent image quality deterioration.

◆ High speed
The Lossy processing function provides users with the 32X, 32Sample/clock processing speed (data rate).
This is optimal for consumer devices requiring high-speed consecutive shooting (e.g. DSC, DSLR, Smartphones, Tablets,
8K displays and so forth).
High bit depth/Lossless IP core list
Image Bit Depth(bits)

Mode

Data Rate(Samples/clock)Supported Formats

KJN-1LSC

8,12,14,16

Lossless

1JPEG(Lossless)

KJN-7EX_LSC(Lossless)

8,10,12,14,16

Lossless8(Decode:4)

JPEG(Lossless)

KJN-7EX

8,10*1,12Lossy

8

JPEG(Baseline, Extended)

KJN-7EX_LSC

8,10*1,12

Lossless/Lossy

8(Lossless Decode:4)

JPEG(Baseline, Extended, Lossless)

KJN-8EX

8,10*1,12Lossy

16JPEG(Baseline, Extended)

KJN-9EX_ENC

8,10*1,12Lossy

32

JPEG
(Baseline, Extended)

KJN-X1+

1,5,8,10,12*1,14*1,16

Lossless/Lossy

3

JPEG XR*1 Our original specification, as an extension to the standard

High bit depth advantage example◆ Image data manipulation
Reduce image quality deterioration by high-level image edit.

Low dynamic range
under exposure

JPEG image

levelcorrection

8bit JPEG
level correction (image)◆ HDR(WDR)
Obtain high dynamic range.
Low dynamic range
over exposurelevelcorrection

12bit JPEG
level correction (image)High dynamic range(image)

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

Introduction of new product IP core (1/2)
We introduce new products added.

Lossless JPEG IP core
◆ Lossless / High bit depth
KJN-7EX_LSC’s supported formats is Lossy/Lossless
KJN-7EX_LSC(Lossless) supports Lossless only, and reduced the area ratio by 52%.
KJN-7EX_LSC(Lossless) corresponds to multi bit depth of 8bit /10bit /12bit /14bit /16bit, realizing high image quality.
It is even possible to select bit depths for each frame. This product is most suitable for themedical/broadcasting/aerospace/industrial camera fields requiring color reproducibility and exactness.

KJN-7EX_LSC(Lossless)Image Bit Depth(bits)

Mode

Data Rate(Samples/clock)Supported Formats

8,10,12,14,16

Lossless

8(Lossless Decode:4)

JPEG(Lossless)

JPEG IP core supporting IEEE 1180-1990◆ Improve calculation accuracy
The conventional KJN series supported only to the calculation precision of ITU-T83.
KJN-7GI, KJN-8GI conforming to IEEE 1180-1990 will be added to the line-up.
Image Bit Depth(bits)

ModeData Rate(Samples/clock)Supported Formats

KJN-7GI8Lossy

8JPEG(Baseline)

KJN-8GI

8Lossy16JPEG(Baseline)

An example of the comparison result of the PSNR values of ITU-T 83 and IEEE 1180-1990 is shown below.
Perform a test that compression/decompression 100 times and compare the PSNR values of each.
In the test result, IEEE 1180-1990 improves image quality by 2.6 times for ITU - T 83.
PSNR[dB]

PSNR=65dB
PSNR=40dB

PSNR=25dB(2.6 times) image
quality improvement（KJN-7,8EX ratio）

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

Introduction of new product IP core (2/2)
KJN-F Series which implements high performance in FPGA device

JPEG IP core for FPGA device
Comparison with conventional KJN Series products

Low Gate size significantly
High Frequency significantly

Comparison with our products

Gate Size

About 30%Gate Size

Great Improvement

Frequency About twice

Frequency About twice

Codec

EncoderKJN SeriesIntel Cyclone-V

About 12%KJN-F Series (Reference)

KJN Series

KJN-F Series (Reference)

KJN-1ENC

KJN-F1ENC

KJN-1+

KJN-F1Company A

192

80―1485673I/Os

Company B

Gate Size[ALMs]

467032004094

1930

17002430Frequency

[MHz]

63132

13083

182

166

Processing capacity[MPixel/sec]

3166654191

83

RAMs

[M10K]

1299493126181151DSPs

Vary depending on synthesis conditions.

Specifications
KJN-F series

*1*2
*3

Interface(bit)Data Rate
Samples*1/clock

CPU
I/F

Image
I/F

Code
I/F

Quantization
Table

HuffmanTable

KJN-F1

18884（RAM)

DC2(Fix)
AC2(Fix) *2

KJN-F1ENC

18884（RAM)

DC2(Fix)
AC2(Fix) *2

KJN-F423232324（RAM)

DC2(Fix)
AC2(Fix) *2

KJN-F4ENC

23232324（RAM)

DC2(Fix)
AC2(Fix) *2

KJN-F4DEC

23232324（RAM)DC 2（RAM)AC 2（RAM) *3

KJN-F4DEC_LI

23232324（RAM)

DC2(Fix)
AC2(Fix) *2

1 Component (e.g. :1Sample=8bit at Baseline)

Huffman table fixed recommendation standard table.
Use downloaded Huffman table.

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

ProfileBaseline

JPEG XR IP core
The KJN-X1+ is a still-image compression/decompression IP core,complies with the JPEG XR Standard.

Overview◆ High Compression Efficiency
One of the advantages of JPEG XR format is the very high compression efficiency.
The images below show the image quality for JPEG and JPEG XR respectively, when the compression ratio is below 1%.
In spite of the poor quality JPEG image, the JPEG XR image remains useful as a normal photo. PSNR of the JPEG XR
image is still around 40dB at this high compression ratio.

◆ High bit depth/Lossless
High-end users who modify their photos using photo retouch software prefer raw format for taking DSC pictures. The rawformat is the best for storing image base data, when anticipating certain image corrections. This is due to the format being able
to record all the data from the image sensor. However, these users also wish to have an alternative format, to reduce thecurrently gigantic raw file size.
JPEG XR supports Lossless format. This means JPEG XR is able to store the same data as the raw format with much smaller
file size. This new format makes is possible to reduce the file size to around 30-40% of the original natural pictures.
(Compression Ratio depends on the picture) Our JPEG XR IP core supports up to 16 bits depth in both Lossless and Lossy
modes, enabling the use of well compressed, but still unreduced quality image sensor data..
◇ Compression ratio & PSNR (Original image：30,357,644byte)◇ Luminance correction with high bit depth image

8bit image

JPEG
260,174byte
CR 0.86%
PSNR:25dB← JPEG

JPEG XR→257,373byte
CR 0.85%
PSNR:40dB

JPEG XR

Note the rough gradation within the red circles

16bit image

Specification list
InterfaceKJN-X1+

Color Format

CPUInterface

Image
Interface

CodeInterface

YONLY/ YUV420 / YUV422 / YUV444/ CMYKDIRECT / RGB / CMYK

8/16/32bit

64bit

64bit

Support*1*1:Formats YONLY,YUV,YUVK are specified in JPEG XR Part2[3rd edition].
Depending on settings, RGB/CMYK will be internally converted and processed in YUV/YUVK format.

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

JPEG IP core specification list
Specification list
Interface(bit)

Quantization
Table

Huffman
Table

84(RAM)

DC2(RAM)
AC2(RAM)

882(RAM)

DC2(Fix)
AC2(Fix) *2

816164(RAM)

DC2(RAM)
AC2(RAM)

2816164(RAM)

DC2(Fix)
AC2(Fix) *2

KJN-643232/64

32/644(RAM)

DC2(RAM)
AC2(RAM)*3

KJN-6ENC

43232/6432/644(RAM)

DC2(Fix)
AC2(Fix) *2

KJN-783264644(RAM)

DC2(RAM)
AC2(RAM)*3

KJN-7ENC

83264644(RAM)

DC2(Fix)
AC2(Fix) *2

KJN-7EX

8329664/96/1284(RAM)

DC4(RAM)
AC4(RAM)*5

Baseline
Extended

KJN-7EX_LSC*88329664/96/1284(RAM)

DC4(RAM)
AC4(RAM)*6

Baseline
Extended
Lossless

KJN-8EX(8bit)

16321281284（RAM)

DC2(RAM)
AC2(RAM)*3

Baseline

KJN-8EX(12bit) *71632192

2564（RAM)

DC4(RAM)
AC4(RAM)*5

Baseline
ExtendedKJN-8EX_ENC(8bit)

16321281284（RAM)

DC2(Fix)
AC2(Fix) *2

Baseline

KJN-8EX_ENC(12bit) *71632192

128/2564（RAM)

DC2(Fix)
AC2(Fix) *5

Baseline
Extended

KJN-8EX_DEC(8bit)

1632

1281284（RAM)

DC2(RAM)
AC2(RAM)*3

Baseline

KJN-8EX_DEC(12bit) *71632

1922564（RAM)

DC4(RAM)
AC4(RAM)*5

Baseline
Extended

KJN-8GI*101632

1281284（RAM)DC 2（RAM)AC 2（RAM) *3

Baseline

KJN-9EX_ENC(8bit)

32322562564(RAM)

DC2(Fix)
AC2(Fix) *2

Baseline

KJN-9EX_ENC(12bit) *732323845124(RAM)

DC2(Fix)
AC2Fix) *5

Baseline
Extended

KJN-1LSC

188/12/
14/1632-DC 4(RAM)KJN-7EX_LSC*8(Lossless)

83212864/96/128-DC 4(RAM)

Data Rate

KJN series

Samples*1/clock

CPUI/F

Image
I/F

Code
I/F

KJN-1+ *9

188

KJN-1ENC *918

KJN-4

2

KJN-4ENC

ProfileBaseline*1*2*3Lossless

1 Component (e.g. :1Sample=8bit at Baseline)
Huffman table is based on recommended standard table.
Huffman table is based on recommended standard table forcompression processing,and optional Huffman table can be used for expansion processing.

*5*6*7*8*9*10

Fixed table is used on Encode.(DC:2,AC:2)
12bit JPEG: SHIKINO original table
8bit JPEG: Standard table
Download from compressed data on Decode.(DC:4,AC:4)
Use Four DC tables for Lossless. Lossy tables are the same as “*5”possible to switch the circuit of 8/12bit parameter settings.
KJN-7EX_LSC （Lossy mode), not support 411 colorformat
KJN-1+,KJN-1ENC not support CMYK format
Arithmetic accuracy complies with IEEE 1180-1990

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

http://www.shikino.co.jp/eng
E-mail ： ip_sales@shikino.co.jp
Tokyo Design Center
Shibakoen Denki Bldg 8F, 1-1-12, Shibakoen, Minato-ku,
Tokyo, 105-0011, Japan
Phone :+81-3-5777-3340 FAX :+81-3-5777-3341
Osaka Design Center
Shin-Osaka Nishiura Bldg 6F, 7-38, Nishimiyahara 2-chome,
Yodogawa-ku, Osaka, 532-0004, Japan
Phone :+81-6-6150-7730 FAX :+81-6-6150-7739

Copyright 2018 Shikino High-Tech Co.,Ltd. All Rights Reserved.

Ver.1.14