Home
last modified time | relevance | path

Searched refs:src_buf (Results 1 – 16 of 16) 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/ffmpeg/tools/
Dffescape.c64 char *src_buf, *dst_buf; in main() local
170 av_bprint_finalize(&src, &src_buf); in main()
173 fprintf(outfile, "%s", src_buf); in main()
176 dst_buf = src_buf; in main()
178 if (av_escape(&dst_buf, src_buf, special_chars, escape_mode, escape_flags) < 0) { in main()
182 av_free(src_buf); in main()
183 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/libcoap/src/
Dcoap_session.c41 static int32_t loopback_packet_check(const char *src_buf) { in loopback_packet_check() argument
69 if (memcmp(src_buf, addr_perface, strlen(addr_perface)) == 0 && in loopback_packet_check()
70 strlen(src_buf) == strlen(tmp_buf) + strlen(addr_perface)) { in loopback_packet_check()
71 ret = memcmp(src_buf + strlen(addr_perface), tmp_buf, strlen(src_buf) - strlen(addr_perface)); in loopback_packet_check()
73 if (strlen(src_buf) == strlen(tmp_buf)) { in loopback_packet_check()
74 ret = memcmp(src_buf, tmp_buf, strlen(src_buf)); in loopback_packet_check()
90 static int loopback_packet_compare_ip(const char *src_buf, const char *addr_perface, const char *tm… in loopback_packet_compare_ip() argument
92 if (memcmp(src_buf, addr_perface, strlen(addr_perface)) == 0 && in loopback_packet_compare_ip()
93 strlen(src_buf) == strlen(tmp_buf) + strlen(addr_perface)) { in loopback_packet_compare_ip()
94 ret = memcmp(src_buf + strlen(addr_perface), tmp_buf, strlen(src_buf) - strlen(addr_perface)); in loopback_packet_compare_ip()
[all …]
/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/curl/tests/server/
Dgetpart.c211 char *src_buf, /* source buffer */ in appenddata() argument
223 if(src_buf[src_len - 1] == '\r') in appenddata()
226 if(src_buf[src_len - 1] == '\n') in appenddata()
242 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
/third_party/mesa3d/src/amd/vulkan/
Dradv_query.c121 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_occlusion_query_shader() local
147 nir_ssa_def *load = nir_load_ssbo(&b, 2, 64, src_buf, load_offset, .align_mul = 16); in build_occlusion_query_shader()
255 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_pipeline_statistics_query_shader() local
276 nir_ssa_def *available32 = nir_load_ssbo(&b, 1, 32, src_buf, avail_offset); in build_pipeline_statistics_query_shader()
293 nir_ssa_def *start = nir_load_ssbo(&b, 1, 64, src_buf, start_offset); in build_pipeline_statistics_query_shader()
297 nir_ssa_def *end = nir_load_ssbo(&b, 1, 64, src_buf, end_offset); in build_pipeline_statistics_query_shader()
308 nir_ssa_def *gds_start = nir_load_ssbo(&b, 1, 64, src_buf, gds_start_offset); in build_pipeline_statistics_query_shader()
312 nir_ssa_def *gds_end = nir_load_ssbo(&b, 1, 64, src_buf, gds_end_offset); in build_pipeline_statistics_query_shader()
421 nir_ssa_def *src_buf = radv_meta_load_descriptor(&b, 0, 1); in build_tfb_query_shader() local
433 nir_ssa_def *load1 = nir_load_ssbo(&b, 4, 32, src_buf, input_base, .align_mul = 32); in build_tfb_query_shader()
[all …]
Dradv_meta_blit2d.c106 struct radv_meta_blit2d_buffer *src_buf, struct blit2d_src_temps *tmp, in blit2d_bind_src() argument
113 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format); in blit2d_bind_src()
129 VK_SHADER_STAGE_FRAGMENT_BIT, 16, 4, &src_buf->pitch); in blit2d_bind_src()
199 struct radv_meta_blit2d_buffer *src_buf, in radv_meta_blit2d_normal_dst() argument
220 blit2d_bind_src(cmd_buffer, src_img, src_buf, &src_temps, src_type, depth_format, in radv_meta_blit2d_normal_dst()
377 struct radv_meta_blit2d_buffer *src_buf, struct radv_meta_blit2d_surf *dst, in radv_meta_blit2d() argument
381 enum blit2d_src_type src_type = src_buf ? BLIT2D_SRC_TYPE_BUFFER in radv_meta_blit2d()
384 radv_meta_blit2d_normal_dst(cmd_buffer, src_img, src_buf, dst, num_rects, rects, src_type, in radv_meta_blit2d()
Dradv_meta.h158 struct radv_meta_blit2d_buffer *src_buf, struct radv_meta_blit2d_surf *dst,
/third_party/ffmpeg/libavcodec/
Dcbs.c930 AVBufferRef **src_buf, **copy_buf; in cbs_clone_unit_content() local
942 src_buf = (AVBufferRef**)(src_ptr + 1); in cbs_clone_unit_content()
947 av_assert0(!*src_buf); in cbs_clone_unit_content()
950 if (!*src_buf) { in cbs_clone_unit_content()
960 av_assert0(*src_ptr >= (*src_buf)->data && in cbs_clone_unit_content()
961 *src_ptr < (*src_buf)->data + (*src_buf)->size); in cbs_clone_unit_content()
963 *copy_buf = av_buffer_ref(*src_buf); in cbs_clone_unit_content()
968 *copy_ptr = (*copy_buf)->data + (*src_ptr - (*src_buf)->data); in cbs_clone_unit_content()
/third_party/ffmpeg/libavfilter/
Dvf_zscale.c709 zimg_image_buffer_const src_buf = { ZIMG_API_VERSION }; in filter_slice() local
733 src_buf.plane[i].data = td->in->data[p]; in filter_slice()
734 src_buf.plane[i].stride = td->in->linesize[p]; in filter_slice()
735 src_buf.plane[i].mask = -1; in filter_slice()
744 … ret = zimg_filter_graph_process(s->graph[job_nr], &src_buf, &dst_buf, s->tmp[job_nr], 0, 0, 0, 0); in filter_slice()
749 src_buf.plane[0].data = td->in->data[3]; in filter_slice()
750 src_buf.plane[0].stride = td->in->linesize[3]; in filter_slice()
751 src_buf.plane[0].mask = -1; in filter_slice()
759 …ret = zimg_filter_graph_process(s->alpha_graph[job_nr], &src_buf, &dst_buf, s->tmp[job_nr], 0, 0, … in filter_slice()
/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/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_blit.cpp48 ID3D12Resource *src_buf = d3d12_resource_underlying(src, &src_off); in copy_buffer_region_no_barriers() local
51 src_buf, src_offset + src_off, in copy_buffer_region_no_barriers()
/third_party/ffmpeg/doc/
DAPIchanges3293 AVFilterLink.srcpic -> AVFilterLink.src_buf
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs46707 let (src_buf, src_ptr, dst_buf, dst_end, cap) = unsafe {
46723 debug_assert_eq!(src_buf, src.buf.as_ptr());