td 253 libavcodec/exr.c int uncompressed_size, EXRThreadData *td) td 257 libavcodec/exr.c if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK || td 261 libavcodec/exr.c predictor(td->tmp, uncompressed_size); td 262 libavcodec/exr.c reorder_pixels(td->tmp, td->uncompressed_data, uncompressed_size); td 268 libavcodec/exr.c int uncompressed_size, EXRThreadData *td) td 270 libavcodec/exr.c uint8_t *d = td->tmp; td 306 libavcodec/exr.c predictor(td->tmp, uncompressed_size); td 307 libavcodec/exr.c reorder_pixels(td->tmp, td->uncompressed_data, uncompressed_size); td 711 libavcodec/exr.c int dsize, EXRThreadData *td) td 716 libavcodec/exr.c uint16_t *tmp = (uint16_t *)td->tmp; td 720 libavcodec/exr.c if (!td->bitmap) td 721 libavcodec/exr.c td->bitmap = av_malloc(BITMAP_SIZE); td 722 libavcodec/exr.c if (!td->lut) td 723 libavcodec/exr.c td->lut = av_malloc(1 << 17); td 724 libavcodec/exr.c if (!td->bitmap || !td->lut) { td 725 libavcodec/exr.c av_freep(&td->bitmap); td 726 libavcodec/exr.c av_freep(&td->lut); td 737 libavcodec/exr.c memset(td->bitmap, 0, FFMIN(min_non_zero, BITMAP_SIZE)); td 739 libavcodec/exr.c bytestream2_get_buffer(&gb, td->bitmap + min_non_zero, td 741 libavcodec/exr.c memset(td->bitmap + max_non_zero, 0, BITMAP_SIZE - max_non_zero); td 743 libavcodec/exr.c maxval = reverse_lut(td->bitmap, td->lut); td 760 libavcodec/exr.c apply_lut(td->lut, tmp, dsize / sizeof(uint16_t)); td 762 libavcodec/exr.c out = td->uncompressed_data; td 775 libavcodec/exr.c EXRThreadData *td) td 778 libavcodec/exr.c const uint8_t *in = td->tmp; td 782 libavcodec/exr.c if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK || td 786 libavcodec/exr.c out = td->uncompressed_data; td 832 libavcodec/exr.c EXRThreadData *td = &s->thread_data[threadnr]; td 871 libavcodec/exr.c av_fast_padded_malloc(&td->uncompressed_data, td 872 libavcodec/exr.c &td->uncompressed_size, uncompressed_size); td 873 libavcodec/exr.c av_fast_padded_malloc(&td->tmp, &td->tmp_size, uncompressed_size); td 874 libavcodec/exr.c if (!td->uncompressed_data || !td->tmp) td 881 libavcodec/exr.c ret = zip_uncompress(src, data_size, uncompressed_size, td); td 884 libavcodec/exr.c ret = piz_uncompress(s, src, data_size, uncompressed_size, td); td 887 libavcodec/exr.c ret = pxr24_uncompress(s, src, data_size, uncompressed_size, td); td 890 libavcodec/exr.c ret = rle_uncompress(src, data_size, uncompressed_size, td); td 896 libavcodec/exr.c src = td->uncompressed_data; td 1409 libavcodec/exr.c EXRThreadData *td = &s->thread_data[i]; td 1410 libavcodec/exr.c av_freep(&td->uncompressed_data); td 1411 libavcodec/exr.c av_freep(&td->tmp); td 1412 libavcodec/exr.c av_freep(&td->bitmap); td 1413 libavcodec/exr.c av_freep(&td->lut); td 93 libavcodec/g726.c int td; /**< tone detect */ td 206 libavcodec/g726.c tr= (c->td == 1 && dq > ((3*thr2)>>2)); td 243 libavcodec/g726.c c->td = c->a[1] < -11776; td 252 libavcodec/g726.c if (c->y <= 1535 || c->td || abs((c->dms << 2) - c->dml) >= (c->dml >> 3)) td 40 libavcodec/h264_direct.c int td = av_clip_int8(poc1 - poc0); td 41 libavcodec/h264_direct.c if (td == 0 || h->ref_list[0][i].long_ref) { td 45 libavcodec/h264_direct.c int tx = (16384 + (FFABS(td) >> 1)) / td; td 922 libavcodec/h264_slice.c int td = av_clip_int8(poc1 - poc0); td 923 libavcodec/h264_slice.c if (td) { td 925 libavcodec/h264_slice.c int tx = (16384 + (FFABS(td) >> 1)) / td; td 114 libavcodec/hevc_mvs.c static av_always_inline void mv_scale(Mv *dst, Mv *src, int td, int tb) td 118 libavcodec/hevc_mvs.c td = av_clip_int8(td); td 120 libavcodec/hevc_mvs.c tx = (0x4000 + abs(td / 2)) / td; td 425 libavcodec/proresdec_lgpl.c static int decode_slice_plane(ProresContext *ctx, ProresThreadData *td, td 438 libavcodec/proresdec_lgpl.c memset(td->blocks, 0, 8 * 4 * 64 * sizeof(*td->blocks)); td 442 libavcodec/proresdec_lgpl.c decode_dc_coeffs(&gb, td->blocks, blocks_per_slice); td 444 libavcodec/proresdec_lgpl.c ret = decode_ac_coeffs(&gb, td->blocks, blocks_per_slice, td 450 libavcodec/proresdec_lgpl.c block_ptr = td->blocks; td 531 libavcodec/proresdec_lgpl.c static void decode_alpha_plane(ProresContext *ctx, ProresThreadData *td, td 540 libavcodec/proresdec_lgpl.c memset(td->blocks, 0, 8 * 4 * 64 * sizeof(*td->blocks)); td 545 libavcodec/proresdec_lgpl.c unpack_alpha(&gb, td->blocks, mbs_per_slice * 4 * 64, 16); td 547 libavcodec/proresdec_lgpl.c unpack_alpha(&gb, td->blocks, mbs_per_slice * 4 * 64, 8); td 549 libavcodec/proresdec_lgpl.c block_ptr = td->blocks; td 560 libavcodec/proresdec_lgpl.c ProresThreadData *td = tdata; td 562 libavcodec/proresdec_lgpl.c int mb_x_pos = td->x_pos; td 563 libavcodec/proresdec_lgpl.c int mb_y_pos = td->y_pos; td 565 libavcodec/proresdec_lgpl.c int slice_num = td->slice_num; td 566 libavcodec/proresdec_lgpl.c int mbs_per_slice = td->slice_width; td 638 libavcodec/proresdec_lgpl.c if (ctx->qmat_changed || sf != td->prev_slice_sf) { td 639 libavcodec/proresdec_lgpl.c td->prev_slice_sf = sf; td 641 libavcodec/proresdec_lgpl.c td->qmat_luma_scaled[ctx->dsp.idct_permutation[i]] = ctx->qmat_luma[i] * sf; td 642 libavcodec/proresdec_lgpl.c td->qmat_chroma_scaled[ctx->dsp.idct_permutation[i]] = ctx->qmat_chroma[i] * sf; td 647 libavcodec/proresdec_lgpl.c ret = decode_slice_plane(ctx, td, buf + coff[0], y_data_size, td 650 libavcodec/proresdec_lgpl.c td->qmat_luma_scaled, 0); td 656 libavcodec/proresdec_lgpl.c ret = decode_slice_plane(ctx, td, buf + coff[1], u_data_size, td 660 libavcodec/proresdec_lgpl.c td->qmat_chroma_scaled, 1); td 665 libavcodec/proresdec_lgpl.c ret = decode_slice_plane(ctx, td, buf + coff[2], v_data_size, td 669 libavcodec/proresdec_lgpl.c td->qmat_chroma_scaled, 1); td 675 libavcodec/proresdec_lgpl.c decode_alpha_plane(ctx, td, buf + coff[3], a_data_size, td 676 libavcodec/proresenc_kostya.c const int16_t *qmat, ProresThreadData *td) td 683 libavcodec/proresenc_kostya.c bits = estimate_dcs(error, td->blocks[plane], blocks_per_slice, qmat[0]); td 684 libavcodec/proresenc_kostya.c bits += estimate_acs(error, td->blocks[plane], blocks_per_slice, td 752 libavcodec/proresenc_kostya.c ProresThreadData *td) td 799 libavcodec/proresenc_kostya.c td->blocks[i], td->emu_buf, td 804 libavcodec/proresenc_kostya.c td->blocks[i], mbs_per_slice, ctx->alpha_bits); td 809 libavcodec/proresenc_kostya.c td->nodes[trellis_node + q].prev_node = -1; td 810 libavcodec/proresenc_kostya.c td->nodes[trellis_node + q].quant = q; td 822 libavcodec/proresenc_kostya.c ctx->quants[q], td); td 826 libavcodec/proresenc_kostya.c mbs_per_slice, q, td->blocks[3]); td 844 libavcodec/proresenc_kostya.c qmat = td->custom_q; td 853 libavcodec/proresenc_kostya.c qmat, td); td 857 libavcodec/proresenc_kostya.c mbs_per_slice, q, td->blocks[3]); td 866 libavcodec/proresenc_kostya.c td->nodes[trellis_node + max_quant + 1].quant = overquant; td 875 libavcodec/proresenc_kostya.c bits = td->nodes[prev].bits + slice_bits[q]; td 880 libavcodec/proresenc_kostya.c if (td->nodes[prev].score < SCORE_LIMIT && error < SCORE_LIMIT) td 881 libavcodec/proresenc_kostya.c new_score = td->nodes[prev].score + error; td 884 libavcodec/proresenc_kostya.c if (td->nodes[cur].prev_node == -1 || td 885 libavcodec/proresenc_kostya.c td->nodes[cur].score >= new_score) { td 887 libavcodec/proresenc_kostya.c td->nodes[cur].bits = bits; td 888 libavcodec/proresenc_kostya.c td->nodes[cur].score = new_score; td 889 libavcodec/proresenc_kostya.c td->nodes[cur].prev_node = prev; td 894 libavcodec/proresenc_kostya.c error = td->nodes[trellis_node + min_quant].score; td 897 libavcodec/proresenc_kostya.c if (td->nodes[trellis_node + q].score <= error) { td 898 libavcodec/proresenc_kostya.c error = td->nodes[trellis_node + q].score; td 910 libavcodec/proresenc_kostya.c ProresThreadData *td = ctx->tdata + threadnr; td 919 libavcodec/proresenc_kostya.c mbs_per_slice, td); td 923 libavcodec/proresenc_kostya.c ctx->slice_q[x + y * ctx->slices_width] = td->nodes[q].quant; td 924 libavcodec/proresenc_kostya.c q = td->nodes[q].prev_node; td 1375 libavcodec/vp8.c void decode_mb_coeffs(VP8Context *s, VP8ThreadData *td, VP56RangeCoder *c, td 1388 libavcodec/vp8.c nnz = decode_block_coeffs(c, td->block_dc, s->prob->token[1], 0, td 1394 libavcodec/vp8.c nnz |= inter_predict_dc(td->block_dc, td 1402 libavcodec/vp8.c s->vp8dsp.vp8_luma_dc_wht_dc(td->block, td->block_dc); td 1404 libavcodec/vp8.c s->vp8dsp.vp8_luma_dc_wht(td->block, td->block_dc); td 1414 libavcodec/vp8.c nnz = decode_block_coeffs(c, td->block[y][x], td 1421 libavcodec/vp8.c td->non_zero_count_cache[y][x] = nnz + block_dc; td 1433 libavcodec/vp8.c nnz = decode_block_coeffs(c, td->block[i][(y << 1) + x], td 1437 libavcodec/vp8.c td->non_zero_count_cache[i][(y << 1) + x] = nnz; td 1576 libavcodec/vp8.c void intra_predict(VP8Context *s, VP8ThreadData *td, uint8_t *dst[3], td 1584 libavcodec/vp8.c if (mb_y && (s->deblock_filter || !mb_y) && td->thread_nr == 0) td 1611 libavcodec/vp8.c AV_ZERO128(td->non_zero_count_cache); td 1661 libavcodec/vp8.c nnz = td->non_zero_count_cache[y][x]; td 1665 libavcodec/vp8.c td->block[y][x], s->linesize); td 1668 libavcodec/vp8.c td->block[y][x], s->linesize); td 1683 libavcodec/vp8.c if (mb_y && (s->deblock_filter || !mb_y) && td->thread_nr == 0) td 1713 libavcodec/vp8.c void vp8_mc_luma(VP8Context *s, VP8ThreadData *td, uint8_t *dst, td 1735 libavcodec/vp8.c s->vdsp.emulated_edge_mc(td->edge_emu_buffer, td 1742 libavcodec/vp8.c src = td->edge_emu_buffer + mx_idx + EDGE_EMU_LINESIZE * my_idx; td 1771 libavcodec/vp8.c void vp8_mc_chroma(VP8Context *s, VP8ThreadData *td, uint8_t *dst1, td 1792 libavcodec/vp8.c s->vdsp.emulated_edge_mc(td->edge_emu_buffer, td 1798 libavcodec/vp8.c src1 = td->edge_emu_buffer + mx_idx + EDGE_EMU_LINESIZE * my_idx; td 1801 libavcodec/vp8.c s->vdsp.emulated_edge_mc(td->edge_emu_buffer, td 1807 libavcodec/vp8.c src2 = td->edge_emu_buffer + mx_idx + EDGE_EMU_LINESIZE * my_idx; td 1821 libavcodec/vp8.c void vp8_mc_part(VP8Context *s, VP8ThreadData *td, uint8_t *dst[3], td 1829 libavcodec/vp8.c vp8_mc_luma(s, td, dst[0] + by_off * s->linesize + bx_off, td 1849 libavcodec/vp8.c vp8_mc_chroma(s, td, dst[1] + by_off * s->uvlinesize + bx_off, td 1882 libavcodec/vp8.c void inter_predict(VP8Context *s, VP8ThreadData *td, uint8_t *dst[3], td 1892 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1902 libavcodec/vp8.c vp8_mc_luma(s, td, dst[0] + 4 * y * s->linesize + x * 4, td 1931 libavcodec/vp8.c vp8_mc_chroma(s, td, dst[1] + 4 * y * s->uvlinesize + x * 4, td 1941 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1943 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1947 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1949 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1953 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1955 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1957 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1959 libavcodec/vp8.c vp8_mc_part(s, td, dst, ref, x_off, y_off, td 1966 libavcodec/vp8.c void idct_mb(VP8Context *s, VP8ThreadData *td, uint8_t *dst[3], VP8Macroblock *mb) td 1973 libavcodec/vp8.c uint32_t nnz4 = AV_RL32(td->non_zero_count_cache[y]); td 1979 libavcodec/vp8.c td->block[y][x], td 1983 libavcodec/vp8.c td->block[y][x], td 1990 libavcodec/vp8.c s->vp8dsp.vp8_idct_dc_add4y(y_dst, td->block[y], s->linesize); td 1998 libavcodec/vp8.c uint32_t nnz4 = AV_RL32(td->non_zero_count_cache[4 + ch]); td 2006 libavcodec/vp8.c td->block[4 + ch][(y << 1) + x], td 2010 libavcodec/vp8.c td->block[4 + ch][(y << 1) + x], td 2019 libavcodec/vp8.c s->vp8dsp.vp8_idct_dc_add4uv(ch_dst, td->block[4 + ch], s->uvlinesize); td 2227 libavcodec/vp8.c #define check_thread_pos(td, otd, mb_x_check, mb_y_check) \ td 2232 libavcodec/vp8.c td->wait_mb_pos = tmp; \ td 2238 libavcodec/vp8.c td->wait_mb_pos = INT_MAX; \ td 2243 libavcodec/vp8.c #define update_pos(td, mb_y, mb_x) \ td 2250 libavcodec/vp8.c : (next_td != td && \ td 2252 libavcodec/vp8.c (prev_td != td && \ td 2254 libavcodec/vp8.c td->thread_mb_pos = pos; \ td 2256 libavcodec/vp8.c pthread_mutex_lock(&td->lock); \ td 2257 libavcodec/vp8.c pthread_cond_broadcast(&td->cond); \ td 2258 libavcodec/vp8.c pthread_mutex_unlock(&td->lock); \ td 2262 libavcodec/vp8.c #define check_thread_pos(td, otd, mb_x_check, mb_y_check) td 2263 libavcodec/vp8.c #define update_pos(td, mb_y, mb_x) td 2270 libavcodec/vp8.c VP8ThreadData *prev_td, *next_td, *td = &s->thread_data[threadnr]; td 2271 libavcodec/vp8.c int mb_y = td->thread_mb_pos >> 16; td 2283 libavcodec/vp8.c prev_td = td; td 2287 libavcodec/vp8.c next_td = td; td 2304 libavcodec/vp8.c memset(td->left_nnz, 0, sizeof(td->left_nnz)); td 2311 libavcodec/vp8.c if (prev_td != td) { td 2313 libavcodec/vp8.c check_thread_pos(td, prev_td, td 2317 libavcodec/vp8.c check_thread_pos(td, prev_td, td 2336 libavcodec/vp8.c decode_mb_coeffs(s, td, c, mb, s->top_nnz[mb_x], td->left_nnz, is_vp7); td 2339 libavcodec/vp8.c intra_predict(s, td, dst, mb, mb_x, mb_y, is_vp7); td 2341 libavcodec/vp8.c inter_predict(s, td, dst, mb, mb_x, mb_y); td 2346 libavcodec/vp8.c idct_mb(s, td, dst, mb); td 2348 libavcodec/vp8.c AV_ZERO64(td->left_nnz); td 2354 libavcodec/vp8.c td->left_nnz[8] = 0; td 2360 libavcodec/vp8.c filter_level_for_mb(s, mb, &td->filter_strength[mb_x], is_vp7); td 2380 libavcodec/vp8.c update_pos(td, mb_y, s->mb_width + 3); td 2382 libavcodec/vp8.c update_pos(td, mb_y, mb_x); td 2403 libavcodec/vp8.c VP8ThreadData *td = &s->thread_data[threadnr]; td 2404 libavcodec/vp8.c int mb_x, mb_y = td->thread_mb_pos >> 16, num_jobs = s->num_jobs; td 2420 libavcodec/vp8.c prev_td = td; td 2424 libavcodec/vp8.c next_td = td; td 2429 libavcodec/vp8.c VP8FilterStrength *f = &td->filter_strength[mb_x]; td 2430 libavcodec/vp8.c if (prev_td != td) td 2431 libavcodec/vp8.c check_thread_pos(td, prev_td, td 2433 libavcodec/vp8.c if (next_td != td) td 2435 libavcodec/vp8.c check_thread_pos(td, next_td, mb_x + 1, mb_y + 1); td 2454 libavcodec/vp8.c update_pos(td, mb_y, (s->mb_width + 3) + mb_x); td 2475 libavcodec/vp8.c VP8ThreadData *td = &s->thread_data[jobnr]; td 2480 libavcodec/vp8.c td->thread_nr = threadnr; td 2484 libavcodec/vp8.c td->thread_mb_pos = mb_y << 16; td 2488 libavcodec/vp8.c update_pos(td, mb_y, INT_MAX & 0xFFFF); td 244 libavfilter/vf_blend.c ThreadData *td = arg; td 245 libavfilter/vf_blend.c int slice_start = (td->h * jobnr ) / nb_jobs; td 246 libavfilter/vf_blend.c int slice_end = (td->h * (jobnr+1)) / nb_jobs; td 247 libavfilter/vf_blend.c const uint8_t *top = td->top->data[td->plane]; td 248 libavfilter/vf_blend.c const uint8_t *bottom = td->bottom->data[td->plane]; td 249 libavfilter/vf_blend.c uint8_t *dst = td->dst->data[td->plane]; td 252 libavfilter/vf_blend.c values[VAR_N] = td->inlink->frame_count; td 253 libavfilter/vf_blend.c values[VAR_T] = td->dst->pts == AV_NOPTS_VALUE ? NAN : td->dst->pts * av_q2d(td->inlink->time_base); td 254 libavfilter/vf_blend.c values[VAR_W] = td->w; td 255 libavfilter/vf_blend.c values[VAR_H] = td->h; td 256 libavfilter/vf_blend.c values[VAR_SW] = td->w / (double)td->dst->width; td 257 libavfilter/vf_blend.c values[VAR_SH] = td->h / (double)td->dst->height; td 259 libavfilter/vf_blend.c td->param->blend(top + slice_start * td->top->linesize[td->plane], td 260 libavfilter/vf_blend.c td->top->linesize[td->plane], td 261 libavfilter/vf_blend.c bottom + slice_start * td->bottom->linesize[td->plane], td 262 libavfilter/vf_blend.c td->bottom->linesize[td->plane], td 263 libavfilter/vf_blend.c dst + slice_start * td->dst->linesize[td->plane], td 264 libavfilter/vf_blend.c td->dst->linesize[td->plane], td 265 libavfilter/vf_blend.c td->w, slice_start, slice_end, td->param, &values[0]); td 289 libavfilter/vf_blend.c ThreadData td = { .top = top_buf, .bottom = bottom_buf, .dst = dst_buf, td 293 libavfilter/vf_blend.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ctx->graph->nb_threads)); td 486 libavfilter/vf_curves.c const ThreadData *td = arg; td 487 libavfilter/vf_curves.c const AVFrame *in = td->in; td 488 libavfilter/vf_curves.c const AVFrame *out = td->out; td 519 libavfilter/vf_curves.c ThreadData td; td 532 libavfilter/vf_curves.c td.in = in; td 533 libavfilter/vf_curves.c td.out = out; td 534 libavfilter/vf_curves.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads)); td 616 libavfilter/vf_dctdnoiz.c const ThreadData *td = arg; td 628 libavfilter/vf_dctdnoiz.c const float *src = td->src + slice_start_ctx * src_linesize; td 647 libavfilter/vf_dctdnoiz.c dst = td->dst + slice_start * dst_linesize; td 684 libavfilter/vf_dctdnoiz.c ThreadData td = { td 688 libavfilter/vf_dctdnoiz.c ctx->internal->execute(ctx, filter_slice, &td, NULL, s->nb_threads); td 85 libavfilter/vf_hflip.c ThreadData *td = arg; td 86 libavfilter/vf_hflip.c AVFrame *in = td->in; td 87 libavfilter/vf_hflip.c AVFrame *out = td->out; td 154 libavfilter/vf_hflip.c ThreadData td; td 168 libavfilter/vf_hflip.c td.in = in, td.out = out; td 169 libavfilter/vf_hflip.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads)); td 381 libavfilter/vf_hqx.c static av_always_inline void hqx_filter(const ThreadData *td, int jobnr, int nb_jobs, int n) td 384 libavfilter/vf_hqx.c AVFrame *in = td->in, *out = td->out; td 385 libavfilter/vf_hqx.c const uint32_t *r2y = td->rgbtoyuv; td 488 libavfilter/vf_hqx.c ThreadData td; td 498 libavfilter/vf_hqx.c td.in = in; td 499 libavfilter/vf_hqx.c td.out = out; td 500 libavfilter/vf_hqx.c td.rgbtoyuv = hqx->rgbtoyuv; td 501 libavfilter/vf_hqx.c ctx->internal->execute(ctx, hqx->func, &td, NULL, FFMIN(inlink->h, ctx->graph->nb_threads)); td 68 libavfilter/vf_lenscorrection.c ThreadData *td = (ThreadData*)arg; td 69 libavfilter/vf_lenscorrection.c AVFrame *in = td->in; td 70 libavfilter/vf_lenscorrection.c AVFrame *out = td->out; td 72 libavfilter/vf_lenscorrection.c const int w = td->w, h = td->h; td 73 libavfilter/vf_lenscorrection.c const int xcenter = td->xcenter; td 74 libavfilter/vf_lenscorrection.c const int ycenter = td->ycenter; td 77 libavfilter/vf_lenscorrection.c const int plane = td->plane; td 89 libavfilter/vf_lenscorrection.c const int64_t radius_mult = td->correction[j + i*w]; td 165 libavfilter/vf_lenscorrection.c ThreadData td = { td 194 libavfilter/vf_lenscorrection.c td.correction = rect->correction[plane]; td 195 libavfilter/vf_lenscorrection.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ctx->graph->nb_threads)); td 206 libavfilter/vf_lut3d.c const ThreadData *td = arg; \ td 207 libavfilter/vf_lut3d.c const AVFrame *in = td->in; \ td 208 libavfilter/vf_lut3d.c const AVFrame *out = td->out; \ td 517 libavfilter/vf_lut3d.c ThreadData td; td 530 libavfilter/vf_lut3d.c td.in = in; td 531 libavfilter/vf_lut3d.c td.out = out; td 532 libavfilter/vf_lut3d.c ctx->internal->execute(ctx, lut3d->interp, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads)); td 227 libavfilter/vf_noise.c ThreadData *td = arg; td 234 libavfilter/vf_noise.c noise(td->out->data[plane] + start * td->out->linesize[plane], td 235 libavfilter/vf_noise.c td->in->data[plane] + start * td->in->linesize[plane], td 236 libavfilter/vf_noise.c td->out->linesize[plane], td->in->linesize[plane], td 247 libavfilter/vf_noise.c ThreadData td; td 274 libavfilter/vf_noise.c td.in = inpicref; td.out = out; td 275 libavfilter/vf_noise.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(n->height[0], ctx->graph->nb_threads)); td 255 libavfilter/vf_perspective.c ThreadData *td = arg; td 256 libavfilter/vf_perspective.c uint8_t *dst = td->dst; td 257 libavfilter/vf_perspective.c int dst_linesize = td->dst_linesize; td 258 libavfilter/vf_perspective.c uint8_t *src = td->src; td 259 libavfilter/vf_perspective.c int src_linesize = td->src_linesize; td 260 libavfilter/vf_perspective.c int w = td->w; td 261 libavfilter/vf_perspective.c int h = td->h; td 262 libavfilter/vf_perspective.c int hsub = td->hsub; td 263 libavfilter/vf_perspective.c int vsub = td->vsub; td 334 libavfilter/vf_perspective.c ThreadData *td = arg; td 335 libavfilter/vf_perspective.c uint8_t *dst = td->dst; td 336 libavfilter/vf_perspective.c int dst_linesize = td->dst_linesize; td 337 libavfilter/vf_perspective.c uint8_t *src = td->src; td 338 libavfilter/vf_perspective.c int src_linesize = td->src_linesize; td 339 libavfilter/vf_perspective.c int w = td->w; td 340 libavfilter/vf_perspective.c int h = td->h; td 341 libavfilter/vf_perspective.c int hsub = td->hsub; td 342 libavfilter/vf_perspective.c int vsub = td->vsub; td 435 libavfilter/vf_perspective.c ThreadData td = {.dst = out->data[plane], td 443 libavfilter/vf_perspective.c ctx->internal->execute(ctx, s->perspective, &td, NULL, FFMIN(td.h, ctx->graph->nb_threads)); td 373 libavfilter/vf_rotate.c ThreadData *td = arg; td 374 libavfilter/vf_rotate.c AVFrame *in = td->in; td 375 libavfilter/vf_rotate.c AVFrame *out = td->out; td 377 libavfilter/vf_rotate.c const int outw = td->outw, outh = td->outh; td 378 libavfilter/vf_rotate.c const int inw = td->inw, inh = td->inh; td 379 libavfilter/vf_rotate.c const int plane = td->plane; td 380 libavfilter/vf_rotate.c const int xi = td->xi, yi = td->yi; td 381 libavfilter/vf_rotate.c const int c = td->c, s = td->s; td 384 libavfilter/vf_rotate.c int xprime = td->xprime + start * s; td 385 libavfilter/vf_rotate.c int yprime = td->yprime + start * c; td 497 libavfilter/vf_rotate.c ThreadData td = { .in = in, .out = out, td 507 libavfilter/vf_rotate.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outh, ctx->graph->nb_threads)); td 185 libavfilter/vf_signalstats.c ThreadData *td = arg; td 187 libavfilter/vf_signalstats.c const AVFrame *in = td->in; td 188 libavfilter/vf_signalstats.c AVFrame *out = td->out; td 224 libavfilter/vf_signalstats.c ThreadData *td = arg; td 226 libavfilter/vf_signalstats.c const AVFrame *in = td->in; td 227 libavfilter/vf_signalstats.c AVFrame *out = td->out; td 274 libavfilter/vf_signalstats.c ThreadData *td = arg; td 276 libavfilter/vf_signalstats.c const AVFrame *in = td->in; td 277 libavfilter/vf_signalstats.c AVFrame *out = td->out; td 321 libavfilter/vf_signalstats.c ThreadDataHueSatMetrics *td = arg; td 323 libavfilter/vf_signalstats.c const AVFrame *src = td->src; td 324 libavfilter/vf_signalstats.c AVFrame *dst_sat = td->dst_sat; td 325 libavfilter/vf_signalstats.c AVFrame *dst_hue = td->dst_hue; td 445 libavfilter/vf_signalstats.c ThreadData td = { td 451 libavfilter/vf_signalstats.c &td, s->jobs_rets, s->nb_jobs); td 146 libavfilter/vf_transpose.c ThreadData *td = arg; td 147 libavfilter/vf_transpose.c AVFrame *out = td->out; td 148 libavfilter/vf_transpose.c AVFrame *in = td->in; td 232 libavfilter/vf_transpose.c ThreadData td; td 252 libavfilter/vf_transpose.c td.in = in, td.out = out; td 253 libavfilter/vf_transpose.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads)); td 36 libavfilter/vf_vidstabtransform.c VSTransformData td; td 120 libavfilter/vf_vidstabtransform.c vsTransformDataCleanup(&tc->td); td 148 libavfilter/vf_vidstabtransform.c VSTransformData *td = &(tc->td); td 185 libavfilter/vf_vidstabtransform.c if (vsTransformDataInit(td, &tc->conf, &fi_src, &fi_dest) != VS_OK) { td 190 libavfilter/vf_vidstabtransform.c vsTransformGetConfig(&tc->conf, td); td 218 libavfilter/vf_vidstabtransform.c if (vsLocalmotions2Transforms(td, &mlms, &tc->trans) != VS_OK) { td 223 libavfilter/vf_vidstabtransform.c if (!vsReadOldTransforms(td, f, &tc->trans)) { /* read input file */ td 231 libavfilter/vf_vidstabtransform.c if (vsPreprocessTransforms(td, &tc->trans) != VS_OK) { td 245 libavfilter/vf_vidstabtransform.c VSTransformData* td = &(tc->td); td 265 libavfilter/vf_vidstabtransform.c for (plane = 0; plane < vsTransformGetSrcFrameInfo(td)->planes; plane++) { td 270 libavfilter/vf_vidstabtransform.c vsTransformPrepare(td, &inframe, &inframe); td 273 libavfilter/vf_vidstabtransform.c for (plane = 0; plane < vsTransformGetDestFrameInfo(td)->planes; plane++) { td 277 libavfilter/vf_vidstabtransform.c vsTransformPrepare(td, &inframe, &outframe); td 280 libavfilter/vf_vidstabtransform.c vsDoTransform(td, vsGetNextTransform(td, &tc->trans)); td 282 libavfilter/vf_vidstabtransform.c vsTransformFinish(td); td 210 libavfilter/vf_xbr.c static av_always_inline void xbr_filter(const ThreadData *td, int jobnr, int nb_jobs, int n) td 213 libavfilter/vf_xbr.c const AVFrame *input = td->in; td 214 libavfilter/vf_xbr.c AVFrame *output = td->out; td 215 libavfilter/vf_xbr.c const uint32_t *r2y = td->rgbtoyuv; td 354 libavfilter/vf_xbr.c ThreadData td; td 364 libavfilter/vf_xbr.c td.in = in; td 365 libavfilter/vf_xbr.c td.out = out; td 366 libavfilter/vf_xbr.c td.rgbtoyuv = xbr->rgbtoyuv; td 367 libavfilter/vf_xbr.c ctx->internal->execute(ctx, xbr->func, &td, NULL, FFMIN(inlink->h, ctx->graph->nb_threads)); td 187 libavfilter/vf_yadif.c ThreadData *td = arg; td 188 libavfilter/vf_yadif.c int refs = s->cur->linesize[td->plane]; td 189 libavfilter/vf_yadif.c int df = (s->csp->comp[td->plane].depth_minus1 + 8) / 8; td 191 libavfilter/vf_yadif.c int slice_start = (td->h * jobnr ) / nb_jobs; td 192 libavfilter/vf_yadif.c int slice_end = (td->h * (jobnr+1)) / nb_jobs; td 199 libavfilter/vf_yadif.c if ((y ^ td->parity) & 1) { td 200 libavfilter/vf_yadif.c uint8_t *prev = &s->prev->data[td->plane][y * refs]; td 201 libavfilter/vf_yadif.c uint8_t *cur = &s->cur ->data[td->plane][y * refs]; td 202 libavfilter/vf_yadif.c uint8_t *next = &s->next->data[td->plane][y * refs]; td 203 libavfilter/vf_yadif.c uint8_t *dst = &td->frame->data[td->plane][y * td->frame->linesize[td->plane]]; td 204 libavfilter/vf_yadif.c int mode = y == 1 || y + 2 == td->h ? 2 : s->mode; td 206 libavfilter/vf_yadif.c next + pix_3, td->w - (3 + MAX_ALIGN/df-1), td 207 libavfilter/vf_yadif.c y + 1 < td->h ? refs : -refs, td 209 libavfilter/vf_yadif.c td->parity ^ td->tff, mode); td 210 libavfilter/vf_yadif.c s->filter_edges(dst, prev, cur, next, td->w, td 211 libavfilter/vf_yadif.c y + 1 < td->h ? refs : -refs, td 213 libavfilter/vf_yadif.c td->parity ^ td->tff, mode); td 215 libavfilter/vf_yadif.c memcpy(&td->frame->data[td->plane][y * td->frame->linesize[td->plane]], td 216 libavfilter/vf_yadif.c &s->cur->data[td->plane][y * refs], td->w * df); td 226 libavfilter/vf_yadif.c ThreadData td = { .frame = dstpic, .parity = parity, .tff = tff }; td 239 libavfilter/vf_yadif.c td.w = w; td 240 libavfilter/vf_yadif.c td.h = h; td 241 libavfilter/vf_yadif.c td.plane = i; td 243 libavfilter/vf_yadif.c ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ctx->graph->nb_threads));