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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dh264.h473 struct H264Context *thread_context[MAX_THREADS]; member in struct:H264Context
H A Dmpegvideo_enc.c1191 int start_y= s->thread_context[i]->start_mb_y;
1192 int end_y= s->thread_context[i]-> end_mb_y;
1197 init_put_bits(&s->thread_context[i]->pb, start, end - start);
1254 PutBitContext *pb= &s->thread_context[i]->pb;
2748 ff_update_duplicate_context(s->thread_context[i], s);
2760 s->avctx->execute(s->avctx, pre_estimate_motion_thread, (void**)&(s->thread_context[0]), NULL, s->avctx->thread_count, sizeof(void*));
2764 s->avctx->execute(s->avctx, estimate_motion_thread, (void**)&(s->thread_context[0]), NULL, s->avctx->thread_count, sizeof(void*));
2772 s->avctx->execute(s->avctx, mb_var_thread, (void**)&(s->thread_context[0]), NULL, s->avctx->thread_count, sizeof(void*));
2776 merge_context_after_me(s, s->thread_context[i]);
2910 update_duplicate_context_after_me(s->thread_context[
[all...]
H A Dmpeg12.c2327 avctx->execute(avctx, slice_decode_thread, (void**)&(s2->thread_context[0]), NULL, s->slice_count, sizeof(void*));
2329 s2->error_count += s2->thread_context[i]->error_count;
2428 MpegEncContext *thread_context= s2->thread_context[s->slice_count]; local
2430 thread_context->start_mb_y= mb_y;
2431 thread_context->end_mb_y = s2->mb_height;
2433 s2->thread_context[s->slice_count-1]->end_mb_y= mb_y;
2434 ff_update_duplicate_context(thread_context, s2);
2436 init_get_bits(&thread_context->gb, buf_ptr, input_size*8);
H A Dmpegvideo.c583 s->thread_context[0]= s;
587 s->thread_context[i]= av_malloc(sizeof(MpegEncContext));
588 memcpy(s->thread_context[i], s, sizeof(MpegEncContext));
592 if(init_duplicate_context(s->thread_context[i], s) < 0)
594 s->thread_context[i]->start_mb_y= (s->mb_height*(i ) + s->avctx->thread_count/2) / s->avctx->thread_count;
595 s->thread_context[i]->end_mb_y = (s->mb_height*(i+1) + s->avctx->thread_count/2) / s->avctx->thread_count;
610 free_duplicate_context(s->thread_context[i]);
613 av_freep(&s->thread_context[i]);
H A Dh264.c1993 hx = h->thread_context[i];
2210 h->thread_context[0] = h;
2254 if(!h->thread_context[i]->s.obmc_scratchpad)
2255 h->thread_context[i]->s.obmc_scratchpad = av_malloc(16*2*s->linesize + 8*2*s->uvlinesize);
3759 c = h->thread_context[i] = av_malloc(sizeof(H264Context));
3760 memcpy(c, h->s.thread_context[i], sizeof(MpegEncContext));
3769 if(context_init(h->thread_context[i]) < 0)
7384 hx = h->thread_context[i];
7390 (void **)h->thread_context, NULL, context_count, sizeof(void*));
7393 hx = h->thread_context[context_coun
[all...]
H A Dmpegvideo.h250 struct MpegEncContext *thread_context[MAX_THREADS]; member in struct:MpegEncContext

Completed in 193 milliseconds