/third_party/ffmpeg/libavcodec/ |
H A D | vp9_mc_template.c | 30 static void FN(inter_pred)(VP9TileData *td) in inter_pred() argument 36 VP9Context *s = td->s; in inter_pred() 37 VP9Block *b = td->b; in inter_pred() 38 int row = td->row, col = td->col; in inter_pred() 42 ptrdiff_t ls_y = td->y_stride, ls_uv = td->uv_stride; in inter_pred() 58 mc_luma_dir(td, mc[3][b->filter][0], td->dst[0], ls_y, in inter_pred() 61 mc_luma_dir(td, m in inter_pred() [all...] |
H A D | vp9block.c | 78 static void decode_mode(VP9TileData *td) in decode_mode() argument 90 VP9Context *s = td->s; in decode_mode() 91 VP9Block *b = td->b; in decode_mode() 92 int row = td->row, col = td->col, row7 = td->row7; in decode_mode() 96 int have_a = row > 0, have_l = col > td->tile_col_start; in decode_mode() 103 vp8_rac_get_tree(td->c, ff_vp9_segmentation_tree, s->s.h.segmentation.prob); in decode_mode() 106 vp56_rac_get_prob_branchy(td->c, in decode_mode() 108 td in decode_mode() 922 decode_coeffs_b_8bpp(VP9TileData *td, int16_t *coef, int n_coeffs, unsigned (*cnt)[6][3], unsigned (*eob)[6][2], uint8_t (*p)[6][11], int nnz, const int16_t *scan, const int16_t (*nb)[2], const int16_t *band_counts, int16_t *qmul) decode_coeffs_b_8bpp() argument 932 decode_coeffs_b32_8bpp(VP9TileData *td, int16_t *coef, int n_coeffs, unsigned (*cnt)[6][3], unsigned (*eob)[6][2], uint8_t (*p)[6][11], int nnz, const int16_t *scan, const int16_t (*nb)[2], const int16_t *band_counts, int16_t *qmul) decode_coeffs_b32_8bpp() argument 942 decode_coeffs_b_16bpp(VP9TileData *td, int16_t *coef, int n_coeffs, unsigned (*cnt)[6][3], unsigned (*eob)[6][2], uint8_t (*p)[6][11], int nnz, const int16_t *scan, const int16_t (*nb)[2], const int16_t *band_counts, int16_t *qmul) decode_coeffs_b_16bpp() argument 952 decode_coeffs_b32_16bpp(VP9TileData *td, int16_t *coef, int n_coeffs, unsigned (*cnt)[6][3], unsigned (*eob)[6][2], uint8_t (*p)[6][11], int nnz, const int16_t *scan, const int16_t (*nb)[2], const int16_t *band_counts, int16_t *qmul) decode_coeffs_b32_16bpp() argument 962 decode_coeffs(VP9TileData *td, int is8bitsperpixel) decode_coeffs() argument 1129 decode_coeffs_8bpp(VP9TileData *td) decode_coeffs_8bpp() argument 1134 decode_coeffs_16bpp(VP9TileData *td) decode_coeffs_16bpp() argument 1261 ff_vp9_decode_block(VP9TileData *td, int row, int col, VP9Filter *lflvl, ptrdiff_t yoff, ptrdiff_t uvoff, enum BlockLevel bl, enum BlockPartition bp) ff_vp9_decode_block() argument [all...] |
H A D | exr.c | 200 int uncompressed_size, EXRThreadData *td) in zip_uncompress() 204 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK || in zip_uncompress() 210 s->dsp.predictor(td->tmp, uncompressed_size); in zip_uncompress() 211 s->dsp.reorder_pixels(td->uncompressed_data, td->tmp, uncompressed_size); in zip_uncompress() 259 int uncompressed_size, EXRThreadData *td) in rle_uncompress() 261 rle(td->tmp, src, compressed_size, uncompressed_size); in rle_uncompress() 265 ctx->dsp.predictor(td->tmp, uncompressed_size); in rle_uncompress() 266 ctx->dsp.reorder_pixels(td->uncompressed_data, td in rle_uncompress() 199 zip_uncompress(EXRContext *s, const uint8_t *src, int compressed_size, int uncompressed_size, EXRThreadData *td) zip_uncompress() argument 258 rle_uncompress(EXRContext *ctx, const uint8_t *src, int compressed_size, int uncompressed_size, EXRThreadData *td) rle_uncompress() argument 368 huf_build_dec_table(EXRContext *s, EXRThreadData *td, int im, int iM) huf_build_dec_table() argument 443 huf_uncompress(EXRContext *s, EXRThreadData *td, GetByteContext *gb, uint16_t *dst, int dst_size) huf_uncompress() argument 591 piz_uncompress(EXRContext *s, const uint8_t *src, int ssize, int dsize, EXRThreadData *td) piz_uncompress() argument 677 pxr24_uncompress(EXRContext *s, const uint8_t *src, int compressed_size, int uncompressed_size, EXRThreadData *td) pxr24_uncompress() argument 812 b44_uncompress(EXRContext *s, const uint8_t *src, int compressed_size, int uncompressed_size, EXRThreadData *td) b44_uncompress() argument 989 dwa_uncompress(EXRContext *s, const uint8_t *src, int compressed_size, int uncompressed_size, EXRThreadData *td) dwa_uncompress() argument 1186 EXRThreadData *td = &s->thread_data[threadnr]; decode_block() local 2278 EXRThreadData *td = &s->thread_data[i]; decode_end() local [all...] |
H A D | vp9mvs.c | 31 VP9TileData *td) in clamp_mv() 33 dst->x = av_clip(src->x, td->min_mv.x, td->max_mv.x); in clamp_mv() 34 dst->y = av_clip(src->y, td->min_mv.y, td->max_mv.y); in clamp_mv() 37 static void find_ref_mvs(VP9TileData *td, in find_ref_mvs() argument 68 VP9Context *s = td->s; in find_ref_mvs() 69 VP9Block *b = td->b; in find_ref_mvs() 70 int row = td->row, col = td in find_ref_mvs() 30 clamp_mv(VP56mv *dst, const VP56mv *src, VP9TileData *td) clamp_mv() argument 236 read_mv_component(VP9TileData *td, int idx, int hp) read_mv_component() argument 291 ff_vp9_fill_mv(VP9TileData *td, VP56mv *mv, int mode, int sb) ff_vp9_fill_mv() argument [all...] |
H A D | vp9recon.c | 32 static av_always_inline int check_intra_mode(VP9TileData *td, int mode, uint8_t **a, in check_intra_mode() argument 39 VP9Context *s = td->s; in check_intra_mode() 41 int have_left = col > td->tile_col_start || x > 0; in check_intra_mode() 218 static av_always_inline void intra_recon(VP9TileData *td, ptrdiff_t y_off, in intra_recon() argument 221 VP9Context *s = td->s; in intra_recon() 222 VP9Block *b = td->b; in intra_recon() 223 int row = td->row, col = td->col; in intra_recon() 230 uint8_t *dst = td->dst[0], *dst_r = s->s.frames[CUR_FRAME].tf.f->data[0] + y_off; in intra_recon() 242 int eob = b->skip ? 0 : b->tx > TX_8X8 ? AV_RN16A(&td in intra_recon() 288 ff_vp9_intra_recon_8bpp(VP9TileData *td, ptrdiff_t y_off, ptrdiff_t uv_off) ff_vp9_intra_recon_8bpp() argument 293 ff_vp9_intra_recon_16bpp(VP9TileData *td, ptrdiff_t y_off, ptrdiff_t uv_off) ff_vp9_intra_recon_16bpp() argument 298 mc_luma_unscaled(VP9TileData *td, vp9_mc_func (*mc)[2], uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *ref, ptrdiff_t ref_stride, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *mv, int bw, int bh, int w, int h, int bytesperpixel) mc_luma_unscaled() argument 334 mc_chroma_unscaled(VP9TileData *td, vp9_mc_func (*mc)[2], uint8_t *dst_u, uint8_t *dst_v, ptrdiff_t dst_stride, const uint8_t *ref_u, ptrdiff_t src_stride_u, const uint8_t *ref_v, ptrdiff_t src_stride_v, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *mv, int bw, int bh, int w, int h, int bytesperpixel) mc_chroma_unscaled() argument 406 mc_luma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *ref, ptrdiff_t ref_stride, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_luma_scaled() argument 464 mc_chroma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst_u, uint8_t *dst_v, ptrdiff_t dst_stride, const uint8_t *ref_u, ptrdiff_t src_stride_u, const uint8_t *ref_v, ptrdiff_t src_stride_v, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_chroma_scaled() argument 569 inter_recon(VP9TileData *td, int bytesperpixel) inter_recon() argument 646 ff_vp9_inter_recon_8bpp(VP9TileData *td) ff_vp9_inter_recon_8bpp() argument 651 ff_vp9_inter_recon_16bpp(VP9TileData *td) ff_vp9_inter_recon_16bpp() argument [all...] |
/third_party/curl/lib/ |
H A D | asyn-thread.c | 178 struct thread_data *td; /* for thread-self cleanup */ member 224 int init_thread_sync_data(struct thread_data *td, in init_thread_sync_data() argument 229 struct thread_sync_data *tsd = &td->tsd; in init_thread_sync_data() 233 tsd->td = td; in init_thread_sync_data() 314 struct thread_data *td = tsd->td; in query_complete() local 420 free(td); in query_complete() 436 if(td->complete_ev) in query_complete() 437 SetEvent(td in query_complete() 453 struct thread_data *td = tsd->td; getaddrinfo_thread() local 506 struct thread_data *td = tsd->td; gethostbyname_thread() local 539 struct thread_data *td = async->tdata; destroy_async_data() local 603 struct thread_data *td = calloc(1, sizeof(struct thread_data)); init_resolve_thread() local 699 struct thread_data *td; thread_wait_resolv() local 752 struct thread_data *td = data->state.async.tdata; Curl_resolver_kill() local 791 struct thread_data *td = data->state.async.tdata; Curl_resolver_is_resolved() local 849 struct thread_data *td = data->state.async.tdata; Curl_resolver_getsock() local [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-4.c | 156 testdata_t *td = (testdata_t *) arg; in tf() local 159 ret = pthread_mutex_lock(&(td->mtx)); in tf() 161 td->status = ret; in tf() 166 td->ctrl = 1; in tf() 169 ret = clock_gettime(td->cid, &ts); in tf() 171 td->status = ret; in tf() 182 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts); in tf() 183 td->ctrl = 2; in tf() 184 } while ((ret == 0) && (td in tf() 245 testdata_t *td; main() local [all...] |
H A D | 2-7.c | 157 testdata_t *td = (testdata_t *) arg; in tf() local 160 ret = pthread_mutex_lock(&(td->mtx)); in tf() 162 td->status = ret; in tf() 167 td->ctrl = 1; in tf() 170 ret = clock_gettime(td->cid, &ts); in tf() 172 td->status = ret; in tf() 188 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts); in tf() 189 td->ctrl = 2; in tf() 190 } while ((ret == 0) && (td in tf() 252 testdata_t *td; main() local [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | 2-1.c | 70 if (td->fork) \ 79 if (td->fork) \ 208 static testdata_t *td; variable 218 ret = pthread_mutex_lock(&td->mtx1); in child() 224 td->count1++; in child() 226 timed = td->count1 & 1; in child() 230 ret = clock_gettime(td->cid, &ts); in child() 240 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); in child() 242 ret = pthread_cond_wait(&td in child() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
H A D | 2-2.c | 185 testdata_t *td = (testdata_t *) arg; in tf() local 188 ret = pthread_mutex_lock(&(td->mtx)); in tf() 190 td->status = ret; in tf() 195 td->ctrl = 1; in tf() 199 ret = pthread_cond_wait(&(td->cnd), &(td->mtx)); in tf() 200 td->ctrl = 2; in tf() 201 } while ((ret == 0) && (td->bool == 0)); in tf() 203 td->ctrl = 3; in tf() 206 td in tf() 261 testdata_t *td; main() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
H A D | OtTableTagger.java | 59 private final TaggedData td; field in OtTableTagger 63 this.td = tdata; in OtTableTagger() 97 td.pushRange(table.getClass().getSimpleName(), data); in tagTable() 99 td.pushRange(tm.tableLabel(table), data); in tagTable() 102 td.popRange(); in tagTable() 142 int scriptCount = td.tagRangeField(FieldType.SHORT, "script count"); in registerTagMethods() 144 td.tagRangeField(FieldType.TAG, null); in registerTagMethods() 145 td.tagRangeField(FieldType.OFFSET, null); in registerTagMethods() 158 td.tagRangeField(FieldType.OFFSET_NONZERO, "default lang sys"); in registerTagMethods() 159 int langCount = td in registerTagMethods() [all...] |
/third_party/skia/infra/bots/task_drivers/run_wasm_gm_tests/ |
H A D | run_wasm_gm_tests.go | 22 "go.skia.org/infra/task_driver/go/td" 56 ctx := td.StartRun(projectID, taskID, taskName, outputSteps, local) 57 defer td.EndRun(ctx) 59 builtAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *builtPath, "built_path") 60 goldctlAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *goldCtlPath, "gold_ctl_path") 61 nodeBinAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *nodeBinPath, "node_bin_path") 62 resourceAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *resourcePath, "resource_path") 63 testHarnessAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *testHarnessPath, "test_harness_path") 64 workAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *workPath, "work_path") 68 td [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | 1-2.c | 69 if (td->fork) \ 78 if (td->fork) \ 205 static testdata_t *td; variable 215 ret = pthread_mutex_lock(&td->mtx); in child() 221 td->count++; in child() 223 timed = td->count & 1; in child() 227 ret = clock_gettime(td->cid, &ts); in child() 237 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child() 239 ret = pthread_cond_wait(&td in child() [all...] |
/third_party/skia/infra/bots/task_drivers/canary/ |
H A D | canary.go | 22 "go.skia.org/infra/task_driver/go/td" 49 ctx := td.StartRun(projectId, taskId, taskName, output, local) 50 defer td.EndRun(ctx) 52 td.Fatalf(ctx, "--roller_name must be specified") 57 td.Fatal(ctx, skerr.Wrap(err)) 60 td.Fatalf(ctx, "This task driver should be run only as a try bot") 66 td.Fatal(ctx, skerr.Wrap(err)) 70 td.StepText(ctx, "Canary roll doc", "https://goto.google.com/autoroller-canary-bots") 75 td.Fatal(ctx, skerr.Wrap(err)) 99 if err := td [all...] |
/third_party/skia/infra/bots/task_drivers/compile_wasm_gm_tests/ |
H A D | compile_wasm_gm_tests.go | 20 "go.skia.org/infra/task_driver/go/td" 42 ctx := td.StartRun(projectID, taskID, taskName, outputSteps, local) 43 defer td.EndRun(ctx) 45 outAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *outPath, "out_path") 46 skiaAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *skiaPath, "skia_path") 47 workAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *workPath, "work_path") 50 td.Fatal(ctx, err) 53 td.Fatal(ctx, err) 58 td.Fatal(ctx, err) 66 td [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 2-3.c | 46 if (td->fork) { \ 54 if (td->fork) { \ 150 } *td; variable 167 ret = pthread_mutex_lock(&td->mtx); in child() 172 td->count++; in child() 173 timed = td->count & 1; in child() 176 ret = clock_gettime(td->cid, &ts); in child() 185 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child() 187 ret = pthread_cond_wait(&td in child() [all...] |
/third_party/openssl/test/ |
H A D | asn1_time_test.c | 115 struct testdata *td = &tbl[idx]; in test_table() local 118 atime.data = (unsigned char*)td->data; in test_table() 120 atime.type = td->type; in test_table() 123 if (!TEST_int_eq(ASN1_TIME_check(&atime), td->check_result)) { in test_table() 127 if (td->check_result == 0) in test_table() 130 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, td->t), 0)) { in test_table() 131 TEST_info("ASN1_TIME_cmp_time_t(%s vs %ld) compare failed", atime.data, (long)td->t); in test_table() 147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table() 148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table() 149 (td in test_table() 318 struct compare_testdata *td = &tbl_compare_testdata[idx]; test_table_compare() local [all...] |
/third_party/skia/infra/bots/task_drivers/g3_canary/ |
H A D | g3_canary.go | 27 "go.skia.org/infra/task_driver/go/td" 69 ctx := td.StartRun(projectId, taskId, taskName, output, local) 70 defer td.EndRun(ctx) 74 td.Fatal(ctx, skerr.Wrap(err)) 77 td.Fatalf(ctx, "This task driver should be run only as a try bot") 83 td.Fatal(ctx, skerr.Wrap(err)) 88 td.Fatalf(ctx, "Failed to create storage service client: %s", err) 95 err = td.Do(ctx, td.Props("Trigger new task if not already running"), func(ctx context.Context) error { 100 td [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_colorlevels.c | 105 const ThreadData *td = arg; \ 108 const int process_h = td->h; \ 111 const int src_linesize = td->src_linesize / sizeof(type); \ 112 const int dst_linesize = td->dst_linesize / sizeof(type); \ 113 const type *src_r = (const type *)(td->srcrow[R]) + src_linesize * slice_start; \ 114 const type *src_g = (const type *)(td->srcrow[G]) + src_linesize * slice_start; \ 115 const type *src_b = (const type *)(td->srcrow[B]) + src_linesize * slice_start; \ 116 const type *src_a = (const type *)(td->srcrow[A]) + src_linesize * slice_start; \ 117 type *dst_r = (type *)(td->dstrow[R]) + src_linesize * slice_start; \ 118 type *dst_g = (type *)(td 364 ThreadData td; filter_frame() local [all...] |
H A D | vf_colormatrix.c | 207 const ThreadData *td = arg; in process_slice_uyvy422() local 208 const AVFrame *src = td->src; in process_slice_uyvy422() 209 AVFrame *dst = td->dst; in process_slice_uyvy422() 218 const int c2 = td->c2; in process_slice_uyvy422() 219 const int c3 = td->c3; in process_slice_uyvy422() 220 const int c4 = td->c4; in process_slice_uyvy422() 221 const int c5 = td->c5; in process_slice_uyvy422() 222 const int c6 = td->c6; in process_slice_uyvy422() 223 const int c7 = td->c7; in process_slice_uyvy422() 245 const ThreadData *td in process_slice_yuv444p() local 292 const ThreadData *td = arg; process_slice_yuv422p() local 340 const ThreadData *td = arg; process_slice_yuv420p() local 413 ThreadData td = {0}; filter_frame() local [all...] |
H A D | vf_bwdif.c | 219 ThreadData *td = arg; in filter_slice() local 220 int linesize = yadif->cur->linesize[td->plane]; in filter_slice() 221 int clip_max = (1 << (yadif->csp->comp[td->plane].depth)) - 1; in filter_slice() 222 int df = (yadif->csp->comp[td->plane].depth + 7) / 8; in filter_slice() 224 int slice_start = (td->h * jobnr ) / nb_jobs; in filter_slice() 225 int slice_end = (td->h * (jobnr+1)) / nb_jobs; in filter_slice() 229 if ((y ^ td->parity) & 1) { in filter_slice() 230 uint8_t *prev = &yadif->prev->data[td->plane][y * linesize]; in filter_slice() 231 uint8_t *cur = &yadif->cur ->data[td->plane][y * linesize]; in filter_slice() 232 uint8_t *next = &yadif->next->data[td in filter_slice() 266 ThreadData td = { .frame = dstpic, .parity = parity, .tff = tff }; filter() local [all...] |
H A D | vf_vif.c | 211 ThreadData *td = arg; in vif_filter1d() local 212 const float *filter = td->filter; in vif_filter1d() 213 const float *src = td->src; in vif_filter1d() 214 float *dst = td->dst; in vif_filter1d() 215 int w = td->w; in vif_filter1d() 216 int h = td->h; in vif_filter1d() 217 int src_stride = td->src_stride; in vif_filter1d() 218 int dst_stride = td->dst_stride; in vif_filter1d() 219 int filt_w = td->filter_width; in vif_filter1d() 220 float *temp = td in vif_filter1d() 293 ThreadData td; compute_vif2() local [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
H A D | stress.c | 97 static testdata_t td[4]; variable 110 ret = pthread_getschedparam(td[i].thread, &pol, &sp); in threaded() 116 if (pol != td[i].policy) { in threaded() 120 if (sp.sched_priority != td[i].prio) { in threaded() 192 td[0].policy = td[1].policy = SCHED_FIFO; in main() 194 td[2].policy = td[3].policy = SCHED_RR; in main() 196 td[0].prio = sched_get_priority_min(SCHED_FIFO); in main() 198 if (td[ in main() [all...] |
/third_party/icu/icu4c/source/test/perf/collationperf/ |
H A D | CollPerf.pl | 189 <td>strcoll</td> 190 <td>nanosecs</td> 191 <td>Timing for string collation, an incremental compare of strings.</td> 194 <td>keygen</td> 195 <td>nanosecs</td> [all...] |
/third_party/musl/src/env/ |
H A D | __init_tls.c | 36 pthread_t td = p; in __init_tp() local 37 td->self = td; in __init_tp() 41 td->detach_state = DT_JOINABLE; in __init_tp() 42 td->tid = td->pid = __syscall(SYS_set_tid_address, &__thread_list_lock); in __init_tp() 43 td->proc_tid = -1; in __init_tp() 44 td->locale = &libc.global_locale; in __init_tp() 45 td->robust_list.head = &td in __init_tp() 76 pthread_t td; __copy_tls() local [all...] |