1 final project 吳佑焉 陳建宏 陳方玉 柯鴻洋 第八組. 2 outline architecture of jpeg...

Post on 19-Jan-2016

270 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Final Project

吳佑焉陳建宏陳方玉柯鴻洋

第八組

2

Outline

Architecture of JPEG encoder

Forward DCT algorithm review

MYIP design

Problem we met

Conclusion

3

JPEG Encoding

4

RGB => YUV

128)*439.0()*291.0()*148.0(

128)*071.0()*368.0()*439.0(

16)*098.0()*504.0()*257.0(

BGR

BGR

BGR

U

V

Cb

Cr

Y

Y-Luminance(亮度 )

Cb,Cr-Chrominance domain(色差 )

5

Forward DCT

43

52

61

70

1357

3715

5173

7531

7

5

3

1

43

52

61

70

6226

4444

2662

4444

6

4

2

0

2

1

2

1

ff

ff

ff

ff

CCCC

CCCC

CCCC

CCCC

F

F

F

F

ff

ff

ff

ff

CCCC

CCCC

CCCC

CCCC

F

F

F

F

16cos,

kCwhere k

6

MYIP design

MYIP includes RGB2YUV and DCT transform

control

DCT RGB2YUV

MYIP

HADDR[7] HADDR

HWDATA

HRDATA

HREADYOUT

7

Modified files

Verilog file MYIP.v

CPP files Before.cpp Driver.cpp Rgbdriver.cpp

8

MYIP.v file

9

MYIP.v file cont.

10

MYIP.v file cont.

11

Rgbdriver.cpp

12

Driver.cpp

13

Before.cpp

14

Problem we met

Prob1 The modified before.cpp downloaded form web

site has some problem in image quality

Prob2 RGB to YUV coefficients from the transform m

atrix is not consistent with standard

15

Prob1:Image quality

Original 256x256 BMP

Size=193KB

compressed 256x256 JPG using software code,Size=13.2KB

16

Prob2:coefficient is not consistent

17

Compression with RGB2YUV and DCT using hardware realization

Original 256x256 BMP

Size=193KB

Compressed 256x256 jpeg

Size=8.24KB

18

Conclusion and future work

Conclusion How to partition the software and hardware

effect to our jpeg platform design A good solution to our jpeg design

methodology is a key issue

Future work Benchmark which design component which

affects the performance mostly Using hardware to implement quantization

top related