Searched refs:context_count (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dffv1.c78 p->state = av_malloc_array(p->context_count, CONTEXT_SIZE *
84 p->vlc_state = av_malloc_array(p->context_count, sizeof(VlcState));
153 f->initial_states[i] = av_malloc_array(f->context_count[i],
158 f->context_count[i] * sizeof(*f->initial_states[i]));
176 CONTEXT_SIZE * p->context_count);
178 memset(p->state, 128, CONTEXT_SIZE * p->context_count);
180 for (j = 0; j < p->context_count; j++) {
H A Dffv1dec.c131 av_assert2(context < p->context_count);
283 unsigned ps, i, context_count; local
312 context_count = f->context_count[idx];
314 if (p->context_count < context_count) {
318 p->context_count = context_count;
393 pdst->state = av_malloc_array(CONTEXT_SIZE, psrc->context_count);
394 memcpy(pdst->state, psrc->state, CONTEXT_SIZE * psrc->context_count);
500 int context_count = 1; local
616 int i, j, context_count = -1; //-1 to avoid warning local
[all...]
H A Dffv1.h66 int context_count; member in struct:PlaneContext
100 int context_count[MAX_QUANT_TABLES]; member in struct:FFV1Context
H A Dffv1enc.c586 for (j = 0; j < f->context_count[i] * CONTEXT_SIZE; j++)
589 if (j < f->context_count[i] * CONTEXT_SIZE) {
591 for (j = 0; j < f->context_count[i]; j++)
825 s->context_count[0] = (11 * 11 * 11 + 1) / 2;
826 s->context_count[1] = (11 * 11 * 5 * 5 * 5 + 1) / 2;
835 p->context_count = s->context_count[p->quant_table_index];
857 s->rc_stat2[i] = av_mallocz(s->context_count[i] *
883 for (j = 0; j < s->context_count[i]; j++) {
915 for (j = 0; j < s->context_count[
[all...]
H A Dh264.c1458 unsigned context_count; local
1489 context_count = 0;
1513 hx = h->thread_context[context_count];
1651 context_count++;
1697 context_count++;
1740 if (context_count == h->max_contexts) {
1741 ret = ff_h264_execute_decode_slices(h, context_count);
1744 context_count = 0;
1763 if (context_count) {
1764 ret = ff_h264_execute_decode_slices(h, context_count);
[all...]
H A Dmpegvideo_enc.c1682 int context_count = s->slice_context_count; local
1704 for (i = 0; i < context_count; i++) {
1766 for (i = 0; i < context_count; i++) {
3427 int context_count = s->slice_context_count; local
3474 for(i=1; i<context_count; i++){
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*));
3504 for(i=1; i<context_count; i++){
3676 for(i=1; i<context_count;
[all...]
H A Dh264_slice.c2535 * @param context_count number of contexts to execute
2537 int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count) argument
2548 if (context_count == 1) {
2551 av_assert0(context_count > 0);
2552 for (i = 1; i < context_count; i++) {
2561 NULL, context_count, sizeof(void *));
2564 hx = h->thread_context[context_count - 1];
2570 for (i = 1; i < context_count; i++)
H A Dh264.h1112 int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dffv1.c150 int context_count; member in struct:PlaneContext
176 int context_count[MAX_QUANT_TABLES]; member in struct:FFV1Context
685 if(!p-> state) p-> state= av_malloc(CONTEXT_SIZE*p->context_count*sizeof(uint8_t));
689 if(!p->vlc_state) p->vlc_state= av_malloc(p->context_count*sizeof(VlcState));
740 f->initial_states[i]= av_malloc(f->context_count[i]*sizeof(*f->initial_states[i]));
743 memset(f->initial_states[i], 128, f->context_count[i]*sizeof(*f->initial_states[i]));
783 for(j=0; j<f->context_count[i]*CONTEXT_SIZE; j++)
786 if(j<f->context_count[i]*CONTEXT_SIZE){
788 for(j=0; j<f->context_count[i]; j++){
884 s->context_count[
1438 int context_count=1; local
1511 int i, j, context_count; local
[all...]
H A Dmpegvideo_enc.c1440 int context_count = s->slice_context_count; local
1442 for (i = 0; i < context_count; i++) {
1516 for (i = 0; i < context_count; i++) {
3071 int context_count = s->slice_context_count; local
3111 for(i=1; i<context_count; i++){
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*));
3139 for(i=1; i<context_count; i++){
3275 for(i=1; i<context_count;
[all...]
H A Dh264.c3803 * @param context_count number of contexts to execute
3805 static int execute_decode_slices(H264Context *h, int context_count){ argument
3813 if(context_count == 1) {
3816 for(i = 1; i < context_count; i++) {
3823 h->thread_context, NULL, context_count, sizeof(void*));
3826 hx = h->thread_context[context_count - 1];
3831 for(i = 1; i < context_count; i++)
3844 int context_count; local
3860 context_count = 0;
3899 hx = h->thread_context[context_count];
[all...]

Completed in 109 milliseconds