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
#ifndef _JPEG_GLOBAL_
#define _JPEG_GLOBAL_
#ifdef DRM_LINUX
#include "vpu_macro.h"
#else
#include "vpu_api.h"
#endif
#include "allocator_drm.h"
 
typedef struct tJPEG_FRAME
{
    RK_U32          FrameBusAddr[2];       //0: Y address; 1: UV address;
    RK_U32          FrameWidth;         //16X¶ÔÆë¿í¶È
    RK_U32          FrameHeight;        //16X¶ÔÆë¸ß¶È
    RK_U32          OutputWidth;        //·Ç16X±ØÐë
    RK_U32          OutputHeight;       //·Ç16X±ØÐë
    RK_U32          DisplayWidth;       //ÏÔʾ¿í¶È
    RK_U32          DisplayHeight;      //ÏÔʾ¸ß¶È
    RK_U32          ColorType;
    RK_U32          ErrorInfo;          //¸ÃÖ¡µÄ´íÎóÐÅÏ¢£¬·µ»Ø¸øÏµÍ³·½±ãµ÷ÊÔ
    RK_U32            employ_cnt;
    MppBufferInfo   jpegmem;
    struct tJPEG_FRAME *    next_frame;
    RK_U32          Res[4];
}JPEG_FRAME;
#endif /*_VPU_GLOBAL_*/