RK_FORMAT_RGBA_5551 RK_FORMAT_RGBA_4444 RK_FORMAT_BGR_888 RK_FORMAT_YCbCr_422_SP RK_FORMAT_YCbCr_422_P RK_FORMAT_YCbCr_420_SP RK_FORMAT_YCbCr_420_P RK_FORMAT_YCrCb_422_SP RK_FORMAT_YCrCb_422_P RK_FORMAT_YCrCb_420_SP RK_FORMAT_YCrCb_420_P RK_FORMAT_BPP1 RK_FORMAT_BPP2 RK_FORM...
RK_FORMAT_BGR_888RK_FORMAT_RGB_565RK_FORMAT_BGR_565RK_FORMAT_YCbCr_420_SPRK_FORMAT_YCrCbr_420_SPRK_FORMAT_YCbCr_422_SPRK_FORMAT_YCrCbr_422_SPRK_FORMAT_YCbCr_420_PRK_FORMAT_YCrCbr_420_PRK_FORMAT_YCbCr_422_PRK_FORMAT_YCrCbr_422_PRK_FORMAT_BPP1RK_FORMAT_BPP2RK_FORMAT_BPP4RK_...
一.由于要用到mipi接口,所以先要在menuconfig里打开mipi。(1)-> Device Drivers | -> Graphics...
}if(!IS_ERR(imx577->reset_gpio)) gpiod_set_value_cansleep(imx577->reset_gpio, 1); usleep_range(500, 1000);if(!IS_ERR(imx577->pwdn_gpio)) gpiod_set_value_cansleep(imx577->pwdn_gpio, 1); /* 8192 cycles prior to first SCCB transaction */ delay_us = imx577_cal_delay(8192);...
.bpp =10, .bus_fmt = MEDIA_BUS_FMT_SRGGB10_1X10, .reg_list = imx577_linear_10bit_4056x3040_30fps_regs, .hdr_mode = NO_HDR, .link_freq_idx =1, .vc[PAD0] = V4L2_MBUS_CSI2_CHANNEL_0, }, 1 2 3 4 5 6 7 8
Source format: ABGR8888, XBGR888, ARGB8888, XRGB888 RGB888, RGB565 RGBA5551, RGBA4444 YUV420 planar, YUV420 semi-planar YUV422 planar, YUV422 semi-planar BPP8, BPP4, BPP2, BPP1 Destination formats: ABGR8888, XBGR888, ARGB8888, XRGB888 ...
caseRK_FORMAT_YCrCb_422_10b_SP: returnyuv2yuv_709_full_2_601_full; break; default: return0; } return0; } staticfloatget_bpp_from_rga_format(RgaSURF_FORMATrga_fmt) { // copy from librga/core/RgaUtils.cpp get_bpp_from_format
Format : 1BPP/2BPP/4BPP/8BPP RGB888, ARGB888, RGB565, RGB444 YUV422, YUV420, YUV444 4-bit/8-bit YUYV422 4-bit/8-bit Support virtual display 256 level alpha blending (pre-multiplied alpha support) Transparency color key YCbCr2RGB(rec601-mpeg/ rec601-jpeg/rec709) ...
return -1; } if( createDrmMap(drm_fd, get_bpp_from_format(SRC_FORMAT), SRC_WIDTH, SRC_HEIGHT, &map_src)<0) { printf("createDrmMap map_src error\n"); return -1; } printf("map_src.size=%d\n", map_src.size); if( createDrmMap(drm_fd, get_bpp_from_format(DST_FORMAT), DS...
1.首先由ffmpeg完成拉流工作。 2.交给MPP解码。 3.MPP解码之后交给rga负责图片格式转换裁切等工作。 4.交给qt显示。 1.初始化工作 1.1初始化ffmpeg int MyFFmpeg::MyFFmpegInit() { int i; int ret = -1; // 获取视频播放URL QByteArray byteRtspUrl =m_rtspUrl.toLocal8Bit(); ...