Home
last modified time | relevance | path

Searched refs:luma (Results 1 – 25 of 63) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vicodec/
H A Dcodec-v4l2-fwht.c98 rf->luma = buf; in prepare_raw_frame()
111 rf->luma = NULL; in prepare_raw_frame()
123 rf->cb = rf->luma + size; in prepare_raw_frame()
127 rf->cr = rf->luma + size; in prepare_raw_frame()
131 rf->cb = rf->luma + size; in prepare_raw_frame()
137 rf->cb = rf->luma + size; in prepare_raw_frame()
143 rf->cr = rf->luma + size; in prepare_raw_frame()
147 rf->cb = rf->luma + 1; in prepare_raw_frame()
151 rf->cr = rf->luma + 1; in prepare_raw_frame()
155 rf->cb = rf->luma; in prepare_raw_frame()
[all …]
H A Dcodec-fwht.h128 u8 *luma, *cb, *cr, *alpha; member
H A Dcodec-fwht.c789 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
920 if (!decode_plane(cf, &rlco, height, width, ref->luma, ref_stride, in fwht_decode_frame()
921 ref->luma_alpha_step, dst->luma, dst_stride, in fwht_decode_frame()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/
H A DRkLumaCore.cpp41 SmartPtr<VideoBuffer> luma = mStatsQueue.pop (timeout); in loop() local
43 if (!luma.ptr()) { in loop()
48 XCamReturn ret = mRkLumaCore->analyze (luma); in loop()
184 rk_sim_isp_v200_luma_t* luma = in analyze() local
187 luma->valid_luma, in analyze()
188 luma->image_luma_result.mean_luma[0]); in analyze()
193 luma->image_luma_result.mean_luma[0], in analyze()
196 float dluma = float(luma_frame_pre->mean_luma[0] - luma->image_luma_result.mean_luma[0]) / in analyze()
197 (luma_frame_pre->mean_luma[0] + luma->image_luma_result.mean_luma[0]); in analyze()
205 luma_result->mean_luma[0] = luma->image_luma_result.mean_luma[0]; in analyze()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-luma-oled_3.8.1.bb5 HOMEPAGE = "https://github.com/rm-hull/luma.oled"
15 PYPI_PACKAGE = "luma.oled"
18 ${PYTHON_PN}-luma-core \
H A Dpython3-luma-core_2.3.1.bb3 HOMEPAGE = "https://github.com/rm-hull/luma.core"
11 PYPI_PACKAGE = "luma.core"
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpixfmt-m420.rst17 (YUV 4:2:0). Pixels are organized as interleaved luma and chroma planes.
18 Two lines of luma data are followed by one line of chroma data.
20 The luma plane has one byte per pixel. The chroma plane contains
H A Dcolorspaces.rst107 the so-called luma coefficients. There may be multiple possible Y'CbCr
109 prefer to use luma (Y') and chroma (CbCr) instead of R'G'B'. Since the
112 compared to the luma data. Note that the luma (Y') is unrelated to the Y
117 correct, it is just an encoding of an R'G'B' color into luma and chroma
146 luma coefficients needed to transform R'G'B' to Y'CbCr. While some
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcif-luma.c104 struct rkcif_luma_vdev *luma = video_drvdata(file); in rkcif_luma_fop_release() local
109 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkcif_luma_fop_release()
259 cur_stat_buf->luma[i].exp_mean[j] = in rkcif_stats_send_luma()
260 work->luma[i].exp_mean[j]; in rkcif_stats_send_luma()
321 luma_vdev->work.luma[0].exp_mean[i] = in rkcif_luma_isr()
332 luma_vdev->work.luma[1].exp_mean[i] = in rkcif_luma_isr()
343 luma_vdev->work.luma[2].exp_mean[i] = in rkcif_luma_isr()
H A DMakefile6 cif-luma.o \
H A Dcif-luma.h35 struct rkisp_mipi_luma luma[RKCIF_RAW_MAX]; member
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Disp_mipi_luma.c100 struct rkisp_luma_vdev *luma = video_drvdata(file); in rkisp_luma_fop_release() local
105 v4l2_pipeline_pm_put(&luma->vnode.vdev.entity); in rkisp_luma_fop_release()
257 cur_stat_buf->luma[i].exp_mean[j] = in rkisp_stats_send_luma()
258 work->luma[i].exp_mean[j]; in rkisp_stats_send_luma()
356 luma_vdev->work.luma[0].exp_mean[i] = in rkisp_luma_isr()
367 luma_vdev->work.luma[1].exp_mean[i] = in rkisp_luma_isr()
378 luma_vdev->work.luma[2].exp_mean[i] = in rkisp_luma_isr()
H A Disp_mipi_luma.h33 struct rkisp_mipi_luma luma[ISP2X_MIPI_RAW_MAX]; member
/OK3568_Linux_fs/external/mpp/utils/
H A Dutils.c349 crc->luma.sum_cnt = grp_cnt; in calc_frm_crc()
353 wide_bit_sum(&dat8[y * stride], width, &crc->luma.sum[y / grp_line_cnt]); in calc_frm_crc()
357 wide_bit_sum(&dat8[y * stride], width, &crc->luma.sum[y / grp_line_cnt]); in calc_frm_crc()
367 crc->luma.len = height * width; in calc_frm_crc()
368 crc->luma.vor = xor; in calc_frm_crc()
400 fprintf(fp, "%d,", crc->luma.len); in write_frm_crc()
401 for (loop = 0; loop < crc->luma.sum_cnt; loop++) { in write_frm_crc()
402 fprintf(fp, " %lx,", crc->luma.sum[loop]); in write_frm_crc()
404 fprintf(fp, " %08x,", crc->luma.vor); in write_frm_crc()
424 ret = fscanf(fp, "%d", &crc->luma.len); in read_frm_crc()
[all …]
H A Dutils.h39 DataCrc luma; member
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/
H A Detoms.c624 __u8 luma; in do_autogain() local
645 luma = LIMIT(r + g + b); in do_autogain()
646 gspca_dbg(gspca_dev, D_FRAM, "Etoms luma G %d\n", luma); in do_autogain()
647 if (luma < luma_mean - luma_delta || luma > luma_mean + luma_delta) { in do_autogain()
648 Gbright += (luma_mean - luma) >> spring; in do_autogain()
H A Dnw80x.c1938 int luma; in do_autogain() local
1948 luma = (gspca_dev->usb_buf[3] << 24) + (gspca_dev->usb_buf[2] << 16) in do_autogain()
1950 luma /= sd->ae_res; in do_autogain()
1954 gspca_coarse_grained_expo_autogain(gspca_dev, luma, 100, 5); in do_autogain()
1957 gspca_expo_autogain(gspca_dev, luma, 100, 5, 230, 0); in do_autogain()
/OK3568_Linux_fs/kernel/drivers/media/pci/cx18/
H A Dcx18-av-core.c594 int luma = vid_input & 0xf000; in set_input() local
599 luma < CX18_AV_COMPONENT_LUMA1 || in set_input()
600 luma > CX18_AV_COMPONENT_LUMA8 || in set_input()
609 afe_mux_cfg = (luma - CX18_AV_COMPONENT_LUMA1) >> 12; in set_input()
617 int luma = vid_input & 0xf0; in set_input() local
621 luma < CX18_AV_SVIDEO_LUMA1 || in set_input()
622 luma > CX18_AV_SVIDEO_LUMA8 || in set_input()
629 afe_mux_cfg = 0xf0 + ((luma - CX18_AV_SVIDEO_LUMA1) >> 4); in set_input()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/i2c/
H A Datomisp-mt9m114.c1247 s32 luma = 0x37; in mt9m114_s_ev() local
1255 luma += 0x10 * val; in mt9m114_s_ev()
1256 dev_dbg(&c->dev, "%s val:%d luma:0x%x\n", __func__, val, luma); in mt9m114_s_ev()
1262 err = mt9m114_write_reg(c, MISENSOR_8BIT, 0xC87A, (u32)luma); in mt9m114_s_ev()
1277 u32 luma; in mt9m114_g_ev() local
1284 err = mt9m114_read_reg(c, MISENSOR_8BIT, 0xC87A, &luma); in mt9m114_g_ev()
1290 luma -= 0x17; in mt9m114_g_ev()
1291 luma /= 0x10; in mt9m114_g_ev()
1292 *val = (s32)luma - 2; in mt9m114_g_ev()
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispresizer.c261 struct resizer_luma_yenh *luma) in resizer_set_luma() argument
266 rgval = (luma->algo << ISPRSZ_YENH_ALGO_SHIFT) in resizer_set_luma()
268 rgval |= (luma->gain << ISPRSZ_YENH_GAIN_SHIFT) in resizer_set_luma()
270 rgval |= (luma->slope << ISPRSZ_YENH_SLOP_SHIFT) in resizer_set_luma()
272 rgval |= (luma->core << ISPRSZ_YENH_CORE_SHIFT) in resizer_set_luma()
959 struct resizer_luma_yenh luma = {0, 0, 0, 0}; in resizer_configure() local
976 resizer_set_luma(res, &luma); in resizer_configure()
H A Disppreview.h83 struct omap3isp_prev_luma luma; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/isp20/
H A DIsp20Params.h113 s32 frameNum, s32 PixelNumBlock, float blc, float *luma);
115 s32 hdrtmoPredictK(float* luma, float* expo, s32 frameNum, PredictKPara_t *TmoPara);
H A DIsp20Params.cpp3467 s32 frameNum, int PixelNumBlock, float blc, float *luma) in hdrtmoGetLumaInfo() argument
3485 nextSLuma[i] = (float)Next->luma[0][i]; in hdrtmoGetLumaInfo()
3488 curSLuma[i] = (float)Cur->luma[0][i]; in hdrtmoGetLumaInfo()
3494 nextSLuma[i] = (float)Next->luma[1][i]; in hdrtmoGetLumaInfo()
3497 curSLuma[i] = (float)Cur->luma[1][i]; in hdrtmoGetLumaInfo()
3502 nextLLuma[i] = (float)Next->luma[0][i]; in hdrtmoGetLumaInfo()
3505 curLLuma[i] = (float)Cur->luma[0][i]; in hdrtmoGetLumaInfo()
3512 nextSLuma[i] = (float)Next->luma[2][i]; in hdrtmoGetLumaInfo()
3515 curSLuma[i] = (float)Cur->luma[2][i]; in hdrtmoGetLumaInfo()
3518 nextMLuma[i] = (float)Next->luma[1][i]; in hdrtmoGetLumaInfo()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c220 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params() local
225 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(0), luma); in nv10_set_params()
226 nvif_wr32(dev, NV_PVIDEO_LUMINANCE(1), luma); in nv10_set_params()
/OK3568_Linux_fs/external/mpp/test/
H A Dmpi_dec_nt_test.c336 data->checkcrc.luma.sum = mpp_malloc(RK_ULONG, 512); in thread_decode()
354 MPP_FREE(data->checkcrc.luma.sum); in thread_decode()

123