thread_data 156 libavcodec/exr.c EXRThreadData *thread_data; thread_data 992 libavcodec/exr.c EXRThreadData *td = &s->thread_data[threadnr]; thread_data 1805 libavcodec/exr.c avctx->execute2(avctx, decode_block, s->thread_data, NULL, nb_blocks); thread_data 1865 libavcodec/exr.c s->thread_data = av_mallocz_array(avctx->thread_count, sizeof(EXRThreadData)); thread_data 1866 libavcodec/exr.c if (!s->thread_data) thread_data 1877 libavcodec/exr.c EXRThreadData *td = &s->thread_data[i]; thread_data 1884 libavcodec/exr.c av_freep(&s->thread_data); thread_data 53 libavcodec/vp8.c if (s->thread_data) thread_data 56 libavcodec/vp8.c pthread_cond_destroy(&s->thread_data[i].cond); thread_data 57 libavcodec/vp8.c pthread_mutex_destroy(&s->thread_data[i].lock); thread_data 59 libavcodec/vp8.c av_freep(&s->thread_data[i].filter_strength); thread_data 61 libavcodec/vp8.c av_freep(&s->thread_data); thread_data 222 libavcodec/vp8.c s->thread_data = av_mallocz(MAX_THREADS * sizeof(VP8ThreadData)); thread_data 225 libavcodec/vp8.c !s->thread_data || (!s->intra4x4_pred_mode_top && !s->mb_layout)) { thread_data 231 libavcodec/vp8.c s->thread_data[i].filter_strength = thread_data 232 libavcodec/vp8.c av_mallocz(s->mb_width * sizeof(*s->thread_data[0].filter_strength)); thread_data 233 libavcodec/vp8.c if (!s->thread_data[i].filter_strength) { thread_data 238 libavcodec/vp8.c pthread_mutex_init(&s->thread_data[i].lock, NULL); thread_data 239 libavcodec/vp8.c pthread_cond_init(&s->thread_data[i].cond, NULL); thread_data 2365 libavcodec/vp8.c VP8ThreadData *prev_td, *next_td, *td = &s->thread_data[threadnr]; thread_data 2384 libavcodec/vp8.c prev_td = &s->thread_data[(jobnr + num_jobs - 1) % num_jobs]; thread_data 2388 libavcodec/vp8.c next_td = &s->thread_data[(jobnr + 1) % num_jobs]; thread_data 2505 libavcodec/vp8.c VP8ThreadData *td = &s->thread_data[threadnr]; thread_data 2524 libavcodec/vp8.c prev_td = &s->thread_data[(jobnr + num_jobs - 1) % num_jobs]; thread_data 2528 libavcodec/vp8.c next_td = &s->thread_data[(jobnr + 1) % num_jobs]; thread_data 2536 libavcodec/vp8.c if (next_td != &s->thread_data[0]) thread_data 2577 libavcodec/vp8.c VP8ThreadData *td = &s->thread_data[jobnr]; thread_data 2773 libavcodec/vp8.c VP8ThreadData *td = &s->thread_data[i]; thread_data 2778 libavcodec/vp8.c avctx->execute2(avctx, vp7_decode_mb_row_sliced, s->thread_data, NULL, thread_data 2781 libavcodec/vp8.c avctx->execute2(avctx, vp8_decode_mb_row_sliced, s->thread_data, NULL, thread_data 148 libavcodec/vp8.h VP8ThreadData *thread_data; thread_data 125 libavfilter/vf_colorlevels.c const struct thread_data *td = arg;\ thread_data 202 libavfilter/vf_colorlevels.c struct thread_data td; thread_data 254 libavfilter/vf_colorlevels.c struct thread_data td; thread_data 293 libavfilter/vf_lensfun.c const VignettingThreadData *thread_data = arg; thread_data 294 libavfilter/vf_lensfun.c const int slice_start = thread_data->height * jobnr / nb_jobs; thread_data 295 libavfilter/vf_lensfun.c const int slice_end = thread_data->height * (jobnr + 1) / nb_jobs; thread_data 297 libavfilter/vf_lensfun.c lf_modifier_apply_color_modification(thread_data->modifier, thread_data 298 libavfilter/vf_lensfun.c thread_data->data_in + slice_start * thread_data->linesize_in, thread_data 301 libavfilter/vf_lensfun.c thread_data->width, thread_data 303 libavfilter/vf_lensfun.c thread_data->pixel_composition, thread_data 304 libavfilter/vf_lensfun.c thread_data->linesize_in); thread_data 316 libavfilter/vf_lensfun.c const DistortionCorrectionThreadData *thread_data = arg; thread_data 317 libavfilter/vf_lensfun.c const int slice_start = thread_data->height * jobnr / nb_jobs; thread_data 318 libavfilter/vf_lensfun.c const int slice_end = thread_data->height * (jobnr + 1) / nb_jobs; thread_data 324 libavfilter/vf_lensfun.c for (x = 0; x < thread_data->width; ++x) thread_data 326 libavfilter/vf_lensfun.c if (thread_data->mode & SUBPIXEL_DISTORTION) { thread_data 328 libavfilter/vf_lensfun.c switch(thread_data->interpolation_type) { thread_data 330 libavfilter/vf_lensfun.c new_x_int = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2] + 0.5f; thread_data 331 libavfilter/vf_lensfun.c new_y_int = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2 + 1] + 0.5f; thread_data 332 libavfilter/vf_lensfun.c if (new_x_int < 0 || new_x_int >= thread_data->width || new_y_int < 0 || new_y_int >= thread_data->height) { thread_data 333 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 335 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in]; thread_data 340 libavfilter/vf_lensfun.c new_x = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2]; thread_data 342 libavfilter/vf_lensfun.c new_y = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2 + 1]; thread_data 344 libavfilter/vf_lensfun.c if (new_x_int < 0 || new_x_int + 1 >= thread_data->width || new_y_int < 0 || new_y_int + 1 >= thread_data->height) { thread_data 345 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 347 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data 348 libavfilter/vf_lensfun.c thread_data->data_in[ new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y_int + 1 - new_y) thread_data 349 libavfilter/vf_lensfun.c + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x - new_x_int) * (new_y_int + 1 - new_y) thread_data 350 libavfilter/vf_lensfun.c + thread_data->data_in[ new_x_int * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y - new_y_int) thread_data 351 libavfilter/vf_lensfun.c + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x - new_x_int) * (new_y - new_y_int); thread_data 357 libavfilter/vf_lensfun.c new_x = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2]; thread_data 359 libavfilter/vf_lensfun.c new_y = thread_data->distortion_coords[x * 2 * 3 + y * thread_data->width * 2 * 3 + rgb_index * 2 + 1]; thread_data 363 libavfilter/vf_lensfun.c if (new_x_int + i - 2 < 0 || new_x_int + i - 2 >= thread_data->width || new_y_int + j - 2 < 0 || new_y_int + j - 2 >= thread_data->height) thread_data 368 libavfilter/vf_lensfun.c d = thread_data->interpolation[(int)(d * LANCZOS_RESOLUTION)]; thread_data 370 libavfilter/vf_lensfun.c interpolated += thread_data->data_in[(new_x_int + i - 2) * 3 + rgb_index + (new_y_int + j - 2) * thread_data->linesize_in] * d; thread_data 373 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 376 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = interpolated < 0.0f ? 0.0f : interpolated > 255.0f ? 255.0f : interpolated; thread_data 380 libavfilter/vf_lensfun.c } else if (thread_data->mode & GEOMETRY_DISTORTION) { thread_data 382 libavfilter/vf_lensfun.c switch(thread_data->interpolation_type) { thread_data 384 libavfilter/vf_lensfun.c new_x_int = thread_data->distortion_coords[x * 2 + y * thread_data->width * 2] + 0.5f; thread_data 385 libavfilter/vf_lensfun.c new_y_int = thread_data->distortion_coords[x * 2 + y * thread_data->width * 2 + 1] + 0.5f; thread_data 386 libavfilter/vf_lensfun.c if (new_x_int < 0 || new_x_int >= thread_data->width || new_y_int < 0 || new_y_int >= thread_data->height) { thread_data 387 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 389 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in]; thread_data 394 libavfilter/vf_lensfun.c new_x = thread_data->distortion_coords[x * 2 + y * thread_data->width * 2]; thread_data 396 libavfilter/vf_lensfun.c new_y = thread_data->distortion_coords[x * 2 + y * thread_data->width * 2 + 1]; thread_data 398 libavfilter/vf_lensfun.c if (new_x_int < 0 || new_x_int + 1 >= thread_data->width || new_y_int < 0 || new_y_int + 1 >= thread_data->height) { thread_data 399 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 401 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data 402 libavfilter/vf_lensfun.c thread_data->data_in[ new_x_int * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y_int + 1 - new_y) thread_data 403 libavfilter/vf_lensfun.c + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + new_y_int * thread_data->linesize_in] * (new_x - new_x_int) * (new_y_int + 1 - new_y) thread_data 404 libavfilter/vf_lensfun.c + thread_data->data_in[ new_x_int * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x_int + 1 - new_x) * (new_y - new_y_int) thread_data 405 libavfilter/vf_lensfun.c + thread_data->data_in[(new_x_int + 1) * 3 + rgb_index + (new_y_int + 1) * thread_data->linesize_in] * (new_x - new_x_int) * (new_y - new_y_int); thread_data 411 libavfilter/vf_lensfun.c new_x = thread_data->distortion_coords[x * 2 + y * thread_data->width * 2]; thread_data 413 libavfilter/vf_lensfun.c new_y = thread_data->distortion_coords[x * 2 + 1 + y * thread_data->width * 2]; thread_data 417 libavfilter/vf_lensfun.c if (new_x_int + i - 2 < 0 || new_x_int + i - 2 >= thread_data->width || new_y_int + j - 2 < 0 || new_y_int + j - 2 >= thread_data->height) thread_data 422 libavfilter/vf_lensfun.c d = thread_data->interpolation[(int)(d * LANCZOS_RESOLUTION)]; thread_data 424 libavfilter/vf_lensfun.c interpolated += thread_data->data_in[(new_x_int + i - 2) * 3 + rgb_index + (new_y_int + j - 2) * thread_data->linesize_in] * d; thread_data 427 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = 0; thread_data 430 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = interpolated < 0.0f ? 0.0f : interpolated > 255.0f ? 255.0f : interpolated; thread_data 436 libavfilter/vf_lensfun.c thread_data->data_out[x * 3 + rgb_index + y * thread_data->linesize_out] = thread_data->data_in[x * 3 + rgb_index + y * thread_data->linesize_in]; thread_data 350 libavfilter/vf_lut.c const struct thread_data *td = arg;\ thread_data 431 libavfilter/vf_lut.c const struct thread_data *td = arg;\ thread_data 506 libavfilter/vf_lut.c struct thread_data td = {\ thread_data 514 libavfilter/vf_lut.c struct thread_data td = {\ thread_data 347 libavfilter/vf_nlmeans.c const struct thread_data *td = arg; thread_data 447 libavfilter/vf_nlmeans.c struct thread_data td = {