Searched refs:thread_context (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dmpegvideo.c1347 s->thread_context[0] = s;
1352 s->thread_context[i] = av_malloc(sizeof(MpegEncContext));
1353 memcpy(s->thread_context[i], s, sizeof(MpegEncContext));
1357 if (init_duplicate_context(s->thread_context[i]) < 0)
1359 s->thread_context[i]->start_mb_y =
1361 s->thread_context[i]->end_mb_y =
1444 free_duplicate_context(s->thread_context[i]);
1447 av_freep(&s->thread_context[i]);
1477 s->thread_context[0] = s;
1483 s->thread_context[
[all...]
H A Dmpeg12dec.c2374 &s2->thread_context[0], NULL,
2377 s2->er.error_count += s2->thread_context[i]->er.error_count;
2446 s2->thread_context, NULL,
2449 s2->er.error_count += s2->thread_context[i]->er.error_count;
2644 MpegEncContext *thread_context = s2->thread_context[s->slice_count]; local
2646 thread_context->start_mb_y = mb_y;
2647 thread_context->end_mb_y = s2->mb_height;
2649 s2->thread_context[s->slice_count - 1]->end_mb_y = mb_y;
2650 ret = ff_update_duplicate_context(thread_context, s
[all...]
H A Dmpegvideo_enc.c1705 int start_y = s->thread_context[i]->start_mb_y;
1706 int end_y = s->thread_context[i]-> end_mb_y;
1711 init_put_bits(&s->thread_context[i]->pb, start, end - start);
1767 PutBitContext *pb = &s->thread_context[i]->pb;
3475 ret = ff_update_duplicate_context(s->thread_context[i], s);
3489 s->avctx->execute(s->avctx, pre_estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3493 s->avctx->execute(s->avctx, estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3501 s->avctx->execute(s->avctx, mb_var_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3505 merge_context_after_me(s, s->thread_context[i]);
3677 update_duplicate_context_after_me(s->thread_context[
[all...]
H A Dmjpegenc_common.c277 s->thread_context[i]->esc_pos = 0;
H A Dh264_slice.c616 h->thread_context[0] = h;
1198 c = h->thread_context[i] = av_mallocz(sizeof(H264Context));
1237 if ((ret = ff_h264_context_init(h->thread_context[i])) < 0) {
1700 if (h->thread_context[i]) {
1701 ret = alloc_scratch_buffers(h->thread_context[i], h->linesize);
2553 hx = h->thread_context[i];
2560 avctx->execute(avctx, decode_slice, h->thread_context,
2564 hx = h->thread_context[context_count - 1];
2571 h->er.error_count += h->thread_context[i]->er.error_count;
H A Dh264.c404 hx = h->thread_context[i];
425 av_freep(&h->thread_context[i]);
678 h->thread_context[0] = h;
1513 hx = h->thread_context[context_count];
H A Dh264.h627 struct H264Context *thread_context[H264_MAX_THREADS]; member in struct:H264Context
H A Dh264_parser.c554 h->thread_context[0] = h;
H A Dmpegvideo.h294 struct MpegEncContext *thread_context[MAX_THREADS]; member in struct:MpegEncContext
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264_parser.c339 h->thread_context[0] = h;
H A Dmpeg12.c2256 avctx->execute(avctx, slice_decode_thread, &s2->thread_context[0], NULL, s->slice_count, sizeof(void*));
2258 s2->error_count += s2->thread_context[i]->error_count;
2297 s2->thread_context, NULL,
2300 s2->error_count += s2->thread_context[i]->error_count;
2436 MpegEncContext *thread_context = s2->thread_context[s->slice_count]; local
2438 thread_context->start_mb_y = mb_y;
2439 thread_context->end_mb_y = s2->mb_height;
2441 s2->thread_context[s->slice_count-1]->end_mb_y = mb_y;
2442 ff_update_duplicate_context(thread_context, s
[all...]
H A Dmpegvideo_enc.c1443 int start_y = s->thread_context[i]->start_mb_y;
1444 int end_y = s->thread_context[i]-> end_mb_y;
1449 init_put_bits(&s->thread_context[i]->pb, start, end - start);
1517 PutBitContext *pb = &s->thread_context[i]->pb;
3112 ff_update_duplicate_context(s->thread_context[i], s);
3124 s->avctx->execute(s->avctx, pre_estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3128 s->avctx->execute(s->avctx, estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3136 s->avctx->execute(s->avctx, mb_var_thread, &s->thread_context[0], NULL, context_count, sizeof(void*));
3140 merge_context_after_me(s, s->thread_context[i]);
3276 update_duplicate_context_after_me(s->thread_context[
[all...]
H A Dh264.c861 hx = h->thread_context[i];
872 if (i) av_freep(&h->thread_context[i]);
1124 h->thread_context[0] = h;
1220 h->thread_context[0] = h;
1312 if(h->thread_context[i] && !h->thread_context[i]->s.obmc_scratchpad)
1313 h->thread_context[i]->s.obmc_scratchpad = av_malloc(16*6*s->linesize);
2840 c = h->thread_context[i] = av_malloc(sizeof(H264Context));
2841 memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext));
2852 if (context_init(h->thread_context[
[all...]
H A Dmpegvideo.c890 s->thread_context[0] = s;
895 s->thread_context[i] = av_malloc(sizeof(MpegEncContext));
896 memcpy(s->thread_context[i], s, sizeof(MpegEncContext));
900 if (init_duplicate_context(s->thread_context[i], s) < 0)
902 s->thread_context[i]->start_mb_y =
904 s->thread_context[i]->end_mb_y =
929 free_duplicate_context(s->thread_context[i]);
932 av_freep(&s->thread_context[i]);
H A Dh264.h512 struct H264Context *thread_context[MAX_THREADS]; member in struct:H264Context
H A Dmpegvideo.h270 struct MpegEncContext *thread_context[MAX_THREADS]; member in struct:MpegEncContext

Completed in 310 milliseconds