Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/renesas/vsp1/
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 …]
Dvsp1_pipe.h89 * @hgo: HGO entity, if present
120 struct vsp1_entity *hgo; member
Dvsp1_entity.c34 * The HGO is a special case, its routing is configured on the in vsp1_entity_route_setup()
408 * optional HGO and HGT. We ignore the HGO and HGT here. in vsp1_entity_link_setup_source()
466 * higher than one for the data pipelines, except for the links to the HGO and
468 * outgoing links this function ignores HGO and HGT entities and should thus be
485 /* If we're the sink the source will never be an HGO or HGT. */ in vsp1_entity_remote_pad()
492 /* If the sink isn't a subdevice it can't be an HGO or HGT. */ in vsp1_entity_remote_pad()
Dvsp1_drv.c157 if (vsp1->hgo) { in vsp1_uapi_create_links()
158 ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, in vsp1_uapi_create_links()
160 &vsp1->hgo->histo.video.entity, 0, in vsp1_uapi_create_links()
322 vsp1->hgo = vsp1_hgo_create(vsp1); in vsp1_create_entities()
323 if (IS_ERR(vsp1->hgo)) { in vsp1_create_entities()
324 ret = PTR_ERR(vsp1->hgo); in vsp1_create_entities()
328 list_add_tail(&vsp1->hgo->histo.entity.list_dev, in vsp1_create_entities()
Dvsp1_hgo.h39 void vsp1_hgo_frame_end(struct vsp1_entity *hgo);
Dvsp1_pipe.c287 pipe->hgo = NULL; in vsp1_pipeline_reset()
388 if (pipe->hgo) in vsp1_pipeline_stop()
428 if (pipe->hgo) in vsp1_pipeline_frame_end()
429 vsp1_hgo_frame_end(pipe->hgo); in vsp1_pipeline_frame_end()
Dvsp1.h90 struct vsp1_hgo *hgo; member
Dvsp1_video.c364 * The main data path doesn't include the HGO or HGT, use in vsp1_video_pipeline_build_branch()
424 /* Follow the source link, ignoring any HGO or HGT. */ in vsp1_video_pipeline_build_branch()
491 pipe->hgo = e; in vsp1_video_pipeline_build()
Dvsp1_regs.h679 * HGO Control Registers
/linux-6.12.1/Documentation/userspace-api/media/v4l/
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 …]
Dmeta-formats.rst22 metafmt-vsp1-hgo
/linux-6.12.1/Documentation/devicetree/bindings/display/
Drenesas,cmm.yaml17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color