index
:
libcamera/jmondi/libcamera.git
imx8mp/extensible-format
imx8mp/extensible-format-v8
imx8mp/extensible-format-v9
isi/raw_sensor
isi/raw_sensor_v2
jmondi/android/ndk/pinephonepro
jmondi/android/pinephonepro
jmondi/android/vndk
jmondi/c-abi
jmondi/device-match-generalize
jmondi/imx8mp/debix-a
jmondi/lc-compliance-cros
jmondi/pinephone
jmondi/pinephonepro
jmondi/pinephonepro-af
jmondi/rk3399/google-dru-scarlet
jmondi/rockpi/af/imx519
jmondi/rpi5-on-mainline
multicontext/rpi/v3
pfc/rkisp1-free-run
pfc/rkisp1-free-run-upstreaming
pfc/rkisp1-free-run-v2
rcar-gen4
yaml-emitter
Jacopo Mondi's clone of libcamera
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
libcamera
Mode
Name
Size
-rw-r--r--
bayer_format.cpp
10629
log
plain
-rw-r--r--
bound_method.cpp
3361
log
plain
-rw-r--r--
buffer.cpp
11129
log
plain
-rw-r--r--
byte_stream_buffer.cpp
9873
log
plain
-rw-r--r--
camera.cpp
36354
log
log
plain
-rw-r--r--
control_validator.cpp
1206
log
void
IPAVimc
::
initTrace
()
{
struct
stat fifoStat
;
int
ret
=
stat
(
VIMC_IPA_FIFO_PATH
, &
fifoStat
);
if
(
ret
)
return
;
ret
= ::
open
(
VIMC_IPA_FIFO_PATH
,
O_WRONLY
);
if
(
ret
<
0
) {
ret
=
errno
;
LOG
(
IPAVimc
,
Error
) <<
"Failed to open vimc IPA test FIFO: "
<<
strerror
(
ret
);
return
;
}
fd_
=
ret
;
}
void
IPAVimc
::
trace
(
enum
IPAOperationCode operation
)
{
if
(
fd_
<
0
)
return
;
int
ret
= ::
write
(
fd_
, &
operation
,
sizeof
(
operation
));
if
(
ret
<
0
) {
ret
=
errno
;
LOG
(
IPAVimc
,
Error
) <<
"Failed to write to vimc IPA test FIFO: "
<<
strerror
(
ret
);
}
}
/*
* External IPA module interface
*/
extern
"C"
{
const struct
IPAModuleInfo ipaModuleInfo
= {
IPA_MODULE_API_VERSION
,
0
,
"PipelineHandlerVimc"
,
"Dummy IPA for Vimc"
,
LICENSE
,
};
IPAInterface
*
ipaCreate
()
{
return new
IPAVimc
();
}
}
}
/* namespace libcamera */