ipa: vimc: Add support for tracing operations

Add support to the dummy VIMC IPA for tracing operation by using a FIFO
channel that will be used by the IPA Interface test to verify
communications with the IPA.

At the moment only add support for the init() operation as it's the only
defined one.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Jacopo Mondi
2019-10-03 17:20:37 +02:00
parent ecbe309b06
commit c86dc5e00e
2 changed files with 89 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* ipa_vimc.h - Vimc Image Processing Algorithm module
*/
#ifndef __LIBCAMERA_IPA_VIMC_H__
#define __LIBCAMERA_IPA_VIMC_H__
namespace libcamera {
#define VIMC_IPA_FIFO_PATH "/tmp/libcamera_ipa_vimc_fifo"
enum IPAOperationCode {
IPAOperationNone,
IPAOperationInit,
};
}; /* namespace libcamera */
#endif /* __LIBCAMERA_IPA_VIMC_H__ */