forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*------------------------------------------------------------------------------
--                                                                            --
--       This software is confidential and proprietary and may be used        --
--        only as expressly authorized by a licensing agreement from          --
--                                                                            --
--                            Rockchip Products .                             --
--                                                                            --
--                   (C) COPYRIGHT 2014 ROCKCHIP PRODUCTS                     --
--                            ALL RIGHTS RESERVED                             --
--                                                                            --
--                 The entire notice above must be reproduced                 --
--                  on all copies and should not be removed.                  --
--                                                                            --
--------------------------------------------------------------------------------
--
--  Description :  RK70 JPEG Decoder HW register access functions interface
--
--------------------------------------------------------------------------------
--
--
--
------------------------------------------------------------------------------*/
 
#ifndef _JPG_HWREGDRV_H_
#define _JPG_HWREGDRV_H_
 
#include "vpu_type.h"
#include "deccfg.h"
#include "rkregdrv.h"
 
#define JPEG_RK70_MODE_JPEG       3
 
#define JPEGDEC_RK70_IRQ_DEC_RDY        0x1
#define JPEGDEC_RK70_IRQ_BUS_ERROR      0x2
#define JPEGDEC_RK70_IRQ_BUFFER_EMPTY   0x4
#define JPEGDEC_RK70_IRQ_ASO            0x10
#define JPEGDEC_RK70_IRQ_STREAM_ERROR   0x100
#define JPEGDEC_RK70_IRQ_SLICE_READY    0x20
#define JPEGDEC_RK70_IRQ_TIMEOUT        0x200
 
#endif /* #define _JPG_HWREGDRV_H_ */