Home
last modified time | relevance | path

Searched refs:src_data (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/doc/examples/
Dresampling_audio.c85 uint8_t **src_data = NULL, **dst_data = NULL; in main() local
141 ret = av_samples_alloc_array_and_samples(&src_data, &src_linesize, src_nb_channels, in main()
166 fill_samples((double *)src_data[0], src_nb_samples, src_nb_channels, src_rate, &t); in main()
181 … ret = swr_convert(swr_ctx, dst_data, dst_nb_samples, (const uint8_t **)src_data, src_nb_samples); in main()
206 if (src_data) in main()
207 av_freep(&src_data[0]); in main()
208 av_freep(&src_data); in main()
Dscaling_video.c54 uint8_t *src_data[4], *dst_data[4]; in main() local
104 if ((ret = av_image_alloc(src_data, src_linesize, in main()
120 fill_yuv_image(src_data, src_linesize, src_w, src_h, i); in main()
123 sws_scale(sws_ctx, (const uint8_t * const*)src_data, in main()
136 av_freep(&src_data[0]); in main()
/third_party/ffmpeg/libavfilter/
Dvf_removelogo.c211 uint8_t *src_data[4], *gray_data[4]; in load_mask() local
215 if ((ret = ff_load_image(src_data, src_linesize, w, h, &pix_fmt, filename, log_ctx)) < 0) in load_mask()
220 src_data, src_linesize, *w, *h, pix_fmt, in load_mask()
231 av_freep(&src_data[0]); in load_mask()
247 static void generate_half_size_image(const uint8_t *src_data, int src_linesize, in generate_half_size_image() argument
261 src_data[((y << 1) * src_linesize) + (x << 1)] || in generate_half_size_image()
262 src_data[((y << 1) * src_linesize) + (x << 1) + 1] || in generate_half_size_image()
263 src_data[(((y << 1) + 1) * src_linesize) + (x << 1)] || in generate_half_size_image()
264 src_data[(((y << 1) + 1) * src_linesize) + (x << 1) + 1]; in generate_half_size_image()
453 const uint8_t *src_data, int src_linesize, in blur_image() argument
[all …]
Dlswsutils.c24 uint8_t * const src_data[4], int src_linesize[4], in ff_scale_image()
45 …sws_scale(sws_ctx, (const uint8_t * const*)src_data, src_linesize, 0, src_h, dst_data, dst_linesiz… in ff_scale_image()
Dvf_estdif.c354 const uint8_t *src_data = in->data[plane]; in deinterlace_slice() local
370 in_line = src_data + (y_out * src_linesize); in deinterlace_slice()
410 prev3_line = src_data + (y_prev3_in * src_linesize); in deinterlace_slice()
411 next3_line = src_data + (y_next3_in * src_linesize); in deinterlace_slice()
413 prev2_line = src_data + (y_prev2_in * src_linesize); in deinterlace_slice()
414 next2_line = src_data + (y_next2_in * src_linesize); in deinterlace_slice()
416 prev_line = src_data + (y_prev_in * src_linesize); in deinterlace_slice()
417 next_line = src_data + (y_next_in * src_linesize); in deinterlace_slice()
Dvf_nnedi.c553 const uint8_t *src_data = in->data[p]; in filter_slice() local
578 in_line = src_data + (y_out * src_linesize); in filter_slice()
590 s->read(src_data + FFMAX(y_out - 5, tff) * src_linesize, in filter_slice()
596 s->read(src_data + FFMAX(y_out - 3, tff) * src_linesize, in filter_slice()
602 s->read(src_data + FFMAX(y_out - 1, tff) * src_linesize, in filter_slice()
608 in_line = src_data + FFMIN(y_out + 1, height - 1 - !tff) * src_linesize; in filter_slice()
616 s->read(src_data + FFMIN(y_out + 1, height - 1 - !tff) * src_linesize, in filter_slice()
621 s->read(src_data + FFMIN(y_out + 3, height - 1 - !tff) * src_linesize, in filter_slice()
626 s->read(src_data + FFMIN(y_out + 5, height - 1 - !tff) * src_linesize, in filter_slice()
Dlswsutils.h34 uint8_t *const src_data[4], int src_linesize[4],
Dvf_libvmaf.c117 uint8_t *src_data = src->data[i]; in copy_picture_data() local
120 memcpy(dst_data, src_data, sizeof(*dst_data) * dst->w[i]); in copy_picture_data()
121 src_data += src->linesize[i]; in copy_picture_data()
Dvf_waveform.c709 const uint16_t *src_data = (const uint16_t *)in->data[plane] + sliceh_start * src_linesize; in lowpass16() local
720 const uint16_t *src_data_end = src_data + slicew_end; in lowpass16()
723 for (p = src_data + slicew_start; p < src_data_end; p++) { in lowpass16()
744 src_data += src_linesize; in lowpass16()
846 const uint8_t *src_data = in->data[plane] + sliceh_start * src_linesize; in lowpass() local
857 const uint8_t *src_data_end = src_data + slicew_end; in lowpass()
860 for (p = src_data + slicew_start; p < src_data_end; p++) { in lowpass()
881 src_data += src_linesize; in lowpass()
/third_party/ffmpeg/libavutil/
Dimgutils.c382 const uint8_t *src_data[4], const ptrdiff_t src_linesizes[4], in image_copy()
394 src_data[0], src_linesizes[0], in image_copy()
397 if ((desc->flags & AV_PIX_FMT_FLAG_PAL) || (dst_data[1] && src_data[1])) in image_copy()
398 memcpy(dst_data[1], src_data[1], 4*256); in image_copy()
416 src_data[i], src_linesizes[i], in image_copy()
423 const uint8_t *src_data[4], const int src_linesizes[4], in av_image_copy()
434 image_copy(dst_data, dst_linesizes1, src_data, src_linesizes1, pix_fmt, in av_image_copy()
439 const uint8_t *src_data[4], const ptrdiff_t src_linesizes[4], in av_image_copy_uc_from()
442 image_copy(dst_data, dst_linesizes, src_data, src_linesizes, pix_fmt, in av_image_copy_uc_from()
502 const uint8_t * const src_data[4], in av_image_copy_to_buffer()
[all …]
Dimgutils.h154 const uint8_t *src_data[4], const int src_linesizes[4],
172 const uint8_t *src_data[4], const ptrdiff_t src_linesizes[4],
235 const uint8_t * const src_data[4], const int src_linesize[4],
Dframe.c698 const uint8_t *src_data[4]; in frame_copy_video() local
713 memcpy(src_data, src->data, sizeof(src_data)); in frame_copy_video()
715 src_data, src->linesize, in frame_copy_video()
/third_party/alsa-utils/alsaloop/
Dpcmjob.c559 (float *)loop->src_data.data_in + in buf_add_src()
565 (float *)loop->src_data.data_in + in buf_add_src()
573 loop->src_data.input_frames = pos; in buf_add_src()
574 loop->src_data.output_frames = play->buf_size - in buf_add_src()
576 loop->src_data.end_of_input = 0; in buf_add_src()
577 old_data_out = loop->src_data.data_out; in buf_add_src()
578 loop->src_data.data_out = old_data_out + loop->src_out_frames; in buf_add_src()
579 src_process(loop->src_state, &loop->src_data); in buf_add_src()
580 loop->src_data.data_out = old_data_out; in buf_add_src()
581 capt->buf_count -= loop->src_data.input_frames_used; in buf_add_src()
[all …]
Dalsaloop.h187 SRC_DATA src_data; member
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_transfer.c84 const uint8_t *src_data = data; in u_default_texture_subdata() local
111 src_data, in u_default_texture_subdata()
/third_party/ffmpeg/libavcodec/
Dnuv.c79 uint8_t *src_data[4]; in copy_frame() local
81 av_image_fill_arrays(src_data, src_linesize, src, in copy_frame()
83 av_image_copy(f->data, f->linesize, (const uint8_t **)src_data, src_linesize, in copy_frame()
Davpacket.c408 uint8_t *src_data = src->side_data[i].data; in av_packet_copy_props() local
416 memcpy(dst_data, src_data, size); in av_packet_copy_props()
Dh264dec.c916 const uint8_t *src_data[4]; in finalize_frame() local
922 src_data[p] = f->data[p] + field *f->linesize[p]; in finalize_frame()
926 av_image_copy(dst_data, linesizes, src_data, linesizes, in finalize_frame()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont.cc300 ReadableFontData* src_data) { in NewTableBuilder() argument
301 assert(src_data); in NewTableBuilder()
303 data.Attach(WritableFontData::CreateWritableFontData(src_data->Length())); in NewTableBuilder()
305 src_data->CopyTo(data); in NewTableBuilder()
Dfont.h176 ReadableFontData* src_data);
/third_party/ffmpeg/libavdevice/
Davfoundation.m1023 const uint8_t *src_data[4];
1029 memset(src_data, 0, sizeof(src_data));
1042 src_data[i] = CVPixelBufferGetBaseAddressOfPlane(image_buffer, i);
1046 src_data[0] = CVPixelBufferGetBaseAddress(image_buffer);
1050 src_data, src_linesize,
/third_party/node/deps/v8/src/objects/
Dintl-objects.cc304 const uint8_t* src_data = src_flat.ToOneByteVector().begin(); in ConvertOneByteToLower() local
309 reinterpret_cast<const char*>(src_data), length, in ConvertOneByteToLower()
319 dst_data[index] = ToLatin1Lower(static_cast<uint16_t>(src_data[index])); in ConvertOneByteToLower()
326 const uint16_t* src_data = src_flat.ToUC16Vector().begin(); in ConvertOneByteToLower() local
327 CopyChars(dst_data, src_data, index_to_first_unprocessed); in ConvertOneByteToLower()
329 dst_data[index] = ToLatin1Lower(static_cast<uint16_t>(src_data[index])); in ConvertOneByteToLower()
/third_party/ffmpeg/libavcodec/mips/
Dhevcpred_msa.c67 uint32_t src_data; in hevc_intra_pred_vert_4x4_msa() local
71 src_data = LW(src_top); in hevc_intra_pred_vert_4x4_msa()
72 SW4(src_data, src_data, src_data, src_data, dst, stride); in hevc_intra_pred_vert_4x4_msa()
75 src_data = LW(src_left); in hevc_intra_pred_vert_4x4_msa()
77 vec2 = (v8i16) __msa_insert_w((v4i32) vec2, 0, src_data); in hevc_intra_pred_vert_4x4_msa()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2348 ubyte *src_data, *dst_data; in handle_copy_image_to_buffer2() local
2359 src_data = state->pctx->texture_map(state->pctx, in handle_copy_image_to_buffer2()
2399 src_data, src_format, src_t->stride, src_t->layer_stride, 0, 0, 0); in handle_copy_image_to_buffer2()
2408 src_data, src_t->stride, src_t->layer_stride, 0, 0, 0); in handle_copy_image_to_buffer2()
2423 void *src_data, *dst_data; in handle_copy_buffer_to_image() local
2433 src_data = state->pctx->buffer_map(state->pctx, in handle_copy_buffer_to_image()
2474 src_data, src_format, in handle_copy_buffer_to_image()
2485 src_data, in handle_copy_buffer_to_image()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c1224 const void *src_data = src_set->pool->bo->map + in v3dv_UpdateDescriptorSets() local
1230 src_data, in v3dv_UpdateDescriptorSets()

12