Home
last modified time | relevance | path

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

123

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUM_FRAMESIZES.c49 struct v4l2_frmsizeenum framesize; in do_test_VIDIOC_ENUM_FRAMESIZES() local
57 memset(&framesize, 0xff, sizeof(framesize)); in do_test_VIDIOC_ENUM_FRAMESIZES()
58 framesize.index = i; in do_test_VIDIOC_ENUM_FRAMESIZES()
59 framesize.pixel_format = fmt; in do_test_VIDIOC_ENUM_FRAMESIZES()
61 ioctl(get_video_fd(), VIDIOC_ENUM_FRAMESIZES, &framesize); in do_test_VIDIOC_ENUM_FRAMESIZES()
75 CU_ASSERT_EQUAL(framesize.index, i); in do_test_VIDIOC_ENUM_FRAMESIZES()
76 CU_ASSERT_EQUAL(framesize.pixel_format, fmt); in do_test_VIDIOC_ENUM_FRAMESIZES()
77 CU_ASSERT(valid_framesize_type(framesize.type)); in do_test_VIDIOC_ENUM_FRAMESIZES()
80 first_type = framesize.type; in do_test_VIDIOC_ENUM_FRAMESIZES()
82 CU_ASSERT_EQUAL(framesize.type, first_type); in do_test_VIDIOC_ENUM_FRAMESIZES()
[all …]
Dv4l2_show.c130 void show_v4l2_frmsizeenum(struct v4l2_frmsizeenum *framesize) in show_v4l2_frmsizeenum() argument
135 framesize->index, framesize->pixel_format, framesize->type); in show_v4l2_frmsizeenum()
137 switch (framesize->type) { in show_v4l2_frmsizeenum()
140 framesize->discrete.width, framesize->discrete.height); in show_v4l2_frmsizeenum()
150 framesize->stepwise.min_width, in show_v4l2_frmsizeenum()
151 framesize->stepwise.max_width, in show_v4l2_frmsizeenum()
152 framesize->stepwise.step_width, in show_v4l2_frmsizeenum()
153 framesize->stepwise.min_height, in show_v4l2_frmsizeenum()
154 framesize->stepwise.max_height, in show_v4l2_frmsizeenum()
155 framesize->stepwise.step_height); in show_v4l2_frmsizeenum()
[all …]
Dv4l2_show.h17 void show_v4l2_frmsizeenum(struct v4l2_frmsizeenum* framesize);
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstaacparse.c429 guint * framesize, guint * needed_data) in gst_aac_parse_check_adts_frame() argument
456 *framesize = gst_aac_parse_adts_get_frame_len (data); in gst_aac_parse_check_adts_frame()
463 if (*framesize < 7 + crc_size) { in gst_aac_parse_check_adts_frame()
477 if (*framesize + ADTS_MAX_SIZE > avail) { in gst_aac_parse_check_adts_frame()
481 *framesize + ADTS_MAX_SIZE, avail); in gst_aac_parse_check_adts_frame()
482 *needed_data = *framesize + ADTS_MAX_SIZE; in gst_aac_parse_check_adts_frame()
484 *framesize + ADTS_MAX_SIZE); in gst_aac_parse_check_adts_frame()
488 if ((data[*framesize] == 0xff) && ((data[*framesize + 1] & 0xf6) == 0xf0)) { in gst_aac_parse_check_adts_frame()
489 guint nextlen = gst_aac_parse_adts_get_frame_len (data + (*framesize)); in gst_aac_parse_check_adts_frame()
491 GST_LOG ("ADTS frame found, len: %d bytes", *framesize); in gst_aac_parse_check_adts_frame()
[all …]
Dgstac3parse.c444 guint * framesize, guint * rate, guint * chans, guint * blocks, in gst_ac3_parse_frame_header() argument
472 ret = gst_ac3_parse_frame_header_ac3 (parse, buf, skip, framesize, rate, in gst_ac3_parse_frame_header()
478 ret = gst_ac3_parse_frame_header_eac3 (parse, buf, skip, framesize, rate, in gst_ac3_parse_frame_header()
507 gint framesize = 0; in gst_ac3_parse_handle_frame() local
548 framesize = frmsiz; in gst_ac3_parse_handle_frame()
573 framesize = 0; in gst_ac3_parse_handle_frame()
579 framesize += frmsiz; in gst_ac3_parse_handle_frame()
582 || map.size < (framesize + 6)) { in gst_ac3_parse_handle_frame()
587 if (!gst_ac3_parse_frame_header (ac3parse, buf, framesize, &frmsiz, in gst_ac3_parse_handle_frame()
607 gst_base_parse_set_min_frame_size (parse, framesize + 8); in gst_ac3_parse_handle_frame()
[all …]
/third_party/ffmpeg/libavcodec/
Ddca_parser.c37 int framesize; member
115 pc1->framesize = CORE_FRAMESIZE(state); in dca_find_frame_end()
121 pc1->framesize = CORE_FRAMESIZE(STATE_LE(state)); in dca_find_frame_end()
127 pc1->framesize = CORE_FRAMESIZE(STATE_14(state)); in dca_find_frame_end()
133 pc1->framesize = CORE_FRAMESIZE(STATE_14(STATE_LE(state))); in dca_find_frame_end()
139 pc1->framesize = EXSS_FRAMESIZE(state); in dca_find_frame_end()
150 pc1->framesize <= size + 2) { in dca_find_frame_end()
151 pc1->framesize = size + 2; in dca_find_frame_end()
157 if (size == pc1->framesize + 4) { in dca_find_frame_end()
158 pc1->framesize += EXSS_FRAMESIZE(state); in dca_find_frame_end()
[all …]
Dopusenc_psy.c198 s->p.framesize = fsize; in flush_silent_frames()
219 s->p.framesize = FFMIN(max_bsize, CELT_BLOCK_960); in psy_output_groups()
247 p->framesize = s->p.framesize; in ff_opus_psy_process()
257 int radius = (1 << s->p.framesize), step_offset = radius*index; in ff_opus_psy_celt_frame_init()
263 f->size = s->p.framesize; in ff_opus_psy_celt_frame_init()
289 f->blocks = f->transient ? OPUS_BLOCK_SIZE(s->p.framesize)/CELT_OVERLAP : 1; in ff_opus_psy_celt_frame_init()
314 int frame_size = OPUS_BLOCK_SIZE(s->p.framesize); in celt_gauge_psy_weight()
328 for (f = 0; f < (1 << s->p.framesize); f++) { in celt_gauge_psy_weight()
458 OpusPsyStep **start = &s->steps[index * (1 << s->p.framesize)]; in ff_opus_psy_celt_frame_process()
469 f->blocks = f->transient ? OPUS_BLOCK_SIZE(s->p.framesize)/CELT_OVERLAP : 1; in ff_opus_psy_celt_frame_process()
[all …]
Dopusenc.h51 int framesize; member
/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc117 void* symbolize_pc, int framesize, in DumpPCAndFrameSizeAndSymbol() argument
125 if (framesize <= 0) { in DumpPCAndFrameSizeAndSymbol()
130 kPrintfPointerFieldWidth, pc, framesize, symbol); in DumpPCAndFrameSizeAndSymbol()
137 void* writerfn_arg, void* pc, int framesize, in DumpPCAndFrameSize() argument
140 if (framesize <= 0) { in DumpPCAndFrameSize()
145 kPrintfPointerFieldWidth, pc, framesize); in DumpPCAndFrameSize()
/third_party/gstreamer/gstplugins_bad/gst/segmentclip/
Dgstaudiosegmentclip.c88 self->rate = self->framesize = 0; in gst_audio_segment_clip_reset()
104 if (!self->rate || !self->framesize) { in gst_audio_segment_clip_clip_buffer()
125 gst_audio_buffer_clip (buffer, segment, self->rate, self->framesize); in gst_audio_segment_clip_clip_buffer()
139 self->framesize * self->rate); in gst_audio_segment_clip_clip_buffer()
150 offset_end = offset + size / self->framesize; in gst_audio_segment_clip_clip_buffer()
180 self->framesize = (width / 8) * channels; in gst_audio_segment_clip_set_caps()
Dgstaudiosegmentclip.h49 gint framesize; member
/third_party/ffmpeg/libavformat/
Ddtsdec.c44 int marker, wide_hdr, hdr_size, framesize; in dts_probe() local
68 framesize = get_bits(&gb, 16 + 4 * wide_hdr) + 1; in dts_probe()
69 if (hdr_size & 3 || framesize & 3) in dts_probe()
71 if (hdr_size < 16 || framesize < hdr_size) in dts_probe()
82 exss_nextpos = pos + framesize; in dts_probe()
Domadec.c410 int ret, framesize, jsflag, samplerate; in oma_read_header() local
476 framesize = (codec_params & 0x3FF) * 8; in oma_read_header()
484 st->codecpar->bit_rate = st->codecpar->sample_rate * framesize / (1024 / 8); in oma_read_header()
511 framesize = ((codec_params & 0x3FF) * 8) + 8; in oma_read_header()
519 st->codecpar->bit_rate = samplerate * framesize / (2048 / 8); in oma_read_header()
524 framesize = 1024; in oma_read_header()
531 framesize = 1024; in oma_read_header()
544 framesize = 4096; in oma_read_header()
552 framesize = 4096; in oma_read_header()
560 st->codecpar->block_align = framesize; in oma_read_header()
Drmsipr.c41 void ff_rm_reorder_sipr_data(uint8_t *buf, int sub_packet_h, int framesize) in ff_rm_reorder_sipr_data() argument
43 int n, bs = sub_packet_h * framesize * 2 / 96; // nibbles per subpacket in ff_rm_reorder_sipr_data()
Drmsipr.h33 void ff_rm_reorder_sipr_data(uint8_t *buf, int sub_packet_h, int framesize);
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc133 void* symbolize_pc, int framesize, in DumpPCAndFrameSizeAndSymbol() argument
141 if (framesize <= 0) { in DumpPCAndFrameSizeAndSymbol()
146 kPrintfPointerFieldWidth, pc, framesize, symbol); in DumpPCAndFrameSizeAndSymbol()
153 void* writerfn_arg, void* pc, int framesize, in DumpPCAndFrameSize() argument
156 if (framesize <= 0) { in DumpPCAndFrameSize()
161 kPrintfPointerFieldWidth, pc, framesize); in DumpPCAndFrameSize()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstdiracparse.c266 guint framesize = 0; in gst_dirac_parse_handle_frame() local
306 framesize = offset + 13; in gst_dirac_parse_handle_frame()
329 framesize = offset; in gst_dirac_parse_handle_frame()
336 framesize = offset; in gst_dirac_parse_handle_frame()
337 GST_DEBUG ("framesize %d", framesize); in gst_dirac_parse_handle_frame()
339 g_assert (framesize <= size); in gst_dirac_parse_handle_frame()
375 return gst_base_parse_finish_frame (parse, frame, framesize); in gst_dirac_parse_handle_frame()
379 if (framesize) in gst_dirac_parse_handle_frame()
380 gst_base_parse_set_min_frame_size (parse, framesize); in gst_dirac_parse_handle_frame()
/third_party/python/Lib/test/
Daudiotests.py175 framesize = self.nchannels * self.sampwidth
176 f.writeframes(self.frames[:-framesize])
177 f.writeframes(self.frames[-framesize:])
246 framesize = self.nchannels * self.sampwidth
247 self.check_file(testfile, self.nframes - 1, self.frames[:-framesize])
277 framesize = self.nchannels * self.sampwidth
278 chunk1 = self.frames[:2 * framesize]
279 chunk2 = self.frames[2 * framesize: 4 * framesize]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph263depay.c188 const gchar *framesize; in gst_rtp_h263_depay_setcaps() local
198 framesize = gst_structure_get_string (structure, "a-framesize"); in gst_rtp_h263_depay_setcaps()
199 if (framesize != NULL) { in gst_rtp_h263_depay_setcaps()
200 if (!gst_rtp_h263_parse_framesize (filter, framesize, srccaps)) { in gst_rtp_h263_depay_setcaps()
Dgstrtpqdmdepay.h66 guint32 framesize; member
/third_party/glib/glib/pcre/
Dpcre_jit_compile.c207 int framesize; member
228 int framesize; member
239 int framesize; member
4218 int framesize; in compile_assert_trypath() local
4243 framesize = get_framesize(common, cc, FALSE); in compile_assert_trypath()
4244 backtrack->framesize = framesize; in compile_assert_trypath()
4260 if (framesize < 0) in compile_assert_trypath()
4268 allocate_stack(common, framesize + 2); in compile_assert_trypath()
4270 OP2(SLJIT_SUB, TMP2, 0, STACK_TOP, 0, SLJIT_IMM, -STACK(framesize + 1)); in compile_assert_trypath()
4274 init_frame(common, ccbegin, framesize + 1, 2, FALSE); in compile_assert_trypath()
[all …]
/third_party/weston/libweston/backend-hdi/
Dhdi_backend.cpp261 auto framesize = sizeof(samples) / sizeof(samples[0]) - 1; in OnDumpVsync() local
264 auto last = (sample_current + framesize) % (framesize + 1); in OnDumpVsync()
271 double rate = 1000000.0 / diff * framesize; in OnDumpVsync()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16InstrFormats.td378 // <|opcode|svrs|s|ra|s0|s1|framesize>
389 bits<4> framesize = 0;
399 let Inst{3-0} = framesize;
405 // <|opcode|svrs|s|ra|s0|s1|framesize>
614 bits<8> framesize =0;
626 let Inst{23-20} = framesize{7-4};
635 let Inst{3-0} = framesize{3-0};
/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c253 int framesize; member
274 int framesize; member
287 int framesize; member
353 int framesize; member
9697 int framesize; in compile_assert_matchingpath() local
9732 framesize = get_framesize(common, cc, NULL, FALSE, &needs_control_head); in compile_assert_matchingpath()
9733 backtrack->framesize = framesize; in compile_assert_matchingpath()
9749 if (framesize < 0) in compile_assert_matchingpath()
9758 if (framesize == no_frame) in compile_assert_matchingpath()
9780 allocate_stack(common, framesize + extrasize); in compile_assert_matchingpath()
[all …]
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudiosink.c447 gint framesize = gst_audio_iec61937_frame_size (&sink->ringbuffer->spec); in gst_osx_audio_sink_sink_payload() local
452 if (framesize <= 0) in gst_osx_audio_sink_sink_payload()
455 out = gst_buffer_new_and_alloc (framesize); in gst_osx_audio_sink_sink_payload()

123