Home
last modified time | relevance | path

Searched refs:framesize (Results 1 – 25 of 51) 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/lame/frontend/
Dtimestatus.c81 const int framesize) in ts_calc_times() argument
87 tstime->speed_index = framesize * frameNum / (sample_freq * tstime->elapsed_time); in ts_calc_times()
125 , framesize = lame_get_framesize(gfp) in timestatus() local
164 ts_calc_times(real_time, samp_rate, frameNum, totalframes, framesize); in timestatus()
165 ts_calc_times(proc_time, samp_rate, frameNum, totalframes, framesize); in timestatus()
341 int framesize; member
368 decoder_progress_init(unsigned long n, int framesize) in decoder_progress_init() argument
374 dp->framesize = framesize; in decoder_progress_init()
377 if (framesize == 576 || framesize == 1152) { in decoder_progress_init()
378 dp->frames_total = calcNumBlocks(n, framesize); in decoder_progress_init()
[all …]
Dgtkanal.c140 int framesize = lame_get_framesize(gfp); in gtkmakeframe() local
146 pinfo->framesize = framesize; in gtkmakeframe()
163 for (j = 0; j < framesize - DECDELAY; j++) in gtkmakeframe()
164 pinfo->pcmdata2[ch][j] = pinfo->pcmdata2[ch][j + framesize]; in gtkmakeframe()
165 for (j = 0; j < framesize; j++) /*rescale from int to short int */ in gtkmakeframe()
166 pinfo->pcmdata2[ch][j + framesize - DECDELAY] = Buffer[ch][j]; in gtkmakeframe()
189 if (iread > framesize) { in gtkmakeframe()
216 assert(mp3out == pinfo->framesize); in gtkmakeframe()
223 for (j = 0; j < pinfo->framesize - DECDELAY; j++) in gtkmakeframe()
224 pinfo->pcmdata2[ch][j] = pinfo->pcmdata2[ch][j + pinfo->framesize]; in gtkmakeframe()
[all …]
Damiga_mpega.c107 mp3data->framesize = smpls[mstream->norm - 1][mstream->layer]; in lame_decode_initfile()
134 mp3data->framesize = smpls[mstream->norm - 1][mstream->layer]; in lame_decode_fromfile()
Dtimestatus.h38 DecoderProgress decoder_progress_init(unsigned long n, int framesize);
/third_party/lame/mpglib/
Dcommon.c158 modes[fr->mode], fr->mode_ext, fr->framesize + 4);
234 fr->framesize = (long) tabsel_123[fr->lsf][0][fr->bitrate_index] * 12000; in decode_header()
235 fr->framesize /= freqs[fr->sampling_frequency]; in decode_header()
236 fr->framesize = ((fr->framesize + fr->padding) << 2) - 4; in decode_header()
242 fr->framesize = (long) tabsel_123[fr->lsf][1][fr->bitrate_index] * 144000; in decode_header()
243 fr->framesize /= freqs[fr->sampling_frequency]; in decode_header()
244 fr->framesize += fr->padding - 4; in decode_header()
262 if (fr->framesize > MAX_INPUT_FRAMESIZE) { in decode_header()
264 fr->framesize = MAX_INPUT_FRAMESIZE; in decode_header()
270 fr->framesize = 0; in decode_header()
[all …]
Dinterface.c62 mp->framesize = 0; in InitMP3()
386 mp->framesize = 0; in decode_reset()
514 mp->framesize = mp->fr.framesize; in decodeMP3_clipchoice()
515 mp->free_format = (mp->framesize == 0); in decodeMP3_clipchoice()
560 int framesize = mp->fr.framesize - mp->ssize; in decodeMP3_clipchoice() local
561 if (mp->dsize > framesize) { in decodeMP3_clipchoice()
564 mp->dsize - framesize); in decodeMP3_clipchoice()
565 mp->dsize = framesize; in decodeMP3_clipchoice()
582 if (mp->fr.framesize > mp->bsize) in decodeMP3_clipchoice()
586 mp->dsize = mp->fr.framesize; in decodeMP3_clipchoice()
[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.h50 int framesize; member
/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/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.c406 int ret, framesize, jsflag, samplerate; in oma_read_header() local
469 framesize = (codec_params & 0x3FF) * 8; in oma_read_header()
476 st->codecpar->bit_rate = st->codecpar->sample_rate * framesize / (1024 / 8); in oma_read_header()
502 framesize = ((codec_params & 0x3FF) * 8) + 8; in oma_read_header()
509 st->codecpar->bit_rate = samplerate * framesize / (2048 / 8); in oma_read_header()
514 framesize = 1024; in oma_read_header()
520 framesize = 1024; in oma_read_header()
532 framesize = 4096; in oma_read_header()
539 framesize = 4096; in oma_read_header()
546 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/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/lame/libmp3lame/
Dmpglib_interface.c197 if (pmp->header_parsed || pmp->fsizeold > 0 || pmp->framesize > 0) { in decode1_headersB_clipchoice()
203 mp3data->framesize = smpls[pmp->fr.lsf][pmp->fr.lay]; in decode1_headersB_clipchoice()
209 (1.e3 * mp3data->framesize) + 0.5; in decode1_headersB_clipchoice()
210 else if (pmp->framesize > 0) in decode1_headersB_clipchoice()
211 mp3data->bitrate = 8 * (4 + pmp->framesize) * mp3data->samplerate / in decode1_headersB_clipchoice()
212 (1.e3 * mp3data->framesize) + 0.5; in decode1_headersB_clipchoice()
221 mp3data->nsamp = mp3data->framesize * pmp->num_frames; in decode1_headersB_clipchoice()
561 mp3data->framesize = mpg123_spf(hip->mh); in hip123_decode1()
Dencoder.c199 int const framesize = 576 * cfg->mode_gr; in lame_encode_frame_init() local
206 if (i < framesize) { in lame_encode_frame_init()
231 assert(gfc->sv_enc.mf_size >= (BLKSIZE + framesize - FFTOFFSET)); in lame_encode_frame_init()
233 assert(gfc->sv_enc.mf_size >= (512 + framesize - 32)); in lame_encode_frame_init()
555 int framesize = 576 * cfg->mode_gr; in lame_encode_mp3_frame() local
559 gfc->pinfo->pcmdata[ch][j] = gfc->pinfo->pcmdata[ch][j + framesize]; in lame_encode_mp3_frame()
Dlame-analysis.h84 int framesize, stereo, js, ms_stereo, i_stereo, emph, bitrate, sampfreq, maindata; member
/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
9859 int framesize; in compile_assert_matchingpath() local
9894 framesize = get_framesize(common, cc, NULL, FALSE, &needs_control_head); in compile_assert_matchingpath()
9895 backtrack->framesize = framesize; in compile_assert_matchingpath()
9911 if (framesize < 0) in compile_assert_matchingpath()
9920 if (framesize == no_frame) in compile_assert_matchingpath()
9942 allocate_stack(common, framesize + extrasize); in compile_assert_matchingpath()
[all …]
/third_party/pcre2/pcre2/testdata/
Dtestinputheap1 #pattern framesize, memory
Dtestoutputheap-81 #pattern framesize, memory

123