| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_postproc.c | 87 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable() 88 HANTRO_PP_REG_WRITE(vpu, input_height, MB_HEIGHT(ctx->dst_fmt.height)); in hantro_postproc_enable() 91 HANTRO_PP_REG_WRITE(vpu, output_width, ctx->dst_fmt.width); in hantro_postproc_enable() 92 HANTRO_PP_REG_WRITE(vpu, output_height, ctx->dst_fmt.height); in hantro_postproc_enable() 93 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable() 94 HANTRO_PP_REG_WRITE(vpu, display_width, ctx->dst_fmt.width); in hantro_postproc_enable() 121 buf_size = ctx->dst_fmt.plane_fmt[0].sizeimage + in hantro_postproc_alloc() 122 hantro_h264_mv_size(ctx->dst_fmt.width, in hantro_postproc_alloc() 123 ctx->dst_fmt.height); in hantro_postproc_alloc()
|
| H A D | hantro_v4l2.c | 230 *pix_mp = ctx->dst_fmt; in vidioc_g_fmt_cap_mplane() 335 fmt = &ctx->dst_fmt; in hantro_reset_encoded_fmt() 361 encoded_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 364 raw_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 457 ctx->dst_fmt.colorspace = pix_mp->colorspace; in hantro_set_fmt_out() 458 ctx->dst_fmt.ycbcr_enc = pix_mp->ycbcr_enc; in hantro_set_fmt_out() 459 ctx->dst_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_out() 460 ctx->dst_fmt.quantization = pix_mp->quantization; in hantro_set_fmt_out() 493 (pix_mp->pixelformat != ctx->dst_fmt.pixelformat || in hantro_set_fmt_cap() 494 pix_mp->height != ctx->dst_fmt.height || in hantro_set_fmt_cap() [all …]
|
| H A D | rk3399_vpu_hw_jpeg_enc.c | 135 jpeg_ctx.width = ctx->dst_fmt.width; in rk3399_vpu_jpeg_enc_run() 136 jpeg_ctx.height = ctx->dst_fmt.height; in rk3399_vpu_jpeg_enc_run()
|
| H A D | rk3399_vpu_hw_mpeg2_dec.c | 130 addr += ALIGN(ctx->dst_fmt.width, 16); in rk3399_vpu_mpeg2_dec_set_buffers() 223 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rk3399_vpu_mpeg2_dec_run() 224 VDPU_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in rk3399_vpu_mpeg2_dec_run()
|
| H A D | hantro_g1_mpeg2_dec.c | 128 addr += ALIGN(ctx->dst_fmt.width, 16); in hantro_g1_mpeg2_dec_set_buffers() 207 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run() 208 G1_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in hantro_g1_mpeg2_dec_run()
|
| H A D | hantro_h1_jpeg_enc.c | 105 jpeg_ctx.width = ctx->dst_fmt.width; in hantro_h1_jpeg_enc_run() 106 jpeg_ctx.height = ctx->dst_fmt.height; in hantro_h1_jpeg_enc_run()
|
| H A D | hantro_vp8.c | 154 mb_width = DIV_ROUND_UP(ctx->dst_fmt.width, 16); in hantro_vp8_dec_init() 155 mb_height = DIV_ROUND_UP(ctx->dst_fmt.height, 16); in hantro_vp8_dec_init()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | sun8i_rotate.c | 112 fmt = rotate_find_format(ctx->dst_fmt.pixelformat); in rotate_device_run() 117 ctx->dst_fmt.bytesperline, ctx->dst_fmt.height, in rotate_device_run() 121 ROTATE_SIZE(ctx->dst_fmt.width, ctx->dst_fmt.height)); in rotate_device_run() 293 f->fmt.pix = ctx->dst_fmt; in rotate_g_fmt_vid_cap() 354 ctx->dst_fmt = f->fmt.pix; in rotate_s_fmt_vid_cap() 385 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in rotate_s_fmt_vid_out() 386 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in rotate_s_fmt_vid_out() 387 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in rotate_s_fmt_vid_out() 388 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in rotate_s_fmt_vid_out() 390 return rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_s_fmt_vid_out() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_video.c | 223 f->fmt.pix = ctx->dst_fmt; in cedrus_g_fmt_vid_cap() 291 ctx->dst_fmt = f->fmt.pix; in cedrus_s_fmt_vid_cap() 345 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in cedrus_s_fmt_vid_out() 346 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in cedrus_s_fmt_vid_out() 347 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in cedrus_s_fmt_vid_out() 348 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in cedrus_s_fmt_vid_out() 349 ctx->dst_fmt.width = ctx->src_fmt.width; in cedrus_s_fmt_vid_out() 350 ctx->dst_fmt.height = ctx->src_fmt.height; in cedrus_s_fmt_vid_out() 351 cedrus_prepare_format(&ctx->dst_fmt); in cedrus_s_fmt_vid_out() 397 pix_fmt = &ctx->dst_fmt; in cedrus_queue_setup() [all …]
|
| H A D | cedrus.c | 315 ctx->dst_fmt.pixelformat = V4L2_PIX_FMT_SUNXI_TILED_NV12; in cedrus_open() 316 cedrus_prepare_format(&ctx->dst_fmt); in cedrus_open() 322 ctx->src_fmt.width = ctx->dst_fmt.width; in cedrus_open() 323 ctx->src_fmt.height = ctx->dst_fmt.height; in cedrus_open()
|
| H A D | cedrus.h | 106 struct v4l2_pix_format dst_fmt; member 218 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun8i-di/ |
| H A D | sun8i-di.c | 138 width = ctx->dst_fmt.width; in deinterlace_device_run() 139 height = ctx->dst_fmt.height; in deinterlace_device_run() 140 stride = ctx->dst_fmt.bytesperline; in deinterlace_device_run() 156 hstep = (ctx->src_fmt.width << 16) / ctx->dst_fmt.width; in deinterlace_device_run() 157 vstep = (ctx->src_fmt.height << 16) / ctx->dst_fmt.height; in deinterlace_device_run() 398 f->fmt.pix = ctx->dst_fmt; in deinterlace_g_fmt_vid_cap() 458 ctx->dst_fmt = f->fmt.pix; in deinterlace_s_fmt_vid_cap() 481 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in deinterlace_s_fmt_vid_out() 482 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in deinterlace_s_fmt_vid_out() 483 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in deinterlace_s_fmt_vid_out() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 40 RK_S32 dst_fmt; member 135 cfg->dst_fmt, cfg->dst_swa); in check_input_cmd() 150 if (cfg->dst_fmt < IEP2_FMT_YUV422 || in check_input_cmd() 151 cfg->dst_fmt > IEP2_FMT_YUV420 || in check_input_cmd() 200 size_t dstfrmsize = get_frm_size(cfg->dst_fmt, cfg->w, cfg->h); in iep2_test() 281 params.param.com.dfmt = cfg->dst_fmt; in iep2_test() 293 imgdst[i].format = cfg->dst_fmt; in iep2_test() 372 cfg.dst_fmt = IEP2_FMT_YUV420; in main() 390 cfg.dst_fmt = str_to_iep2_fmt(optarg); in main()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/rga/test/ |
| H A D | rga_test.cpp | 35 MppFrameFormat dst_fmt; member 131 cmd->dst_fmt = (MppFrameFormat) atoi(next); in rga_test_parse_options() 175 cmd.dst_w, cmd.dst_h, cmd.dst_fmt, in main() 228 cmd.src_w, cmd.src_h, cmd.dst_fmt); in main() 254 mpp_frame_set_fmt(dst_frm, cmd.dst_fmt); in main() 293 mpp_frame_set_fmt(src_frm, cmd.dst_fmt); in main()
|
| /OK3568_Linux_fs/buildroot/package/qt5/qt5base/ |
| H A D | 0018-HACK-qpaintengine_raster-Support-rga-in-fillRect-wit.patch | 174 + RgaSURF_FORMAT dst_fmt = rga_get_format(dst_format); 175 + if (src_fmt == RK_FORMAT_UNKNOWN || dst_fmt == RK_FORMAT_UNKNOWN) { 177 + dst_fmt = rga_get_reverse_format(dst_format); 178 + if (src_fmt == RK_FORMAT_UNKNOWN || dst_fmt == RK_FORMAT_UNKNOWN) 187 + if (dst_fmt == RK_FORMAT_RGB_565) 214 + dst_stride, dst_height, dst_fmt);
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/ |
| H A D | csc.c | 140 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt) in csc_set_coeff() argument 164 if (V4L2_TYPE_IS_MULTIPLANAR(dst_fmt->type)) { in csc_set_coeff() 165 mp = &dst_fmt->fmt.pix_mp; in csc_set_coeff() 170 pix = &dst_fmt->fmt.pix; in csc_set_coeff()
|
| H A D | csc.h | 61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/iep/ |
| H A D | hw_iep_reg.c | 65 unsigned int dst_fmt = 0; in iep_config_dst_fmt() local 72 dst_fmt = 0; in iep_config_dst_fmt() 79 dst_fmt = 0; in iep_config_dst_fmt() 86 dst_fmt = 0; in iep_config_dst_fmt() 93 dst_fmt = 0; in iep_config_dst_fmt() 100 dst_fmt = 1; in iep_config_dst_fmt() 107 dst_fmt = 1; in iep_config_dst_fmt() 114 dst_fmt = 2; in iep_config_dst_fmt() 120 dst_fmt = 2; in iep_config_dst_fmt() 126 dst_fmt = 3; in iep_config_dst_fmt() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/iep/test/ |
| H A D | iep_test.cpp | 49 RK_S32 dst_fmt; member 265 config_iep_img(&info->dst, cfg->dst_w, cfg->dst_h, cfg->dst_fmt, info->phy_dst0); in iep_process_thread() 382 if (cfg->dst_fmt < IEP_FORMAT_ARGB_8888 || in check_input_cmd() 383 cfg->dst_fmt > IEP_FORMAT_YCrCb_420_P) { in check_input_cmd() 452 cfg.dst_fmt = IEP_FORMAT_YCbCr_420_SP; in main() 474 cfg.dst_fmt = str_to_iep_fmt(optarg); in main() 520 info.dst_size = get_image_size(cfg.dst_w, cfg.dst_h, cfg.dst_fmt); in main()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/rga/ |
| H A D | rga.cpp | 300 RgaFormat dst_fmt = rga_fmt_map(mpp_frame_get_fmt(dst)); in rga_copy() local 304 if (src_fmt >= RGA_FMT_BUTT || dst_fmt >= RGA_FMT_BUTT) { in rga_copy() 306 src_fmt, dst_fmt); in rga_copy() 320 dst_fd, dst_w, dst_h, dst_fmt); in rga_copy() 333 request->dst.format = (RK_U32)dst_fmt; in rga_copy()
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/skylake/ |
| H A D | skl-topology.c | 2182 struct skl_module_fmt *dst_fmt, in skl_tplg_fill_fmt() argument 2187 dst_fmt->channels = value; in skl_tplg_fill_fmt() 2191 dst_fmt->s_freq = value; in skl_tplg_fill_fmt() 2195 dst_fmt->bit_depth = value; in skl_tplg_fill_fmt() 2199 dst_fmt->valid_bit_depth = value; in skl_tplg_fill_fmt() 2203 dst_fmt->ch_cfg = value; in skl_tplg_fill_fmt() 2207 dst_fmt->interleaving_style = value; in skl_tplg_fill_fmt() 2211 dst_fmt->sample_type = value; in skl_tplg_fill_fmt() 2215 dst_fmt->ch_map = value; in skl_tplg_fill_fmt() 2230 struct skl_module_fmt *dst_fmt; in skl_tplg_widget_fill_fmt() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_scaler.c | 206 u32 dst_fmt) in scaler_set_dst_fmt() argument 210 val = SCALER_DST_CFG_SET_COLOR_FORMAT(dst_fmt); in scaler_set_dst_fmt() 364 const struct scaler_format *src_fmt, *dst_fmt; in scaler_commit() local 367 dst_fmt = scaler_get_format(task->dst.buf.fourcc); in scaler_commit() 384 scaler_set_dst_fmt(scaler, dst_fmt->internal_fmt); in scaler_commit()
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d_impl.cpp | 1040 int src_fmt, pat_fmt, dst_fmt; in rga_check_blend() local 1045 dst_fmt = dst.format; in rga_check_blend() 1049 dst_isRGB = NormalRgaIsRgbFormat(dst_fmt); in rga_check_blend() 1062 dst_fmt, translate_format_str(dst_fmt)); in rga_check_blend() 1073 dst_fmt, translate_format_str(dst_fmt)); in rga_check_blend() 1077 if (!NormalRgaFormatHasAlpha(dst_fmt)) { in rga_check_blend() 1082 dst_fmt, translate_format_str(dst_fmt)); in rga_check_blend() 1088 if (!(NormalRgaFormatHasAlpha(src_fmt) || NormalRgaFormatHasAlpha(dst_fmt))) { in rga_check_blend() 1093 dst_fmt, translate_format_str(dst_fmt)); in rga_check_blend()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/ |
| H A D | native-lib.cc | 173 jbyteArray dst, jint dst_fmt, in Java_com_rockchip_gpadc_demo_rga_RGA_color_1convert_1and_1flip() argument 179 jint ret = colorConvertAndFlip(src_buf, src_fmt, dst_buf, dst_fmt, width, height, flip); in Java_com_rockchip_gpadc_demo_rga_RGA_color_1convert_1and_1flip()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/ |
| H A D | display.c | 186 int dst_fmt = disp->rga_fmt; in drm_commit() local 198 rga_set_rect(&dst.rect, 0, 0, dst_w, dst_h, dst_w, dst_h, dst_fmt); in drm_commit()
|