Home
last modified time | relevance | path

Searched refs:hstride (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/
H A Dgstmpp.c170 guint width, guint height, guint hstride, guint vstride) in gst_mpp_set_rga_info() argument
188 rga_set_rect (&info->rect, 0, 0, width, height, hstride, vstride, rga_format); in gst_mpp_set_rga_info()
199 guint hstride = mpp_frame_get_hor_stride (mframe); in gst_mpp_rga_info_from_mpp_frame() local
208 hstride, vstride); in gst_mpp_rga_info_from_mpp_frame()
217 guint hstride = GST_MPP_VIDEO_INFO_HSTRIDE (vinfo); in gst_mpp_rga_info_from_video_info() local
222 hstride, vstride); in gst_mpp_rga_info_from_video_info()
359 gst_mpp_video_info_align (GstVideoInfo * info, gint hstride, gint vstride) in gst_mpp_video_info_align() argument
365 if (!hstride) in gst_mpp_video_info_align()
366 hstride = GST_MPP_ALIGN (GST_MPP_VIDEO_INFO_HSTRIDE (info)); in gst_mpp_video_info_align()
372 GST_VIDEO_INFO_HEIGHT (info), hstride, vstride); in gst_mpp_video_info_align()
[all …]
H A Dgstmppdec.c385 guint width, guint height, gint hstride, gint vstride, guint align, in gst_mpp_dec_update_video_info() argument
433 hstride = hstride ? : GST_MPP_VIDEO_INFO_HSTRIDE (info); in gst_mpp_dec_update_video_info()
434 hstride = GST_ROUND_UP_N (hstride, align); in gst_mpp_dec_update_video_info()
439 return gst_mpp_video_info_align (info, hstride, vstride); in gst_mpp_dec_update_video_info()
493 gint hstride = mpp_frame_get_hor_stride (mframe); in gst_mpp_dec_apply_info_change() local
500 if (hstride % 2 || vstride % 2) in gst_mpp_dec_apply_info_change()
509 width, height, hstride, vstride); in gst_mpp_dec_apply_info_change()
532 hstride = 0; in gst_mpp_dec_apply_info_change()
545 hstride = 0; in gst_mpp_dec_apply_info_change()
549 dst_width, dst_height, hstride, vstride, 0, afbc)) in gst_mpp_dec_apply_info_change()
/OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/
H A Drga_resize_uv_downsampling_demo.cpp68 … orig_src.wstride, orig_src.hstride * get_bpp_from_format(orig_src.format), in local_downsampling_imcvtcolor()
71 … orig_dst.wstride, orig_dst.hstride * get_bpp_from_format(orig_dst.format), in local_downsampling_imcvtcolor()
78 src_rect.height = orig_src.hstride; in local_downsampling_imcvtcolor()
83 dst_rect.height = orig_dst.hstride; in local_downsampling_imcvtcolor()
110 src_rect.y = orig_src.hstride; in local_downsampling_imcvtcolor()
112 src_rect.height = orig_src.hstride; in local_downsampling_imcvtcolor()
115 dst_rect.y = orig_dst.hstride; in local_downsampling_imcvtcolor()
117 dst_rect.height = orig_dst.hstride / 2; in local_downsampling_imcvtcolor()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/
H A D0008-video-converter-Support-rockchip-RGA-2D-accel.patch94 + gint hstride, vstride0, i;
102 + hstride = meta->stride[0];
103 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
116 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
126 + hstride /= 4;
130 + hstride /= 3;
133 + hstride /= 2;
160 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/
H A D0008-video-converter-Support-rockchip-RGA-2D-accel.patch94 + gint hstride, vstride0, i;
102 + hstride = meta->stride[0];
103 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
116 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
126 + hstride /= 4;
130 + hstride /= 3;
133 + hstride /= 2;
160 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/
H A D0008-video-converter-Support-rockchip-RGA-2D-accel.patch94 + gint hstride, vstride0, i;
102 + hstride = meta->stride[0];
103 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
116 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
126 + hstride /= 4;
130 + hstride /= 3;
133 + hstride /= 2;
160 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/external/linux-rga/core/
H A DNormalRga.cpp680 (relSrcRect.height + 2*relSrcRect.yoffset == relSrcRect.hstride) && in RgaBlit()
759 if (relSrcRect.hstride == 0) in RgaBlit()
760 relSrcRect.hstride = relSrcRect.height; in RgaBlit()
763 if (relSrc1Rect.hstride == 0) in RgaBlit()
764 relSrc1Rect.hstride = relSrc1Rect.height; in RgaBlit()
766 if (relDstRect.hstride == 0) in RgaBlit()
767 relDstRect.hstride = relDstRect.height; in RgaBlit()
867 srcVirH = relSrcRect.hstride; in RgaBlit()
874 src1VirH = relSrc1Rect.hstride; in RgaBlit()
881 dstVirH = relDstRect.hstride; in RgaBlit()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/
H A Dim2d_buffer.h165 …_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
166 …pbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, int hstride, int format);
167 …buffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, int hstride, int format);
168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int …
176 int wstride, int hstride);
H A Ddrmrga.h120 int hstride; member
340 rect->hstride = sh; in rga_set_rect()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/
H A Dim2d_buffer.h165 …_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
166 …pbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, int hstride, int format);
167 …buffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, int hstride, int format);
168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int …
176 int wstride, int hstride);
H A Ddrmrga.h120 int hstride; member
340 rect->hstride = sh; in rga_set_rect()
/OK3568_Linux_fs/external/linux-rga/im2d_api/
H A Dim2d_buffer.h165 …_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
166 …pbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, int hstride, int format);
167 …buffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, int hstride, int format);
168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int …
176 int wstride, int hstride);
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/
H A Dim2d_buffer.h165 …_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
166 …pbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, int hstride, int format);
167 …buffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, int hstride, int format);
168 IM_C_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int …
176 int wstride, int hstride);
H A Ddrmrga.h120 int hstride; member
340 rect->hstride = sh; in rga_set_rect()
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-good/
H A D0005-video-flip-Support-rockchip-RGA-2D-accel.patch99 + gint hstride, vstride0, i;
107 + hstride = meta->stride[0];
108 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
121 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
131 + hstride /= 4;
135 + hstride /= 3;
138 + hstride /= 2;
165 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22/
H A D0005-video-flip-Support-rockchip-RGA-2D-accel.patch99 + gint hstride, vstride0, i;
107 + hstride = meta->stride[0];
108 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
121 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
131 + hstride /= 4;
135 + hstride /= 3;
138 + hstride /= 2;
165 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20/
H A D0005-video-flip-Support-rockchip-RGA-2D-accel.patch99 + gint hstride, vstride0, i;
107 + hstride = meta->stride[0];
108 + vstride0 = meta->n_planes == 1 ? meta->height : meta->offset[1] / hstride;
121 + if ((meta->stride[i] != hstride && meta->stride[i] != hstride / 2) ||
131 + hstride /= 4;
135 + hstride /= 3;
138 + hstride /= 2;
165 + rga_set_rect (&info->rect, x, y, w, h, hstride, vstride0, format);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/
H A Dimage_processor.cpp49 int wstride, int hstride, int format);
51 int wstride, int hstride, int format);
52 using fp_wrapbuffer_fd_t = rga_buffer_t (*)(int fd, int width, int height, int wstride, int hstride,
175 src.fd, src.width, src.height, src.wstride, src.hstride, WrapFormat(src.format)); in resize()
177 dst.fd, dst.width, dst.height, dst.wstride, dst.hstride, WrapFormat(dst.format)); in resize()
/OK3568_Linux_fs/external/linux-rga/im2d_api/src/
H A Dim2d.cpp150 int wstride, int hstride) { in wrapbuffer_virtualaddr() argument
160 buffer.hstride = hstride ? hstride : height; in wrapbuffer_virtualaddr()
168 int wstride, int hstride) { in wrapbuffer_physicaladdr() argument
178 buffer.hstride = hstride ? hstride : height; in wrapbuffer_physicaladdr()
186 int wstride, int hstride) { in wrapbuffer_fd() argument
196 buffer.hstride = hstride ? hstride : height; in wrapbuffer_fd()
204 int wstride, int hstride) { in wrapbuffer_handle() argument
214 buffer.hstride = hstride ? hstride : height; in wrapbuffer_handle()
298 buffer.hstride = dstAttrs.at(AHEIGHT); in wrapbuffer_handle()
340 buffer.hstride = dstAttrs.at(AHEIGHT); in wrapbuffer_GraphicBuffer()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/
H A Ddrmrga.h67 int hstride; member
120 rect->hstride = sh; in rga_set_rect()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/
H A Ddrmrga.h117 int hstride; member
224 rect->hstride = sh; in rga_set_rect()
H A Dim2d.h112 …_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
159 …pbuffer_virtualaddr_t(void* vir_addr, int width, int height, int wstride, int hstride, int format);
160 …buffer_physicaladdr_t(void* phy_addr, int width, int height, int wstride, int hstride, int format);
161 IM_API rga_buffer_t wrapbuffer_fd_t(int fd, int width, int height, int wstride, int hstride, int fo…
/OK3568_Linux_fs/external/linux-rga/samples/im2d_api_demo/
H A DrgaImDemo.cpp541 dst.wstride = src.hstride; in main()
542 dst.hstride = src.wstride; in main()
706 output_buf_data_to_file(outbuf, dst.format, dst.wstride, dst.hstride, 0); in main()
723 output_buf_data_to_file(outbuf, dst.format, dst.wstride, dst.hstride, 0); in main()
740 output_buf_data_to_file(dst_buf, dst.format, dst.wstride, dst.hstride, 0); in main()
/OK3568_Linux_fs/external/linux-rga/include/
H A Ddrmrga.h120 int hstride; member
340 rect->hstride = sh; in rga_set_rect()
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/
H A Drga_im2d_slt.cpp329 src.hstride = srcHeight; in pthread_rga_run()
331 dst.hstride = dstHeight; in pthread_rga_run()
421 … ret = memcmp(src_va, dst_va, dst.wstride * dst.hstride * get_bpp_from_format(dst.format)); in pthread_rga_run()
427 … dst.format, dst.wstride, dst.hstride, data->id + 1, dst.rd_mode); in pthread_rga_run()
429 … src.format, src.wstride, src.hstride, data->id + 2, src.rd_mode); in pthread_rga_run()

12