| /rockchip-linux_mpp/mpp/hal/vpu/common/ |
| H A D | vepu_common.c | 29 …{ .format = VEPU_FMT_YUV420SEMIPLANAR, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swa… 31 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 33 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 35 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 37 …{ .format = VEPU_FMT_YUV420PLANAR, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16… 39 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 41 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 43 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… 45 …{ .format = VEPU_FMT_YUYV422INTERLEAVED, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .s… 47 …{ .format = VEPU_FMT_BUTT, .r_mask = 0, .g_mask = 0, .b_mask = 0, .swap_8_in = 1, .swap_16_in = 1,… [all …]
|
| H A D | vepu_common.h | 35 VepuFmt format; member 81 MPP_RET get_vepu_fmt(VepuFormatCfg *cfg, MppFrameFormat format);
|
| /rockchip-linux_mpp/mpp/hal/rkenc/common/ |
| H A D | vepu5xx_common.c | 210 .format = VEPU5xx_FMT_YUV420SP, 219 .format = VEPU5xx_FMT_BUTT, 228 .format = VEPU5xx_FMT_YUV422SP, 237 .format = VEPU5xx_FMT_BUTT, 246 .format = VEPU5xx_FMT_YUV420P, 255 .format = VEPU5xx_FMT_YUV420SP, 264 .format = VEPU5xx_FMT_YUV422P, 273 .format = VEPU5xx_FMT_YUV422SP, 282 .format = VEPU5xx_FMT_YUYV422, 291 .format = VEPU5xx_FMT_YUYV422, [all …]
|
| H A D | vepu5xx_common.h | 60 VepuFmt format; member 106 MPP_RET vepu5xx_set_fmt(VepuFmtCfg *cfg, MppFrameFormat format);
|
| /rockchip-linux_mpp/mpp/vproc/iep/ |
| H A D | iep.c | 129 mpp_log("format %d\n", img->format); in dump_iep_img() 221 if (!((src->format < IEP_FORMAT_RGB_BUTT) || in check_msg_image() 222 (src->format >= IEP_FORMAT_YUV_BASE && src->format < IEP_FORMAT_YUV_BUTT))) { in check_msg_image() 352 if ((src->format == IEP_FORMAT_YCbCr_420_P in iep_control() 353 || src->format == IEP_FORMAT_YCbCr_420_SP in iep_control() 354 || src->format == IEP_FORMAT_YCbCr_422_P in iep_control() 355 || src->format == IEP_FORMAT_YCbCr_422_SP in iep_control() 356 || src->format == IEP_FORMAT_YCrCb_420_P in iep_control() 357 || src->format == IEP_FORMAT_YCrCb_420_SP in iep_control() 358 || src->format == IEP_FORMAT_YCrCb_422_P in iep_control() [all …]
|
| /rockchip-linux_mpp/ |
| H A D | Android.bp | 150 …`cd hardware/rockchip/libmpp; git log -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 151 …dware/rockchip/libmpp; git log HEAD~0 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 152 …dware/rockchip/libmpp; git log HEAD~1 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 153 …dware/rockchip/libmpp; git log HEAD~2 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 154 …dware/rockchip/libmpp; git log HEAD~3 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 155 …dware/rockchip/libmpp; git log HEAD~4 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 156 …dware/rockchip/libmpp; git log HEAD~5 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 157 …dware/rockchip/libmpp; git log HEAD~6 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 158 …dware/rockchip/libmpp; git log HEAD~7 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… 159 …dware/rockchip/libmpp; git log HEAD~8 -1 --oneline --date=short --pretty=format:\"%h author: %<|(3… [all …]
|
| H A D | CHANGELOG.md | 243 - [hdr_meta]: Fix hdr format for av1 391 - [vpu_api]: support yuv444sp decode ouput pixel format 505 - [av1d]: Add tile4x4 frame format support 508 - [enc]: Add config entry for output chroma format 519 - [mpp_frame]: Add tile format flag 533 - [vpu_api]: Fix frame format and eos cfg 589 - [utils]: fix read and write some YUV format 621 - [mpp_dump]: add YUV420SP_10BIT format dump 643 - [mpp_enc_roi_utils]: change file format dos to unix 688 - [utils]: adjust format range constraint [all …]
|
| /rockchip-linux_mpp/mpp/vproc/rga/ |
| H A D | rga.c | 177 img->format = (RK_U32)fmt; in config_rga_image() 195 int src_format = request->src.format; in config_rga_yuv2rgb_mode() 196 int dst_format = request->dst.format; in config_rga_yuv2rgb_mode() 312 request->src.format = (RK_U32)src_fmt; in rga_copy() 321 request->dst.format = (RK_U32)dst_fmt; in rga_copy() 371 request->src.format = (RK_U32)fmt; in rga_dup_field() 381 request->dst.format = (RK_U32)fmt; in rga_dup_field()
|
| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu_v2.c | 306 MppFrameFormat format = cfg->format; in h264e_vepu_prep_setup() local 328 prep->src_fmt = format; in h264e_vepu_prep_setup() 333 if (!get_vepu_fmt(&fmt_cfg, format)) { in h264e_vepu_prep_setup() 340 prep->src_fmt = fmt_cfg.format; in h264e_vepu_prep_setup() 345 if (format < MPP_FRAME_FMT_RGB) { in h264e_vepu_prep_setup() 348 mpp_err("vepu do not support input frame format %d\n", format); in h264e_vepu_prep_setup() 360 mpp_err("vepu do not support input frame format %d\n", format); in h264e_vepu_prep_setup() 406 get_vepu_pixel_stride(stride_cfg, prep->src_w, hor_stride, format); in h264e_vepu_prep_setup() 410 switch (format & MPP_FRAME_FMT_MASK) { in h264e_vepu_prep_setup() 446 mpp_err_f("invalid format %d", format); in h264e_vepu_prep_setup()
|
| /rockchip-linux_mpp/mpp/legacy/ |
| H A D | vpu_api_legacy.cpp | 126 mpp_log("width %4d height %4d format %d:%x\n", width, height, cfg->format, fmt); in vpu_api_set_enc_cfg() 303 format(MPP_FMT_YUV420P), in VpuApiLegacy() 464 format = vpu_pic_type_remap_to_mpp((EncInputPictureType)param->format); in init() 478 vpu_api_set_enc_cfg(mpp_ctx, mpi, enc_cfg, coding, format, param); in init() 1096 switch (format & MPP_FRAME_FMT_MASK) { in encode() 1119 mpp_err("unsupport format 0x%x\n", format & MPP_FRAME_FMT_MASK); in encode() 1122 mpp_frame_set_fmt(frame, (MppFrameFormat)(format & MPP_FRAME_FMT_MASK)); in encode() 1360 switch (format & MPP_FRAME_FMT_MASK) { in encoder_sendframe() 1383 mpp_err("unsupport format 0x%x\n", format & MPP_FRAME_FMT_MASK); in encoder_sendframe() 1386 mpp_frame_set_fmt(frame, (MppFrameFormat)(format & MPP_FRAME_FMT_MASK)); in encoder_sendframe() [all …]
|
| H A D | vpu_api_mlvec.h | 42 RK_S32 format; member
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpi_enc_utils.c | 114 name_to_frame_format(cmd->file_input, &cmd->format); in mpi_enc_opt_i() 204 MppFrameFormat format = MPP_FMT_BUTT; in mpi_enc_opt_f() local 207 format = (MppFrameFormat)number; in mpi_enc_opt_f() 209 if (MPP_FRAME_FMT_IS_BE(format) && in mpi_enc_opt_f() 210 (MPP_FRAME_FMT_IS_YUV(format) || MPP_FRAME_FMT_IS_RGB(format))) { in mpi_enc_opt_f() 211 cmd->format = format; in mpi_enc_opt_f() 215 mpp_err("invalid input format 0x%x\n", format); in mpi_enc_opt_f() 219 cmd->format = MPP_FMT_YUV420SP; in mpi_enc_opt_f() 871 cmd->hor_stride = mpi_enc_width_default_stride(cmd->width, cmd->format); in mpi_enc_test_cmd_update_by_args() 1277 mpp_log("format : %d\n", cmd->format); in mpi_enc_test_cmd_show_opt()
|
| H A D | camera_source.c | 112 …_source_init(const char *device, RK_U32 bufcnt, RK_U32 width, RK_U32 height, MppFrameFormat format) in camera_source_init() argument 184 if (MPP_FRAME_FMT_IS_YUV(format)) { in camera_source_init() 185 vfmt.fmt.pix.pixelformat = V4L2_yuv_cfg[format - MPP_FRAME_FMT_YUV]; in camera_source_init() 186 } else if (MPP_FRAME_FMT_IS_RGB(format)) { in camera_source_init() 187 vfmt.fmt.pix.pixelformat = V4L2_RGB_cfg[format - MPP_FRAME_FMT_RGB]; in camera_source_init()
|
| H A D | mpi_dec_utils.c | 510 MppFrameFormat format = MPP_FMT_BUTT; in mpi_dec_opt_f() local 513 format = (MppFrameFormat)number; in mpi_dec_opt_f() 515 if (MPP_FRAME_FMT_IS_YUV(format) || MPP_FRAME_FMT_IS_RGB(format)) { in mpi_dec_opt_f() 516 cmd->format = format; in mpi_dec_opt_f() 520 mpp_err("invalid input format 0x%x\n", format); in mpi_dec_opt_f() 524 cmd->format = MPP_FMT_YUV420SP; in mpi_dec_opt_f()
|
| H A D | iniparser.c | 116 static int default_error_callback(const char *format, ...) in default_error_callback() argument 120 va_start(argptr, format); in default_error_callback() 121 ret = vfprintf(stderr, format, argptr); in default_error_callback()
|
| /rockchip-linux_mpp/mpp/vproc/vdpp/ |
| H A D | vdpp2.c | 121 VdppDciFmt format; member 128 .format = VDPP_DCI_FMT_Y_8bit_SP, 133 .format = VDPP_DCI_FMT_Y_10bit_SP, 138 .format = VDPP_DCI_FMT_Y_8bit_SP, 143 .format = VDPP_DCI_FMT_Y_10bit_SP, 148 .format = VDPP_DCI_FMT_Y_8bit_SP, 153 .format = VDPP_DCI_FMT_Y_8bit_SP, 158 .format = VDPP_DCI_FMT_Y_8bit_SP, 163 .format = VDPP_DCI_FMT_Y_8bit_SP, 168 .format = VDPP_DCI_FMT_BUTT, [all …]
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_dec_test.c | 138 if (MPP_FRAME_FMT_IS_FBC(cmd->format)) { in dec_simple() 144 mpp_frame_set_fmt(frm, cmd->format); in dec_simple() 382 if (MPP_FRAME_FMT_IS_YUV(cmd->format) || MPP_FRAME_FMT_IS_RGB(cmd->format)) { in thread_decode() 383 MPP_RET ret = mpi->control(ctx, MPP_DEC_SET_OUTPUT_FORMAT, &cmd->format); in thread_decode() 385 mpp_err("Failed to set output format 0x%x\n", cmd->format); in thread_decode() 635 cmd->format = MPP_FMT_BUTT; in main()
|
| H A D | mpi_dec_nt_test.c | 129 if (MPP_FRAME_FMT_IS_FBC(cmd->format)) { in dec_loop() 135 mpp_frame_set_fmt(frm, cmd->format); in dec_loop() 500 cmd->format = MPP_FMT_BUTT; in main()
|
| /rockchip-linux_mpp/doc/design/ |
| H A D | 1.mpp_design.txt | 100 provides a general call flow for different video format. Software process will 106 This layer provides the implement function call of different video format and 108 and output format related syntax structure to hal. The hal will translate the
|
| /rockchip-linux_mpp/tools/ |
| H A D | yuvplay | 6 mplayer $SRC -loop 0 -demuxer rawvideo -fps 25 -rawvideo w=$W:h=$H:size=$(($W*$H*3/2)):format=nv12
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser2_syntax.c | 90 pp->format.frame_type = frame_header->frame_type; in av1d_fill_picparams() 91 pp->format.show_frame = frame_header->show_frame; in av1d_fill_picparams() 92 pp->format.showable_frame = frame_header->showable_frame; in av1d_fill_picparams() 93 pp->format.subsampling_x = seq->color_config.subsampling_x; in av1d_fill_picparams() 94 pp->format.subsampling_y = seq->color_config.subsampling_y; in av1d_fill_picparams() 95 pp->format.mono_chrome = seq->color_config.mono_chrome; in av1d_fill_picparams()
|
| /rockchip-linux_mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 180 switch (img->format) { in iep2_test_set_img() 294 imgsrc[i].format = cfg->src_fmt; in iep2_test() 297 imgdst[i].format = cfg->dst_fmt; in iep2_test()
|
| /rockchip-linux_mpp/mpp/common/ |
| H A D | jpege_syntax.h | 51 MppFrameFormat format; member
|
| /rockchip-linux_mpp/mpp/ |
| H A D | mpi.c | 526 MppFrameFormat format; member 567 info->format, info->format, info->name); in mpp_show_color_format()
|
| /rockchip-linux_mpp/mpp/vproc/inc/ |
| H A D | iep_common.h | 91 RK_U32 format; // IepFormat member
|