summaryrefslogtreecommitdiff
path: root/src/android/jpeg/post_processor_jpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/jpeg/post_processor_jpeg.cpp')
0 files changed, 0 insertions, 0 deletions
;id=183c834b939745d51e1530af586cb699ea6fd885'>timer.h
blob: 798821611c6c084290d0ebe49b6d3d194c27b470 (plain)
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
42
43
44
45
46
47
48
49
50
51
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * timer.h - Generic timer
 */
#ifndef __LIBCAMERA_BASE_TIMER_H__
#define __LIBCAMERA_BASE_TIMER_H__

#include <chrono>
#include <stdint.h>

#include <libcamera/base/private.h>

#include <libcamera/base/object.h>
#include <libcamera/base/signal.h>

namespace libcamera {

class Message;

class Timer : public Object
{
public:
	Timer(Object *parent = nullptr);
	~Timer();

	void start(unsigned int msec) { start(std::chrono::milliseconds(msec)); }
	void start(std::chrono::milliseconds duration);