Samsung S5PC110 Manual page 1754

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
12.6.12 JPEG DECOMPRESSION FLOW
This is a pseudo instruction set that indicates the write or read on specific registers.
// JPEG decoder initialization
Write SW_RESET
Write JPGCLKCON
Write JPGMOD
Write JPGINTSE
Write OUTFORM
Write IMGADR
Write JPGADR
// Decoding operation start
Write JSTART
// After interrupt is detected, clear the pending register
Read JPGINTST
Write JPGCOM
Read JPGOPR
0x1
0x1
0x8
// Decoding mode
0x0
// Interrupt setting
0x1
// Output raw image is YCbCr4:2:0
0x1000_0000
// Address for a decompressed raw image
0x1001_0000
// Address for a JPEG file to decompress
0x1
// It must be read 0x40.(it means normal end)
0x4
// Clear interrupt
// It must be read 0x0.
12 11BJPEG
12-12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents