liyujie
2025-08-28 d9927380ed7c8366f762049be9f3fee225860833
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
#ifndef __AWISPAPI_H__
#define __AWISPAPI_H__
 
#include <log/log.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <utils/Errors.h>
 
namespace android {
 
class AWIspApi {
 
public:
    /* Constructs AWIspApi instance. */
    AWIspApi();
 
    /* Destructs AWIspApi instance. */
    ~AWIspApi();
 
public:
 
    status_t awIspApiInit();
    int      awIspGetIspId(int video_id);
    status_t awIspStart(int isp_id);
    status_t awIspStop(int isp_id);
    status_t awIspWaitToExit(int isp_id);
    status_t awIspApiUnInit();
    int      awGetFocusStatus();
    int      awSetFocusRegions(int x1, int y1, int x2, int y2);
   int awIspGetExposureTime(int isp_id);
   int awIspGetISO(int isp_id);
 
   int awIspGetInfoLength(int* i3a_length, int* debug_length);
    int awIspGet3AParameters(void * params);
    int awIspGetDebugMessage(void * message);
 
};
}
#endif  /* __AWISPAPI_H__ */