| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/rga/ |
| H A D | rga-hw.c | 167 union rga_src_info src_info; in rga_cmd_set_trans_info() local 189 src_info.val = dest[(RGA_SRC_INFO - RGA_MODE_BASE_REG) >> 2]; in rga_cmd_set_trans_info() 198 src_info.data.format = ctx->in.fmt->hw_format; in rga_cmd_set_trans_info() 199 src_info.data.swap = ctx->in.fmt->color_swap; in rga_cmd_set_trans_info() 212 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT709_R0; in rga_cmd_set_trans_info() 215 src_info.data.csc_mode = RGA_SRC_CSC_MODE_BT601_R0; in rga_cmd_set_trans_info() 233 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_X; in rga_cmd_set_trans_info() 236 src_info.data.mir_mode |= RGA_SRC_MIRR_MODE_Y; in rga_cmd_set_trans_info() 240 src_info.data.rot_mode = RGA_SRC_ROT_MODE_90_DEGREE; in rga_cmd_set_trans_info() 243 src_info.data.rot_mode = RGA_SRC_ROT_MODE_180_DEGREE; in rga_cmd_set_trans_info() [all …]
|
| /OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/ |
| H A D | gstmpp.c | 226 gst_mpp_rga_do_convert (rga_info_t * src_info, rga_info_t * dst_info) in gst_mpp_rga_do_convert() argument 243 if (c_RkRgaBlit (src_info, dst_info, NULL) < 0) { in gst_mpp_rga_do_convert() 276 rga_info_t src_info = { 0, }; in gst_mpp_rga_convert() local 279 if (!gst_mpp_rga_info_from_video_info (&src_info, src_vinfo)) in gst_mpp_rga_convert() 293 src_info.fd = gst_dmabuf_memory_get_fd (mem); in gst_mpp_rga_convert() 297 if (src_info.fd <= 0) { in gst_mpp_rga_convert() 299 src_info.virAddr = mapinfo.data; in gst_mpp_rga_convert() 304 src_info.rotation = gst_mpp_rga_get_rotation (rotation); in gst_mpp_rga_convert() 305 if (src_info.rotation < 0) in gst_mpp_rga_convert() 308 ret = gst_mpp_rga_do_convert (&src_info, &dst_info); in gst_mpp_rga_convert() [all …]
|
| H A D | gstmppenc.c | 781 GstVideoInfo src_info = self->input_state->info; in gst_mpp_enc_convert() local 795 GST_VIDEO_INFO_PLANE_STRIDE (&src_info, i) = meta->stride[i]; in gst_mpp_enc_convert() 796 GST_VIDEO_INFO_PLANE_OFFSET (&src_info, i) = meta->offset[i]; in gst_mpp_enc_convert() 801 if (size < GST_VIDEO_INFO_SIZE (&src_info)) { in gst_mpp_enc_convert() 803 " < %" G_GSIZE_FORMAT ")", size, GST_VIDEO_INFO_SIZE (&src_info)); in gst_mpp_enc_convert() 819 if (self->rotation || !gst_mpp_enc_video_info_matched (&src_info, dst_info)) in gst_mpp_enc_convert() 849 gst_mpp_rga_convert (inbuf, &src_info, out_mem, dst_info, in gst_mpp_enc_convert() 857 GST_VIDEO_INFO_FORMAT (&src_info) != GST_VIDEO_INFO_FORMAT (dst_info)) in gst_mpp_enc_convert() 860 if (gst_video_frame_map (&src_frame, &src_info, inbuf, GST_MAP_READ)) { in gst_mpp_enc_convert()
|
| /OK3568_Linux_fs/buildroot/package/pixman/ |
| H A D | 0006-HACK-pixman-Support-using-dma-fd-for-RGA-accel.patch | 19 if (!pixman_transform_to_rga_rotate (transform, &src_info.rotation)) 26 src_info.mmuFlag = 1; 27 - src_info.virAddr = src->bits.bits; 28 + src_info.fd = pixman_image_get_dma_fd(src); 29 + if (src_info.fd < 0) 30 + src_info.virAddr = src->bits.bits;
|
| H A D | 0005-pixman_image_composite32-Support-rockchip-RGA-2D-acc.patch | 195 + rga_info_t src_info = { 0 }; 226 + src_info.blend = 0xFF0405; 235 + if (!pixman_transform_to_rga_rotate (transform, &src_info.rotation)) 238 + src_info.mmuFlag = 1; 239 + src_info.virAddr = src->bits.bits; 308 + rga_set_rect (&src_info.rect, sx, sy, sw, sh, 315 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0)
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | datagram.c | 596 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl() local 599 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl() 600 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_common_ctl() 602 src_info.ipi6_ifindex = in ip6_datagram_recv_common_ctl() 605 &src_info.ipi6_addr); in ip6_datagram_recv_common_ctl() 608 if (src_info.ipi6_ifindex >= 0) in ip6_datagram_recv_common_ctl() 610 sizeof(src_info), &src_info); in ip6_datagram_recv_common_ctl() 690 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl() local 692 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_specific_ctl() 693 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_specific_ctl() [all …]
|
| H A D | ipv6_sockglue.c | 1170 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1171 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt() 1173 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt() 1174 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1186 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1187 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt() 1189 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : in do_ipv6_getsockopt() 1191 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
|
| /OK3568_Linux_fs/buildroot/package/qt5/qt5base/ |
| H A D | 0018-HACK-qpaintengine_raster-Support-rga-in-fillRect-wit.patch | 200 + rga_info_t src_info; 201 + memset(&src_info, 0, sizeof(src_info)); 202 + src_info.fd = -1; 203 + src_info.virAddr = (void *)src; 204 + src_info.mmuFlag = 1; 205 + rga_set_rect(&src_info.rect, sx, sy, width, height, 216 + src_info.blend = blend; 218 + return c_RkRgaBlit(&src_info, &dst_info, NULL) >= 0;
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | exa.c | 390 rga_info_t src_info = {0}; in ms_exa_copy() local 398 if (!rga_prepare_info(pSrcPixmap, &src_info, srcX, srcY, width, height)) in ms_exa_copy() 413 if (c_RkRgaBlit(&src_info, &tmp_info, NULL) < 0) in ms_exa_copy() 416 src_info = tmp_info; in ms_exa_copy() 419 if (c_RkRgaBlit(&src_info, &dst_info, NULL) < 0) in ms_exa_copy() 630 rga_info_t src_info = {0}; in ms_exa_composite() local 653 if (!rga_prepare_info(pSrc, &src_info, box.x1, box.y1, sw, sh)) in ms_exa_composite() 664 src_info.rotation = HAL_TRANSFORM_ROT_90; in ms_exa_composite() 666 src_info.rotation = HAL_TRANSFORM_ROT_180; in ms_exa_composite() 668 src_info.rotation = HAL_TRANSFORM_ROT_270; in ms_exa_composite() [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-good/ |
| H A D | 0005-video-flip-Support-rockchip-RGA-2D-accel.patch | 178 + rga_info_t src_info = { 0 }; 199 + if (!get_rga_info (in_frame, &src_info, 0, 0, sw, sh)) { 211 + src_info.rotation = HAL_TRANSFORM_ROT_90; 214 + src_info.rotation = HAL_TRANSFORM_ROT_180; 217 + src_info.rotation = HAL_TRANSFORM_ROT_270; 220 + src_info.rotation = HAL_TRANSFORM_FLIP_H; 223 + src_info.rotation = HAL_TRANSFORM_FLIP_V; 230 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22/ |
| H A D | 0005-video-flip-Support-rockchip-RGA-2D-accel.patch | 178 + rga_info_t src_info = { 0 }; 199 + if (!get_rga_info (in_frame, &src_info, 0, 0, sw, sh)) { 211 + src_info.rotation = HAL_TRANSFORM_ROT_90; 214 + src_info.rotation = HAL_TRANSFORM_ROT_180; 217 + src_info.rotation = HAL_TRANSFORM_ROT_270; 220 + src_info.rotation = HAL_TRANSFORM_FLIP_H; 223 + src_info.rotation = HAL_TRANSFORM_FLIP_V; 230 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20/ |
| H A D | 0005-video-flip-Support-rockchip-RGA-2D-accel.patch | 178 + rga_info_t src_info = { 0 }; 199 + if (!get_rga_info (in_frame, &src_info, 0, 0, sw, sh)) { 211 + src_info.rotation = HAL_TRANSFORM_ROT_90; 214 + src_info.rotation = HAL_TRANSFORM_ROT_180; 217 + src_info.rotation = HAL_TRANSFORM_ROT_270; 220 + src_info.rotation = HAL_TRANSFORM_FLIP_H; 223 + src_info.rotation = HAL_TRANSFORM_FLIP_V; 230 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | ste_dma40_ll.c | 58 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg() 59 l1 |= d40_width_to_bits(cfg->src_info.data_width) in d40_log_cfg() 78 if (cfg->src_info.flow_ctrl == STEDMA40_NO_FLOW_CTRL) in d40_phy_cfg() 102 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg() 104 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg() 112 src |= d40_width_to_bits(cfg->src_info.data_width) in d40_phy_cfg() 123 if (cfg->src_info.big_endian) in d40_phy_cfg()
|
| H A D | ste_dma40.c | 86 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 87 .src_info.psize = STEDMA40_PSIZE_PHY_1, 88 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, 100 .src_info.data_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 101 .src_info.psize = STEDMA40_PSIZE_LOG_1, 102 .src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL, 1729 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) * in d40_validate_conf() 1730 conf->src_info.data_width != in d40_validate_conf() 2116 struct stedma40_half_channel_info *src_info = &cfg->src_info; in d40_prep_sg_log() local 2124 src_info->data_width, in d40_prep_sg_log() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/ux500/ |
| H A D | ux500_pcm.c | 74 dma_cfg->src_info.data_width = mem_data_width; in ux500_pcm_request_chan() 77 dma_cfg->src_info.data_width = per_data_width; in ux500_pcm_request_chan()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0015-backend-drm-Support-mirror-mode.patch | 188 + rga_info_t src_info = {0}; 228 + src_info.fd = src_fd; 229 + src_info.mmuFlag = 1; 231 + rga_set_rect(&src_info.rect, 0, 0, src_width, src_height, 236 + src_info.rotation = HAL_TRANSFORM_ROT_90; 238 + src_info.rotation = HAL_TRANSFORM_ROT_180; 240 + src_info.rotation = HAL_TRANSFORM_ROT_270; 249 + ret = c_RkRgaBlit(&src_info, &dst_info, NULL);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0017-backend-drm-Support-mirror-mode.patch | 188 + rga_info_t src_info = {0}; 228 + src_info.fd = src_fd; 229 + src_info.mmuFlag = 1; 231 + rga_set_rect(&src_info.rect, 0, 0, src_width, src_height, 236 + src_info.rotation = HAL_TRANSFORM_ROT_90; 238 + src_info.rotation = HAL_TRANSFORM_ROT_180; 240 + src_info.rotation = HAL_TRANSFORM_ROT_270; 249 + ret = c_RkRgaBlit(&src_info, &dst_info, NULL);
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0017-backend-drm-Support-mirror-mode.patch | 190 + rga_info_t src_info = {0}; 230 + src_info.fd = src_fd; 231 + src_info.mmuFlag = 1; 233 + rga_set_rect(&src_info.rect, 0, 0, src_width, src_height, 238 + src_info.rotation = HAL_TRANSFORM_ROT_90; 240 + src_info.rotation = HAL_TRANSFORM_ROT_180; 242 + src_info.rotation = HAL_TRANSFORM_ROT_270; 251 + ret = c_RkRgaBlit(&src_info, &dst_info, NULL);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/ |
| H A D | 0008-video-converter-Support-rockchip-RGA-2D-accel.patch | 168 + rga_info_t src_info = { 0 }; 189 + if (!get_rga_info (src, &src_info, convert->in_x, convert->in_y, 201 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/ |
| H A D | 0008-video-converter-Support-rockchip-RGA-2D-accel.patch | 168 + rga_info_t src_info = { 0 }; 189 + if (!get_rga_info (src, &src_info, convert->in_x, convert->in_y, 201 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/ |
| H A D | 0008-video-converter-Support-rockchip-RGA-2D-accel.patch | 168 + rga_info_t src_info = { 0 }; 189 + if (!get_rga_info (src, &src_info, convert->in_x, convert->in_y, 201 + if (c_RkRgaBlit (&src_info, &dst_info, NULL) < 0) {
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | dma-ste-dma40.h | 114 struct stedma40_half_channel_info src_info; member
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ip_sockglue.c | 256 struct in6_pktinfo *src_info; in ip_cmsg_send() local 258 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*src_info))) in ip_cmsg_send() 260 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send() 261 if (!ipv6_addr_v4mapped(&src_info->ipi6_addr)) in ip_cmsg_send() 263 if (src_info->ipi6_ifindex) in ip_cmsg_send() 264 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send() 265 ipc->addr = src_info->ipi6_addr.s6_addr32[3]; in ip_cmsg_send()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0027-waylandsink-Use-the-correct-video-info-to-access-all.patch | 37 GstVideoInfo src_info = self->video_info;
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0026-waylandsink-Use-the-correct-video-info-to-access-all.patch | 37 GstVideoInfo src_info = sink->video_info;
|