Home
last modified time | relevance | path

Searched full:hgo (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_hgo.c26 static inline u32 vsp1_hgo_read(struct vsp1_hgo *hgo, u32 reg) in vsp1_hgo_read() argument
28 return vsp1_read(hgo->histo.entity.vsp1, reg); in vsp1_hgo_read()
31 static inline void vsp1_hgo_write(struct vsp1_hgo *hgo, in vsp1_hgo_write() argument
43 struct vsp1_hgo *hgo = to_hgo(&entity->subdev); in vsp1_hgo_frame_end() local
49 buf = vsp1_histogram_buffer_get(&hgo->histo); in vsp1_hgo_frame_end()
55 if (hgo->num_bins == 256) { in vsp1_hgo_frame_end()
56 *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_MAXMIN); in vsp1_hgo_frame_end()
57 *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_SUM); in vsp1_hgo_frame_end()
60 vsp1_write(hgo->histo.entity.vsp1, in vsp1_hgo_frame_end()
62 *data++ = vsp1_hgo_read(hgo, VI6_HGO_EXT_HIST_DATA); in vsp1_hgo_frame_end()
[all …]
H A Dvsp1_hgo.h39 void vsp1_hgo_frame_end(struct vsp1_entity *hgo);
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgo.rst3 .. _v4l2-meta-fmt-vsp1-hgo:
16 Histogram (HGO) engine.
18 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb
23 The HGO can compute histograms independently per channel, on the maximum of the
28 - In *64 bins normal mode*, the HGO operates on the three channels independently
31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
34 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a
36 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
44 .. flat-table:: VSP1 HGO Data - 64 Bins, Normal Mode (792 bytes)
95 .. flat-table:: VSP1 HGO Data - 64 Bins, Max Mode (264 bytes)
[all …]