Home
last modified time | relevance | path

Searched refs:src_buf (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c269 VP8StatusCode WebPCopyDecBufferPixels(const WebPDecBuffer* const src_buf, in WebPCopyDecBufferPixels() argument
271 assert(src_buf != NULL && dst_buf != NULL); in WebPCopyDecBufferPixels()
272 assert(src_buf->colorspace == dst_buf->colorspace); in WebPCopyDecBufferPixels()
274 dst_buf->width = src_buf->width; in WebPCopyDecBufferPixels()
275 dst_buf->height = src_buf->height; in WebPCopyDecBufferPixels()
279 if (WebPIsRGBMode(src_buf->colorspace)) { in WebPCopyDecBufferPixels()
280 const WebPRGBABuffer* const src = &src_buf->u.RGBA; in WebPCopyDecBufferPixels()
283 src_buf->width * kModeBpp[src_buf->colorspace], in WebPCopyDecBufferPixels()
284 src_buf->height); in WebPCopyDecBufferPixels()
286 const WebPYUVABuffer* const src = &src_buf->u.YUVA; in WebPCopyDecBufferPixels()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c271 VP8StatusCode WebPCopyDecBufferPixels(const WebPDecBuffer* const src_buf, in WebPCopyDecBufferPixels() argument
273 assert(src_buf != NULL && dst_buf != NULL); in WebPCopyDecBufferPixels()
274 assert(src_buf->colorspace == dst_buf->colorspace); in WebPCopyDecBufferPixels()
276 dst_buf->width = src_buf->width; in WebPCopyDecBufferPixels()
277 dst_buf->height = src_buf->height; in WebPCopyDecBufferPixels()
281 if (WebPIsRGBMode(src_buf->colorspace)) { in WebPCopyDecBufferPixels()
282 const WebPRGBABuffer* const src = &src_buf->u.RGBA; in WebPCopyDecBufferPixels()
285 src_buf->width * kModeBpp[src_buf->colorspace], in WebPCopyDecBufferPixels()
286 src_buf->height); in WebPCopyDecBufferPixels()
288 const WebPYUVABuffer* const src = &src_buf->u.YUVA; in WebPCopyDecBufferPixels()
[all …]
/third_party/ffmpeg/tools/
Dffescape.c58 char *src_buf, *dst_buf; in main() local
164 av_bprint_finalize(&src, &src_buf); in main()
167 fprintf(outfile, "%s", src_buf); in main()
170 dst_buf = src_buf; in main()
172 if (av_escape(&dst_buf, src_buf, special_chars, escape_mode, escape_flags) < 0) { in main()
176 av_free(src_buf); in main()
177 src_buf = dst_buf; in main()
Dzmqsend.c55 char *src_buf, *recv_buf; in main() local
126 av_bprint_finalize(&src, &src_buf); in main()
128 if (zmq_send(socket, src_buf, strlen(src_buf), 0) == -1) { in main()
/third_party/pixman/test/
Dthread-test.c91 uint32_t src_buf[64]; in thread() local
104 prng_randmemset_r (&info->prng_state, src_buf, in thread()
105 sizeof (src_buf), 0); in thread()
108 RAND_ELT (formats), 4, 4, src_buf, 16); in thread()
Dsolid-test.c272 uint32_t src_buf[WIDTH * HEIGHT]; in test_solid() local
290 src_img = create_solid_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
293 src_img = create_solid_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
297 src_img = create_multi_pixel_image (img_fmt_list, src_buf, &src_fmt); in test_solid()
/third_party/curl/tests/server/
Dgetpart.c181 char *src_buf, /* source buffer */ in appenddata() argument
185 size_t src_len = strlen(src_buf); in appenddata()
193 if(src_buf[src_len - 1] == '\r') in appenddata()
196 if(src_buf[src_len - 1] == '\n') in appenddata()
212 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dsequence_lock_test.cc158 std::vector<char> src_buf(size, 'x'); in TEST_P() local
159 seq_lock.Write(protected_buf.data(), src_buf.data(), size); in TEST_P()
163 ASSERT_EQ(src_buf, dst_buf); in TEST_P()
/third_party/ffmpeg/libavcodec/
Dcbs.c903 AVBufferRef **src_buf, **copy_buf; in cbs_clone_unit_content() local
915 src_buf = (AVBufferRef**)(src_ptr + 1); in cbs_clone_unit_content()
920 av_assert0(!*src_buf); in cbs_clone_unit_content()
923 if (!*src_buf) { in cbs_clone_unit_content()
933 av_assert0(*src_ptr >= (*src_buf)->data && in cbs_clone_unit_content()
934 *src_ptr < (*src_buf)->data + (*src_buf)->size); in cbs_clone_unit_content()
936 *copy_buf = av_buffer_ref(*src_buf); in cbs_clone_unit_content()
941 *copy_ptr = (*copy_buf)->data + (*src_ptr - (*src_buf)->data); in cbs_clone_unit_content()
/third_party/ffmpeg/libavfilter/
Dvf_zscale.c553 zimg_image_buffer_const src_buf = { ZIMG_API_VERSION }; in filter_frame() local
692 src_buf.plane[plane].data = in->data[p]; in filter_frame()
693 src_buf.plane[plane].stride = in->linesize[p]; in filter_frame()
694 src_buf.plane[plane].mask = -1; in filter_frame()
702 ret = zimg_filter_graph_process(s->graph, &src_buf, &dst_buf, s->tmp, 0, 0, 0, 0); in filter_frame()
709 src_buf.plane[0].data = in->data[3]; in filter_frame()
710 src_buf.plane[0].stride = in->linesize[3]; in filter_frame()
711 src_buf.plane[0].mask = -1; in filter_frame()
717 ret = zimg_filter_graph_process(s->alpha_graph, &src_buf, &dst_buf, s->tmp, 0, 0, 0, 0); in filter_frame()
/third_party/mesa3d/src/amd/vulkan/
Dradv_query.c150 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_occlusion_query_shader() local
176 nir_ssa_def *load = nir_load_ssbo(&b, 2, 64, src_buf, load_offset, .align_mul = 16); in build_occlusion_query_shader()
285 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_pipeline_statistics_query_shader() local
296 nir_ssa_def *available32 = nir_load_ssbo(&b, 1, 32, src_buf, avail_offset, .align_mul = 4); in build_pipeline_statistics_query_shader()
314 nir_ssa_def *start = nir_load_ssbo(&b, 1, 64, src_buf, start_offset, .align_mul = 8); in build_pipeline_statistics_query_shader()
319 nir_ssa_def *end = nir_load_ssbo(&b, 1, 64, src_buf, end_offset, .align_mul = 8); in build_pipeline_statistics_query_shader()
429 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_tfb_query_shader() local
441 nir_ssa_def *load1 = nir_load_ssbo(&b, 4, 32, src_buf, input_base, .align_mul = 32); in build_tfb_query_shader()
443 &b, 4, 32, src_buf, nir_iadd(&b, input_base, nir_imm_int(&b, 16)), .align_mul = 16); in build_tfb_query_shader()
553 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_timestamp_query_shader() local
[all …]
Dradv_meta_blit2d.c107 struct radv_meta_blit2d_buffer *src_buf, struct blit2d_src_temps *tmp, in blit2d_bind_src() argument
114 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format); in blit2d_bind_src()
130 VK_SHADER_STAGE_FRAGMENT_BIT, 16, 4, &src_buf->pitch); in blit2d_bind_src()
221 struct radv_meta_blit2d_buffer *src_buf, in radv_meta_blit2d_normal_dst() argument
242 blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, in radv_meta_blit2d_normal_dst()
411 struct radv_meta_blit2d_buffer *src_buf, struct radv_meta_blit2d_surf *dst, in radv_meta_blit2d() argument
416 enum blit2d_src_type src_type = src_buf ? BLIT2D_SRC_TYPE_BUFFER in radv_meta_blit2d()
419 radv_meta_blit2d_normal_dst(cmd_buffer, src_img, src_buf, dst, num_rects, rects, src_type, in radv_meta_blit2d()
Dradv_meta_buffer.c45 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_buffer_copy_shader() local
47 nir_ssa_def *load = nir_load_ssbo(&b, 4, 32, src_buf, offset, .align_mul = 16); in build_buffer_copy_shader()
Dradv_meta.h185 struct radv_meta_blit2d_buffer *src_buf, struct radv_meta_blit2d_surf *dst,
/third_party/alsa-lib/src/pcm/
Dpcm_rate.c67 snd_pcm_channel_area_t *src_buf; member
425 rate_free_tmp_buf(&rate->src_buf); in snd_pcm_rate_hw_params()
445 rate->src_buf = rate_alloc_tmp_buf(rate->info.in.format, in snd_pcm_rate_hw_params()
447 if (!rate->src_buf) { in snd_pcm_rate_hw_params()
468 rate_free_tmp_buf(&rate->src_buf); in snd_pcm_rate_hw_params()
487 rate_free_tmp_buf(&rate->src_buf); in snd_pcm_rate_hw_free()
587 if (rate->src_buf) { in do_convert()
588 snd_pcm_linear_convert(rate->src_buf, 0, in do_convert()
592 src_areas = rate->src_buf; in do_convert()
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_enc_common.c213 struct pipe_video_buffer *src_buf = *vbuf; in enc_ScaleInput_common() local
223 views = src_buf->get_sampler_view_planes(src_buf); in enc_ScaleInput_common()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi174 cdef char* src_buf
187 cdef char* src_buf
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11compositor.cpp991 GstVideoInfo * info, GstBuffer * src_buf, GstBuffer * dest_buf, in gst_d3d11_compositor_copy_buffer() argument
997 return gst_d3d11_buffer_copy_into (dest_buf, src_buf, info); in gst_d3d11_compositor_copy_buffer()
1001 if (!gst_video_frame_map (&src_frame, info, src_buf, in gst_d3d11_compositor_copy_buffer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp47 ID3D12Resource *src_buf = d3d12_resource_underlying(src, &src_off); in copy_buffer_region_no_barriers() local
50 src_buf, src_offset + src_off, in copy_buffer_region_no_barriers()
/third_party/boost/boost/asio/detail/impl/
Dsocket_ops.ipp2742 char src_buf[max_addr_v6_str_len + 1];
2751 memcpy(src_buf, src, if_name - src);
2752 src_buf[if_name - src] = 0;
2753 src_ptr = src_buf;
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dsocket_ops.ipp2742 char src_buf[max_addr_v6_str_len + 1];
2751 memcpy(src_buf, src, if_name - src);
2752 src_buf[if_name - src] = 0;
2753 src_ptr = src_buf;
/third_party/ffmpeg/doc/
DAPIchanges3014 AVFilterLink.srcpic -> AVFilterLink.src_buf