Home
last modified time | relevance | path

Searched refs:in_size (Results 1 – 25 of 57) sorted by relevance

123

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-resampler.c212 gint in_size, out_size; in resampler_calculate_taps() local
216 in_size = resampler->in_size; in resampler_calculate_taps()
240 x = ox * (gdouble) in_size - corr; in resampler_calculate_taps()
241 x = CLAMP (x, 0, in_size - 1); in resampler_calculate_taps()
273 if (xi > in_size - max_taps) { in resampler_calculate_taps()
274 gint sh = xi - (in_size - max_taps); in resampler_calculate_taps()
346 guint n_phases, guint n_taps, gdouble shift, guint in_size, guint out_size, in gst_video_resampler_init() argument
353 g_return_val_if_fail (in_size != 0, FALSE); in gst_video_resampler_init()
357 resampler->in_size = in_size; in gst_video_resampler_init()
366 GST_DEBUG ("%d %u %u->%u", method, n_taps, in_size, out_size); in gst_video_resampler_init()
[all …]
Dvideo-scaler.c125 resampler->in_size = r1->in_size + r2->in_size; in resampler_zip()
167 gint i, j, in_size, out_size, max_taps; in scaler_dump()
172 in_size = r->in_size; in scaler_dump()
179 g_print ("in %d, out %d, max_taps %d, n_phases %d\n", in_size, out_size, in scaler_dump()
215 guint n_taps, guint in_size, guint out_size, GstStructure * options) in gst_video_scaler_new() argument
219 g_return_val_if_fail (in_size != 0, NULL); in gst_video_scaler_new()
224 GST_DEBUG ("%d %u %u->%u", method, n_taps, in_size, out_size); in gst_video_scaler_new()
233 shift = (INTERLACE_SHIFT * out_size) / in_size; in gst_video_scaler_new()
237 (in_size + 1) / 2, (out_size + 1) / 2, options); in gst_video_scaler_new()
242 n_taps, -shift, in_size - tresamp.in_size, in gst_video_scaler_new()
[all …]
Dvideo-resampler.h150 gint in_size; member
170 guint in_size, guint out_size,
/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
176 for (i = 0; i < in_size; ++i) {
196 for (i = 0; i < in_size; ++i) {
250 MemoryManager* m, const HistogramType* in, const size_t in_size,
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
267 for (i = 0; i < in_size; ++i) {
271 for (i = 0; i < in_size; ++i) {
277 for (i = 0; i < in_size; i += max_input_histograms) {
279 BROTLI_MIN(size_t, in_size - i, max_input_histograms);
[all …]
/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
176 for (i = 0; i < in_size; ++i) {
196 for (i = 0; i < in_size; ++i) {
250 MemoryManager* m, const HistogramType* in, const size_t in_size,
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
267 for (i = 0; i < in_size; ++i) {
271 for (i = 0; i < in_size; ++i) {
277 for (i = 0; i < in_size; i += max_input_histograms) {
279 BROTLI_MIN(size_t, in_size - i, max_input_histograms);
[all …]
/third_party/ffmpeg/libavutil/
Dbase64.c143 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size) in av_base64_encode() argument
150 int bytes_remaining = in_size; in av_base64_encode()
152 if (in_size >= UINT_MAX / 4 || in av_base64_encode()
153 out_size < AV_BASE64_SIZE(in_size)) in av_base64_encode()
/third_party/ffmpeg/libavformat/
Ddata_uri.c39 size_t in_size; in data_open() local
72 in_size = strlen(data); in data_open()
74 size_t out_size = 3 * (in_size / 4) + 1; in data_open()
87 dc->size = in_size; in data_open()
/third_party/ffmpeg/libavcodec/
Dtruehd_core_bsf.c43 int in_size, out_size; in truehd_core_filter() local
57 in_size = (AV_RB16(pkt->data) & 0xFFF) * 2; in truehd_core_filter()
58 if (in_size < 4 || in_size > pkt->size) { in truehd_core_filter()
97 if (out_size < in_size) { in truehd_core_filter()
Dws-snd1.c60 int in_size, out_size, ret; in ws_snd_decode_frame() local
74 in_size = AV_RL16(&buf[2]); in ws_snd_decode_frame()
77 if (in_size > buf_size) { in ws_snd_decode_frame()
89 if (in_size == out_size) { in ws_snd_decode_frame()
Dh264_mp4toannexb_bsf.c47 const uint8_t *in, int in_size, int ps, int copy) in count_or_copy() argument
52 memcpy(*out + start_code_size, in, in_size); in count_or_copy()
60 *out += start_code_size + in_size; in count_or_copy()
62 *out_size += start_code_size + in_size; in count_or_copy()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dcommon.c1069 size_t utf8_unescape(const char *inp, size_t in_size, in utf8_unescape() argument
1077 if (!in_size) in utf8_unescape()
1078 in_size = os_strlen(inp); in utf8_unescape()
1081 if (*inp == '\'' && in_size) { in utf8_unescape()
1083 in_size--; in utf8_unescape()
1086 while (in_size) { in utf8_unescape()
1087 in_size--; in utf8_unescape()
1098 if (!in_size) in utf8_unescape()
1100 in_size--; in utf8_unescape()
1118 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dcommon.c1134 size_t utf8_unescape(const char *inp, size_t in_size, in utf8_unescape() argument
1142 if (!in_size) in utf8_unescape()
1143 in_size = os_strlen(inp); in utf8_unescape()
1146 if (*inp == '\'' && in_size) { in utf8_unescape()
1148 in_size--; in utf8_unescape()
1151 while (in_size) { in utf8_unescape()
1152 in_size--; in utf8_unescape()
1163 if (!in_size) in utf8_unescape()
1165 in_size--; in utf8_unescape()
1183 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc144 int in_size = size; in WriteToOutput() local
155 if (in_size <= out_size) { in WriteToOutput()
156 memcpy(out, in, in_size); in WriteToOutput()
157 output->BackUp(out_size - in_size); in WriteToOutput()
163 in_size -= out_size; in WriteToOutput()
174 int in_size = 0; in ReadFromInput() local
179 if (!input->Next(&in, &in_size)) { in ReadFromInput()
182 EXPECT_GT(in_size, -1); in ReadFromInput()
183 if (in_size == 0) { in ReadFromInput()
190 if (out_size <= in_size) { in ReadFromInput()
[all …]
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawbaseparse.c457 gsize in_size, out_size; in gst_raw_base_parse_handle_frame() local
532 in_size = gst_buffer_get_size (frame->buffer); in gst_raw_base_parse_handle_frame()
537 if (GST_BASE_PARSE_DRAINING (parse) && in_size < frame_size) { in gst_raw_base_parse_handle_frame()
539 "Dropping %" G_GSIZE_FORMAT " bytes at EOS", in_size); in gst_raw_base_parse_handle_frame()
543 return gst_base_parse_finish_frame (parse, frame, in_size); in gst_raw_base_parse_handle_frame()
552 g_assert (in_size >= frame_size); in gst_raw_base_parse_handle_frame()
557 num_out_frames = (in_size / frame_size); in gst_raw_base_parse_handle_frame()
580 " bytes output (%u frame(s)) %d bytes overhead", in_size, out_size, in gst_raw_base_parse_handle_frame()
596 frame->buffer, in_size, out_size, &processed_data)) in gst_raw_base_parse_handle_frame()
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
Ddecoder_jni.cc127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() local
130 handle->state, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/loop_control/
Diteration_multiple.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"
Dmax_iterations.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"
Dpartial_count.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"
Dmin_iterations.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"
Dpeel_count.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
Dencoder_jni.cc139 size_t in_size = handle->input_last - handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() local
142 handle->state, op, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
143 handle->input_offset = handle->input_last - in_size; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
/third_party/gstreamer/gstplugins_bad/gst/siren/
Dgstsirenenc.c152 gint in_size; in gst_siren_enc_handle_frame() local
174 in_size = num_frames * 640; in gst_siren_enc_handle_frame()
178 GST_LOG_OBJECT (enc, "we have %u frames, %u in, %u out", num_frames, in_size, in gst_siren_enc_handle_frame()
Dgstsirendec.c174 gint in_size; in gst_siren_dec_handle_frame() local
193 in_size = num_frames * 40; in gst_siren_dec_handle_frame()
197 GST_LOG_OBJECT (dec, "we have %u frames, %u in, %u out", num_frames, in_size, in gst_siren_dec_handle_frame()
/third_party/toybox/toys/pending/
Dxzcat.c93 size_t in_size; member
230 b.in_size = 0; in do_xzcat()
236 if (b.in_pos == b.in_size) { in do_xzcat()
237 b.in_size = read(fd, in, sizeof(in)); in do_xzcat()
1526 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed()
1528 copy_size = minof(b->in_size - b->in_pos, in dict_uncompressed()
1595 if (b->in_pos == b->in_size) return 0; in rc_read_init()
1993 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
2035 in_avail = b->in_size - b->in_pos; in lzma2_lzma()
2043 s->rc.in_limit = b->in_size - LZMA_IN_REQUIRED; in lzma2_lzma()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavaudenc.c429 guint in_size; in gst_ffmpegaudenc_send_frame() local
434 in_size = buffer_info->map.size; in gst_ffmpegaudenc_send_frame()
437 in_size); in gst_ffmpegaudenc_send_frame()
450 nsamples = frame->nb_samples = in_size / info->bpf; in gst_ffmpegaudenc_send_frame()
463 buffer_info->ext_data = frame->extended_data[0] = av_malloc (in_size); in gst_ffmpegaudenc_send_frame()
464 frame->linesize[0] = in_size / channels; in gst_ffmpegaudenc_send_frame()
527 frame->linesize[0] = in_size; in gst_ffmpegaudenc_send_frame()
528 frame->nb_samples = nsamples = in_size / info->bpf; in gst_ffmpegaudenc_send_frame()

123