Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/platform/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_pipe.h99 * @hgo: HGO entity, if present
131 struct vsp1_entity *hgo; member
H A Dvsp1_entity.c34 * The HGO is a special case, its routing is configured on the in vsp1_entity_route_setup()
455 * optional HGO and HGT. We ignore the HGO and HGT here. in vsp1_entity_link_setup_source()
513 * higher than one for the data pipelines, except for the links to the HGO and
515 * outgoing links this function ignores HGO and HGT entities and should thus be
532 /* If we're the sink the source will never be an HGO or HGT. */ in vsp1_entity_remote_pad()
539 /* If the sink isn't a subdevice it can't be an HGO or HGT. */ in vsp1_entity_remote_pad()
H A Dvsp1_drv.c148 if (vsp1->hgo) { in vsp1_uapi_create_links()
149 ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, in vsp1_uapi_create_links()
151 &vsp1->hgo->histo.video.entity, 0, in vsp1_uapi_create_links()
315 vsp1->hgo = vsp1_hgo_create(vsp1); in vsp1_create_entities()
316 if (IS_ERR(vsp1->hgo)) { in vsp1_create_entities()
317 ret = PTR_ERR(vsp1->hgo); in vsp1_create_entities()
321 list_add_tail(&vsp1->hgo->histo.entity.list_dev, in vsp1_create_entities()
H A Dvsp1_pipe.c269 pipe->hgo = NULL; in vsp1_pipeline_reset()
348 if (pipe->hgo) in vsp1_pipeline_stop()
388 if (pipe->hgo) in vsp1_pipeline_frame_end()
389 vsp1_hgo_frame_end(pipe->hgo); in vsp1_pipeline_frame_end()
H A Dvsp1_hgo.h39 void vsp1_hgo_frame_end(struct vsp1_entity *hgo);
H A Dvsp1.h86 struct vsp1_hgo *hgo; member
H A Dvsp1_video.c483 * The main data path doesn't include the HGO or HGT, use in vsp1_video_pipeline_build_branch()
543 /* Follow the source link, ignoring any HGO or HGT. */ in vsp1_video_pipeline_build_branch()
610 pipe->hgo = e; in vsp1_video_pipeline_build()
H A Dvsp1_regs.h655 * HGO Control Registers
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpixfmt-meta-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 …]
H A Dmeta-formats.rst19 pixfmt-meta-vsp1-hgo
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/
H A Drenesas,cmm.yaml17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...