/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUM_FRAMESIZES.c | 49 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 in do_test_VIDIOC_ENUM_FRAMESIZES() 200 struct v4l2_frmsizeenum framesize; do_test_VIDIOC_ENUM_FRAMESIZES_invalid_index() local 392 struct v4l2_frmsizeenum framesize; do_test_VIDIOC_ENUM_FRAMESIZES_invalid_pixel_format() local 576 struct v4l2_frmsizeenum framesize; test_VIDIOC_ENUM_FRAMESIZES_NULL() local [all...] |
H A D | v4l2_show.c | 130 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 in show_v4l2_frmsizeenum() [all...] |
/third_party/pulseaudio/speex/tmv/ |
H A D | mdf_tm.h | 346 int framesize in mdf_preemph() 362 for ( i=0 ; i<framesize ; ++i ) in mdf_preemph() 404 int framesize in mdf_sub() 415 for ( i=0,framesize<<=1 ; i<framesize ; i+=4 ) in mdf_sub() 424 for ( i=0 ; i<framesize ; ++i ) in mdf_sub() 439 int framesize in mdf_sub_int() 450 for ( i=0,framesize<<=1 ; i<framesize ; i+=4 ) in mdf_sub_int() 459 for ( i=0,j=0 ; i<framesize ; in mdf_sub_int() 599 register int framesize = st->frame_size; mdf_update_foreground() local 773 register int framesize = st->frame_size; mdf_check() local 793 mdf_smooth( spx_word32_t * restrict power, spx_word32_t * restrict Xf, int framesize, int M ) mdf_smooth() argument 984 register int framesize = st->frame_size; mdf_adapt() local 1086 register int framesize = st->frame_size; speex_echo_cancellation() local [all...] |
H A D | preprocess_tm.h | 42 register int i, j, framesize = st->frame_size; in preprocess_analysis() local 44 register int N3 = 2*N - framesize; in preprocess_analysis() 45 register int N4 = framesize - N3; in preprocess_analysis() 63 framesize >>= 1; in preprocess_analysis() 76 for ( i=0,j=0 ; i<framesize ; i+=2,j+=8 ) in preprocess_analysis() 329 register int framesize = st->frame_size; in preprocess_analysis() local 331 register int N3 = 2*N - framesize; in preprocess_analysis() 332 register int N4 = framesize - N3; in preprocess_analysis() 356 for ( i=0 ; i<framesize ; ++i ) in preprocess_analysis() 1010 register int framesize in preprocess_update() local [all...] |
/third_party/lame/frontend/ |
H A D | timestatus.c | 81 const int framesize) in ts_calc_times() 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 in decoder_progress_init() 77 ts_calc_times(timestatus_t * const tstime, const int sample_freq, const int frameNum, const int totalframes, const int framesize) ts_calc_times() argument [all...] |
H A D | amiga_mpega.c | 107 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()
|
H A D | gtkanal.c | 140 int framesize = lame_get_framesize(gfp); in gtkmakeframe() local 146 pinfo->framesize = framesize; in gtkmakeframe() 160 /* add a delay of framesize-DECDELAY, which will make the total delay 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() [all...] |
H A D | timestatus.h | 38 DecoderProgress decoder_progress_init(unsigned long n, int framesize);
|
/third_party/lame/mpglib/ |
H A D | common.c | 158 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 in decode_header() [all...] |
H A D | interface.c | 62 mp->framesize = 0; in InitMP3() 383 /* mp->fsizeold = mp->framesize; */ in decode_reset() 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() 563 "hip: error audio data exceeds framesize b in decodeMP3_clipchoice() [all...] |
H A D | mpglib.h | 85 int framesize;
|
H A D | mpg123.h | 111 int framesize; /* computed framesize */ member
|
/third_party/ffmpeg/libavcodec/ |
H A D | dca_parser.c | 37 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 in dca_find_frame_end() [all...] |
H A D | opusenc_psy.c | 198 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() [all...] |
H A D | opusenc.h | 50 int framesize; member
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
H A D | examine_stack.cc | 133 void* symbolize_pc, int framesize, in DumpPCAndFrameSizeAndSymbol() 141 if (framesize <= 0) { in DumpPCAndFrameSizeAndSymbol() 146 kPrintfPointerFieldWidth, pc, framesize, symbol); in DumpPCAndFrameSizeAndSymbol() 153 void* writerfn_arg, void* pc, int framesize, in DumpPCAndFrameSize() 156 if (framesize <= 0) { in DumpPCAndFrameSize() 161 kPrintfPointerFieldWidth, pc, framesize); in DumpPCAndFrameSize() 131 DumpPCAndFrameSizeAndSymbol(void (*writerfn)(const char*, void*), void* writerfn_arg, void* pc, void* symbolize_pc, int framesize, const char* const prefix) DumpPCAndFrameSizeAndSymbol() argument 152 DumpPCAndFrameSize(void (*writerfn)(const char*, void*), void* writerfn_arg, void* pc, int framesize, const char* const prefix) DumpPCAndFrameSize() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | dtsdec.c | 44 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()
|
H A D | omadec.c | 406 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() [all...] |
H A D | rmsipr.c | 41 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()
|
H A D | rmsipr.h | 33 void ff_rm_reorder_sipr_data(uint8_t *buf, int sub_packet_h, int framesize);
|
/third_party/python/Lib/test/ |
H A D | audiotests.py | 175 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/ |
H A D | mpglib_interface.c | 183 * pmp->framesize=0 in decode1_headersB_clipchoice() 188 * pmp->framesize=size of frame in decode1_headersB_clipchoice() 193 * pmp->framesize=0 in decode1_headersB_clipchoice() 197 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 * pm in decode1_headersB_clipchoice() [all...] |
H A D | encoder.c | 199 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() 276 inbuf = buffer of PCM data size=MP3 framesize 291 data needed: 512+framesize-32 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()
|
H A D | lame-analysis.h | 84 int framesize, stereo, js, ms_stereo, i_stereo, emph, bitrate, sampfreq, maindata; member
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_jit_compile.c | 253 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 in compile_assert_matchingpath() 10283 match_once_common(compiler_common *common, PCRE2_UCHAR ket, int framesize, int private_data_ptr, BOOL has_alternatives, BOOL needs_control_head) match_once_common() argument 11014 int framesize; compile_bracketpos_matchingpath() local [all...] |