Home
last modified time | relevance | path

Searched refs:nb_in (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libswresample/x86/
Drematrix_init.c36 int nb_in = s->used_ch_count; in D() local
38 int num = nb_in * nb_out; in D()
60 for(j=0; j<nb_in; j++) in D()
61 sh = FFMAX(sh, FFABS(((int*)s->native_matrix)[i * nb_in + j])); in D()
63 for(j=0; j<nb_in; j++) { in D()
64 ((int16_t*)s->native_simd_matrix)[2*(i * nb_in + j)+1] = 15 - sh; in D()
65 ((int16_t*)s->native_simd_matrix)[2*(i * nb_in + j)] = in D()
66 ((((int*)s->native_matrix)[i * nb_in + j]) + (1<<sh>>1)) >> sh; in D()
/third_party/ffmpeg/libavfilter/
Dframesync.c84 int ff_framesync_init(FFFrameSync *fs, AVFilterContext *parent, unsigned nb_in) in ff_framesync_init() argument
93 fs->nb_in = nb_in; in ff_framesync_init()
95 fs->in = av_calloc(nb_in, sizeof(*fs->in)); in ff_framesync_init()
112 for (i = 0; i < fs->nb_in; i++) in framesync_sync_level_update()
137 for (i = 1; i < fs->nb_in; i++) { in ff_framesync_configure()
143 for (i = 0; i < fs->nb_in; i++) in ff_framesync_configure()
148 for (i = 0; i < fs->nb_in; i++) { in ff_framesync_configure()
166 for (i = 0; i < fs->nb_in; i++) in ff_framesync_configure()
186 for (i = 0; i < fs->nb_in; i++) in framesync_advance()
193 for (i = 0; i < fs->nb_in; i++) { in framesync_advance()
[all …]
Dframesync.h157 unsigned nb_in; member
235 int ff_framesync_init(FFFrameSync *fs, AVFilterContext *parent, unsigned nb_in);
Dvf_palettegen.c283 static double set_colorquant_ratio_meta(AVFrame *out, int nb_out, int nb_in) in set_colorquant_ratio_meta() argument
286 const double ratio = (double)nb_out / nb_in; in set_colorquant_ratio_meta()
/third_party/ffmpeg/libswresample/
Drematrix.c66 int nb_in, nb_out, in, out; in swr_set_matrix() local
72 nb_in = (s->user_in_ch_count > 0) ? s->user_in_ch_count : in swr_set_matrix()
77 for (in = 0; in < nb_in; in++) in swr_set_matrix()
397 int nb_in = s->used_ch_count; in swri_rematrix_init() local
409 s->native_matrix = av_calloc(nb_in * nb_out, sizeof(int)); in swri_rematrix_init()
417 for (j = 0; j < nb_in; j++) { in swri_rematrix_init()
419 ((int*)s->native_matrix)[i * nb_in + j] = lrintf(target); in swri_rematrix_init()
420 rem += target - ((int*)s->native_matrix)[i * nb_in + j]; in swri_rematrix_init()
421 sum += FFABS(((int*)s->native_matrix)[i * nb_in + j]); in swri_rematrix_init()
436 s->native_matrix = av_calloc(nb_in * nb_out, sizeof(float)); in swri_rematrix_init()
[all …]