Home
last modified time | relevance | path

Searched refs:copy_params (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySubImage3D.cpp156 SubImage3DCopyParams copy_params; in iterate() local
157 copy_params.init(0, 0, 0, width, height, 1); in iterate()
159 configureDataBuffer(width, height, depth, copy_params, 0); in iterate()
160 configurePixelUnpackBuffer(copy_params); in iterate()
161 configure2DTexture(copy_params); in iterate()
162 testTexSubImage3D(width, height, depth, copy_params, test_passed); in iterate()
163 testCopyTexSubImage3D(width, height, depth, copy_params, test_passed); in iterate()
168 copy_params.init(width / 2, height / 2, 0, width / 2, height / 2, 1); in iterate()
170 configureDataBuffer(width, height, depth, copy_params, 0); in iterate()
171 configurePixelUnpackBuffer(copy_params); in iterate()
[all …]
DesextcTextureCubeMapArraySubImage3D.hpp130 const SubImage3DCopyParams& copy_params, glw::GLuint clear_value);
131 void configurePixelUnpackBuffer(const SubImage3DCopyParams& copy_params);
135 void configure2DTexture(const SubImage3DCopyParams& copy_params);
138 const SubImage3DCopyParams& copy_params, glw::GLboolean& test_passed);
140 const SubImage3DCopyParams& copy_params, glw::GLboolean& test_passed);
142 void texSubImage3D(const SubImage3DCopyParams& copy_params, const glw::GLuint* data_pointer);
143 void copyTexSubImage3D(const SubImage3DCopyParams& copy_params);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglmemorypbo.c432 GstGLMemoryPBOCopyParams *copy_params; in _gl_mem_copy_thread() local
442 copy_params = (GstGLMemoryPBOCopyParams *) data; in _gl_mem_copy_thread()
443 src = copy_params->src; in _gl_mem_copy_thread()
444 tex_id = copy_params->tex_id; in _gl_mem_copy_thread()
445 out_tex_target = gst_gl_texture_target_to_gl (copy_params->tex_target); in _gl_mem_copy_thread()
446 out_width = copy_params->out_width; in _gl_mem_copy_thread()
447 out_height = copy_params->out_height; in _gl_mem_copy_thread()
448 out_stride = copy_params->out_stride; in _gl_mem_copy_thread()
452 gst_gl_format_type_from_sized_gl_format (copy_params->out_format, in _gl_mem_copy_thread()
466 if (copy_params->respecify) { in _gl_mem_copy_thread()
[all …]
Dgstglmemory.c797 GstGLMemoryCopyParams *copy_params; in _gl_tex_copy_thread() local
799 copy_params = (GstGLMemoryCopyParams *) data; in _gl_tex_copy_thread()
801 if (!copy_params->tex_id) { in _gl_tex_copy_thread()
805 out_tex_target = gst_gl_texture_target_to_gl (copy_params->tex_target); in _gl_tex_copy_thread()
806 internal_format = copy_params->src->tex_format; in _gl_tex_copy_thread()
813 copy_params->tex_id = in _gl_tex_copy_thread()
815 internal_format, out_gl_format, out_gl_type, copy_params->out_width, in _gl_tex_copy_thread()
816 copy_params->out_height); in _gl_tex_copy_thread()
819 copy_params->result = gst_gl_memory_copy_teximage (copy_params->src, in _gl_tex_copy_thread()
820 copy_params->tex_id, copy_params->tex_target, copy_params->tex_format, in _gl_tex_copy_thread()
[all …]
Dgstglbasememory.c390 struct copy_params struct
400 _mem_copy_gl (GstGLContext * context, struct copy_params *transfer) in _mem_copy_gl() argument
416 struct copy_params transfer; in _mem_copy()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdecoder.c584 CUDA_MEMCPY2D copy_params = { 0, }; in gst_nv_decoder_copy_frame_to_gl_internal() local
614 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_gl_internal()
615 copy_params.srcPitch = frame->pitch; in gst_nv_decoder_copy_frame_to_gl_internal()
616 copy_params.dstMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nv_decoder_copy_frame_to_gl_internal()
638 copy_params.dstPitch = GST_VIDEO_INFO_PLANE_STRIDE (info, i); in gst_nv_decoder_copy_frame_to_gl_internal()
639 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, i) in gst_nv_decoder_copy_frame_to_gl_internal()
642 copy_params.srcDevice = frame->devptr + in gst_nv_decoder_copy_frame_to_gl_internal()
644 copy_params.dstDevice = dst_ptr; in gst_nv_decoder_copy_frame_to_gl_internal()
645 copy_params.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, i); in gst_nv_decoder_copy_frame_to_gl_internal()
647 if (!gst_cuda_result (CuMemcpy2DAsync (&copy_params, NULL))) { in gst_nv_decoder_copy_frame_to_gl_internal()
[all …]
Dcuda-converter.c1046 CUDA_MEMCPY2D copy_params = { 0, }; in convert_create_texture() local
1053 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in convert_create_texture()
1054 copy_params.srcPitch = stride; in convert_create_texture()
1055 copy_params.srcDevice = (CUdeviceptr) src_ptr; in convert_create_texture()
1057 copy_params.dstMemoryType = CU_MEMORYTYPE_DEVICE; in convert_create_texture()
1058 copy_params.dstPitch = convert->fallback_buffer[plane].cuda_stride; in convert_create_texture()
1059 copy_params.dstDevice = convert->fallback_buffer[plane].device_ptr; in convert_create_texture()
1060 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, plane) in convert_create_texture()
1062 copy_params.Height = GST_VIDEO_INFO_COMP_HEIGHT (info, plane); in convert_create_texture()
1064 cuda_ret = CuMemcpy2DAsync (&copy_params, cuda_stream); in convert_create_texture()
Dgstnvdec.c1261 CUDA_MEMCPY2D copy_params = { 0, }; in gst_nvdec_copy_device_to_memory() local
1310 copy_params.srcMemoryType = CU_MEMORYTYPE_DEVICE; in gst_nvdec_copy_device_to_memory()
1311 copy_params.srcPitch = pitch; in gst_nvdec_copy_device_to_memory()
1312 copy_params.dstMemoryType = in gst_nvdec_copy_device_to_memory()
1316 copy_params.srcDevice = dptr + (i * pitch * GST_VIDEO_INFO_HEIGHT (info)); in gst_nvdec_copy_device_to_memory()
1318 copy_params.dstDevice = cuda_mem->data + cuda_mem->offset[i]; in gst_nvdec_copy_device_to_memory()
1319 copy_params.dstPitch = cuda_mem->stride; in gst_nvdec_copy_device_to_memory()
1321 copy_params.dstHost = GST_VIDEO_FRAME_PLANE_DATA (&video_frame, i); in gst_nvdec_copy_device_to_memory()
1322 copy_params.dstPitch = GST_VIDEO_FRAME_PLANE_STRIDE (&video_frame, i); in gst_nvdec_copy_device_to_memory()
1324 copy_params.WidthInBytes = GST_VIDEO_INFO_COMP_WIDTH (info, i) in gst_nvdec_copy_device_to_memory()
[all …]