/third_party/ffmpeg/libavcodec/ |
H A D | ffv1.c | 72 p->state = av_malloc_array(p->context_count, CONTEXT_SIZE * in ff_ffv1_init_slice_state() 78 p->vlc_state = av_calloc(p->context_count, sizeof(*p->vlc_state)); in ff_ffv1_init_slice_state() 81 for (i = 0; i < p->context_count; i++) { in ff_ffv1_init_slice_state() 158 f->initial_states[i] = av_malloc_array(f->context_count[i], in ff_ffv1_allocate_initial_states() 163 f->context_count[i] * sizeof(*f->initial_states[i])); in ff_ffv1_allocate_initial_states() 181 CONTEXT_SIZE * p->context_count); in ff_ffv1_clear_slice_state() 183 memset(p->state, 128, CONTEXT_SIZE * p->context_count); in ff_ffv1_clear_slice_state() 185 for (j = 0; j < p->context_count; j++) { in ff_ffv1_clear_slice_state()
|
H A D | ffv1dec.c | 170 unsigned ps, i, context_count; in decode_slice_header() local 209 context_count = f->context_count[idx]; in decode_slice_header() 211 if (p->context_count < context_count) { in decode_slice_header() 215 p->context_count = context_count; in decode_slice_header() 290 pdst->state = av_malloc_array(CONTEXT_SIZE, psrc->context_count); in decode_slice() 291 memcpy(pdst->state, psrc->state, CONTEXT_SIZE * psrc->context_count); in decode_slice() 293 pdst->vlc_state = av_malloc_array(sizeof(*pdst->vlc_state), psrc->context_count); in decode_slice() 411 int context_count = 1; read_quant_tables() local 550 int i, j, context_count = -1; //-1 to avoid warning read_header() local [all...] |
H A D | ffv1.h | 65 int context_count; member 100 int context_count[MAX_QUANT_TABLES]; member
|
H A D | ffv1enc.c | 440 if (contains_non_128(f->initial_states[i], f->context_count[i])) { in write_extradata() 442 for (j = 0; j < f->context_count[i]; j++) in write_extradata() 732 s->context_count[0] = (11 * 11 * 11 + 1) / 2; in encode_init() 733 s->context_count[1] = (11 * 11 * 5 * 5 * 5 + 1) / 2; in encode_init() 742 p->context_count = s->context_count[p->quant_table_index]; in encode_init() 761 s->rc_stat2[i] = av_mallocz(s->context_count[i] * in encode_init() 790 for (j = 0; j < s->context_count[i]; j++) { in encode_init() 825 for (j = 0; j < s->context_count[i]; j++) { in encode_init() 894 sf->rc_stat2[i] = av_mallocz(s->context_count[ in encode_init() [all...] |
H A D | h264_slice.c | 2898 int context_count = h->nb_slice_ctx_queued; in ff_h264_execute_decode_slices() local 2904 if (h->avctx->hwaccel || context_count < 1) in ff_h264_execute_decode_slices() 2907 av_assert0(context_count && h->slice_ctx[context_count - 1].mb_y < h->mb_height); in ff_h264_execute_decode_slices() 2909 if (context_count == 1) { in ff_h264_execute_decode_slices() 2919 av_assert0(context_count > 0); in ff_h264_execute_decode_slices() 2920 for (i = 0; i < context_count; i++) { in ff_h264_execute_decode_slices() 2928 for (j = 0; j < context_count; j++) { in ff_h264_execute_decode_slices() 2940 NULL, context_count, sizeof(h->slice_ctx[0])); in ff_h264_execute_decode_slices() 2943 sl = &h->slice_ctx[context_count in ff_h264_execute_decode_slices() [all...] |
H A D | ffv1dec_template.c | 65 av_assert2(context < p->context_count); in decode_line()
|
H A D | mpegvideo_enc.c | 1669 int context_count = s->slice_context_count; in ff_mpv_encode_picture() local 1684 int growing_buffer = context_count == 1 && !s->data_partitioning; in ff_mpv_encode_picture() 1702 for (i = 0; i < context_count; i++) { in ff_mpv_encode_picture() 1762 for (i = 0; i < context_count; i++) { in ff_mpv_encode_picture() 3485 int context_count = s->slice_context_count; in encode_picture() local 3532 for(i=1; i<context_count; i++){ in encode_picture() 3548 s->avctx->execute(s->avctx, pre_estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); in encode_picture() 3552 s->avctx->execute(s->avctx, estimate_motion_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); in encode_picture() 3560 s->avctx->execute(s->avctx, mb_var_thread, &s->thread_context[0], NULL, context_count, sizeof(void*)); in encode_picture() 3563 for(i=1; i<context_count; in encode_picture() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | linkage.cc | 328 const size_t context_count = 1; in GetCEntryStubCallDescriptor() local 331 num_args_count + context_count; in GetCEntryStubCallDescriptor() 385 const size_t context_count = 1; in GetJSCallDescriptor() local 389 js_parameter_count + new_target_count + num_args_count + context_count; in GetJSCallDescriptor() 447 const int context_count = descriptor.HasContextParameter() ? 1 : 0; in GetStubCallDescriptor() local 449 static_cast<size_t>(js_parameter_count + context_count); in GetStubCallDescriptor() 498 if (context_count) { in GetStubCallDescriptor()
|
H A D | verifier.cc | 141 int context_count = OperatorProperties::GetContextInputCount(node->op()); in Check() local 148 int input_count = value_count + context_count + frame_state_count; in Check() 190 for (int i = 0; i < context_count; ++i) { in Check()
|
/third_party/node/deps/v8/src/web-snapshot/ |
H A D | web-snapshot.h | 136 uint32_t context_count() const { in context_count() function in v8::WebSnapshotSerializer 287 uint32_t context_count() const { return context_count_; } in context_count() function in v8::WebSnapshotDeserializer
|
H A D | web-snapshot.cc | 395 WriteObjects(total_serializer, context_count(), context_serializer_, in WriteSnapshot()
|