cat 1550 libavcodec/h264_cabac.c int cat, int idx, int max_coeff, cat 1558 libavcodec/h264_cabac.c if( cat == 3 ) { cat 1578 libavcodec/h264_cabac.c return base_ctx[cat] + ctx; cat 1584 libavcodec/h264_cabac.c int cat, int n, const uint8_t *scantable, cat 1653 libavcodec/h264_cabac.c + significant_coeff_flag_offset[MB_FIELD(sl)][cat]; cat 1655 libavcodec/h264_cabac.c + last_coeff_flag_offset[MB_FIELD(sl)][cat]; cat 1657 libavcodec/h264_cabac.c + coeff_abs_level_m1_offset[cat]; cat 1699 libavcodec/h264_cabac.c if( cat == 3 ) cat 1708 libavcodec/h264_cabac.c av_assert2( cat == 1 || cat == 2 || cat == 4 || cat == 7 || cat == 8 || cat == 11 || cat == 12 ); cat 1772 libavcodec/h264_cabac.c int cat, int n, cat 1776 libavcodec/h264_cabac.c decode_cabac_residual_internal(h, sl, block, cat, n, scantable, NULL, max_coeff, 1, 0); cat 1782 libavcodec/h264_cabac.c int cat, int n, cat 1786 libavcodec/h264_cabac.c decode_cabac_residual_internal(h, sl, block, cat, n, scantable, NULL, max_coeff, 1, 1); cat 1792 libavcodec/h264_cabac.c int cat, int n, cat 1797 libavcodec/h264_cabac.c decode_cabac_residual_internal(h, sl, block, cat, n, scantable, qmul, max_coeff, 0, 0); cat 1815 libavcodec/h264_cabac.c int cat, int n, cat 1820 libavcodec/h264_cabac.c if( get_cabac( &sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, cat, n, max_coeff, 1)]) == 0 ) { cat 1824 libavcodec/h264_cabac.c decode_cabac_residual_dc_internal(h, sl, block, cat, n, scantable, max_coeff); cat 1830 libavcodec/h264_cabac.c int cat, int n, const uint8_t *scantable, cat 1834 libavcodec/h264_cabac.c if (get_cabac(&sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, cat, n, max_coeff, 1)]) == 0) { cat 1838 libavcodec/h264_cabac.c decode_cabac_residual_dc_internal_422(h, sl, block, cat, n, scantable, max_coeff); cat 1844 libavcodec/h264_cabac.c int cat, int n, cat 1850 libavcodec/h264_cabac.c if( (cat != 5 || CHROMA444(h)) && get_cabac( &sl->cabac, &sl->cabac_state[get_cabac_cbf_ctx(sl, cat, n, max_coeff, 0)]) == 0) { cat 1858 libavcodec/h264_cabac.c decode_cabac_residual_nondc_internal(h, sl, block, cat, n, scantable, qmul, max_coeff); cat 1377 libavcodec/vp8.c int cat = (a << 1) + b; cat 1378 libavcodec/vp8.c coeff = 3 + (8 << cat); cat 1379 libavcodec/vp8.c coeff += vp8_rac_get_coeff(&c, ff_vp8_dct_cat_prob[cat]); cat 60 libavcodec/x86/vp9dsp_init.h void cat(ff_vp9_##typea##_##typeb##_##size##x##size##_add_, bpp, _##opt)(uint8_t *dst, \ cat 174 libavcodec/x86/vp9dsp_init.h cat(ff_vp9_ipred_##type##_##sz##x##sz##_, bpp, _##opt) cat 174 libavcodec/x86/vp9dsp_init_16bpp_template.c cat(ff_vp9_##typea##_##typeb##_##size##x##size##_add_, bpp, _##opt); cat 77 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 84 libavfilter/avf_concat.c nb_str = cat->nb_streams[type]; cat 103 libavfilter/avf_concat.c for (seg = 0; seg < cat->nb_segments; seg++) { cat 123 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 136 libavfilter/avf_concat.c for (seg = 1; seg < cat->nb_segments; seg++) { cat 147 libavfilter/avf_concat.c for (seg = 1; seg < cat->nb_segments; seg++) { cat 166 libavfilter/avf_concat.c if (!cat->unsafe) cat 176 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 180 libavfilter/avf_concat.c struct concat_in *in = &cat->in[in_no]; cat 195 libavfilter/avf_concat.c buf->pts += cat->delta_ts; cat 219 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 221 libavfilter/avf_concat.c cat->in[in_no].eof = 1; cat 222 libavfilter/avf_concat.c cat->nb_in_active--; cat 224 libavfilter/avf_concat.c ctx->input_pads[in_no].name, cat->nb_in_active); cat 229 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 230 libavfilter/avf_concat.c unsigned i = cat->cur_idx; cat 234 libavfilter/avf_concat.c pts = cat->in[i++].pts; cat 236 libavfilter/avf_concat.c pts = FFMAX(pts, cat->in[i].pts); cat 237 libavfilter/avf_concat.c cat->delta_ts += pts; cat 244 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 246 libavfilter/avf_concat.c int64_t base_pts = cat->in[in_no].pts + cat->delta_ts - seg_delta; cat 254 libavfilter/avf_concat.c nb_samples = av_rescale_q(seg_delta - cat->in[in_no].pts, cat 277 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 282 libavfilter/avf_concat.c cat->cur_idx += ctx->nb_outputs; cat 283 libavfilter/avf_concat.c cat->nb_in_active = ctx->nb_outputs; cat 285 libavfilter/avf_concat.c cat->delta_ts); cat 287 libavfilter/avf_concat.c if (cat->cur_idx < ctx->nb_inputs) { cat 289 libavfilter/avf_concat.c str = cat->nb_streams[AVMEDIA_TYPE_VIDEO]; cat 290 libavfilter/avf_concat.c str_max = str + cat->nb_streams[AVMEDIA_TYPE_AUDIO]; cat 292 libavfilter/avf_concat.c ret = send_silence(ctx, cat->cur_idx - ctx->nb_outputs + str, str, cat 303 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 308 libavfilter/avf_concat.c for (seg = 0; seg < cat->nb_segments; seg++) { cat 310 libavfilter/avf_concat.c for (str = 0; str < cat->nb_streams[type]; str++) { cat 326 libavfilter/avf_concat.c for (str = 0; str < cat->nb_streams[type]; str++) { cat 339 libavfilter/avf_concat.c cat->in = av_calloc(ctx->nb_inputs, sizeof(*cat->in)); cat 340 libavfilter/avf_concat.c if (!cat->in) cat 342 libavfilter/avf_concat.c cat->nb_in_active = ctx->nb_outputs; cat 348 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 355 libavfilter/avf_concat.c av_freep(&cat->in); cat 360 libavfilter/avf_concat.c ConcatContext *cat = ctx->priv; cat 372 libavfilter/avf_concat.c if (!cat->in[j].eof) { cat 373 libavfilter/avf_concat.c cat->in[j].eof = 1; cat 382 libavfilter/avf_concat.c if (cat->cur_idx < ctx->nb_inputs) { cat 384 libavfilter/avf_concat.c ret = ff_inlink_consume_frame(ctx->inputs[cat->cur_idx + i], &frame); cat 389 libavfilter/avf_concat.c return push_frame(ctx, cat->cur_idx + i, frame); cat 395 libavfilter/avf_concat.c if (cat->cur_idx < ctx->nb_inputs) { cat 397 libavfilter/avf_concat.c ret = ff_inlink_acknowledge_status(ctx->inputs[cat->cur_idx + i], &status, &pts); cat 400 libavfilter/avf_concat.c close_input(ctx, cat->cur_idx + i); cat 401 libavfilter/avf_concat.c if (cat->cur_idx + ctx->nb_outputs >= ctx->nb_inputs) { cat 404 libavfilter/avf_concat.c if (!cat->nb_in_active) { cat 418 libavfilter/avf_concat.c if (cat->in[cat->cur_idx + i].eof) { cat 420 libavfilter/avf_concat.c if (!cat->in[cat->cur_idx + j].eof) cat 421 libavfilter/avf_concat.c ff_inlink_request_frame(ctx->inputs[cat->cur_idx + j]); cat 424 libavfilter/avf_concat.c ff_inlink_request_frame(ctx->inputs[cat->cur_idx + i]); cat 112 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 119 libavformat/concatdec.c if (cat->safe > 0 && !safe_filename(filename)) { cat 138 libavformat/concatdec.c if (cat->nb_files >= *nb_files_alloc) { cat 141 libavformat/concatdec.c if (n <= cat->nb_files || n > SIZE_MAX / sizeof(*cat->files) || cat 142 libavformat/concatdec.c !(new_files = av_realloc(cat->files, n * sizeof(*cat->files)))) cat 144 libavformat/concatdec.c cat->files = new_files; cat 148 libavformat/concatdec.c file = &cat->files[cat->nb_files++]; cat 196 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 197 libavformat/concatdec.c AVStream *st = cat->avf->streams[idx]; cat 198 libavformat/concatdec.c ConcatStream *cs = &cat->cur_file->streams[idx]; cat 203 libavformat/concatdec.c if (cat->auto_convert && st->codecpar->codec_id == AV_CODEC_ID_H264) { cat 208 libavformat/concatdec.c av_log(cat->avf, AV_LOG_INFO, cat 238 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 242 libavformat/concatdec.c for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { cat 249 libavformat/concatdec.c if ((ret = copy_stream_props(st, cat->avf->streams[i])) < 0) cat 251 libavformat/concatdec.c cat->cur_file->streams[i].out_stream_index = i; cat 258 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 262 libavformat/concatdec.c for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { cat 263 libavformat/concatdec.c st = cat->avf->streams[i]; cat 271 libavformat/concatdec.c cat->cur_file->streams[i].out_stream_index = j; cat 280 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 284 libavformat/concatdec.c if (cat->cur_file->nb_streams >= cat->avf->nb_streams) cat 286 libavformat/concatdec.c map = av_realloc(cat->cur_file->streams, cat 287 libavformat/concatdec.c cat->avf->nb_streams * sizeof(*map)); cat 290 libavformat/concatdec.c cat->cur_file->streams = map; cat 291 libavformat/concatdec.c memset(map + cat->cur_file->nb_streams, 0, cat 292 libavformat/concatdec.c (cat->avf->nb_streams - cat->cur_file->nb_streams) * sizeof(*map)); cat 294 libavformat/concatdec.c for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { cat 299 libavformat/concatdec.c switch (cat->stream_match_mode) { cat 311 libavformat/concatdec.c cat->cur_file->nb_streams = cat->avf->nb_streams; cat 330 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 331 libavformat/concatdec.c ConcatFile *file = &cat->files[fileno]; cat 334 libavformat/concatdec.c if (cat->avf) cat 335 libavformat/concatdec.c avformat_close_input(&cat->avf); cat 337 libavformat/concatdec.c cat->avf = avformat_alloc_context(); cat 338 libavformat/concatdec.c if (!cat->avf) cat 341 libavformat/concatdec.c cat->avf->flags |= avf->flags & ~AVFMT_FLAG_CUSTOM_IO; cat 342 libavformat/concatdec.c cat->avf->interrupt_callback = avf->interrupt_callback; cat 344 libavformat/concatdec.c if ((ret = ff_copy_whiteblacklists(cat->avf, avf)) < 0) cat 347 libavformat/concatdec.c if ((ret = avformat_open_input(&cat->avf, file->url, NULL, NULL)) < 0 || cat 348 libavformat/concatdec.c (ret = avformat_find_stream_info(cat->avf, NULL)) < 0) { cat 350 libavformat/concatdec.c avformat_close_input(&cat->avf); cat 353 libavformat/concatdec.c cat->cur_file = file; cat 355 libavformat/concatdec.c cat->files[fileno - 1].start_time + cat 356 libavformat/concatdec.c cat->files[fileno - 1].duration; cat 357 libavformat/concatdec.c file->file_start_time = (cat->avf->start_time == AV_NOPTS_VALUE) ? 0 : cat->avf->start_time; cat 359 libavformat/concatdec.c file->duration = get_best_effort_duration(file, cat->avf); cat 361 libavformat/concatdec.c if (cat->segment_time_metadata) { cat 370 libavformat/concatdec.c if ((ret = avformat_seek_file(cat->avf, -1, INT64_MIN, file->inpoint, file->inpoint, 0)) < 0) cat 378 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 381 libavformat/concatdec.c for (i = 0; i < cat->nb_files; i++) { cat 382 libavformat/concatdec.c av_freep(&cat->files[i].url); cat 383 libavformat/concatdec.c for (j = 0; j < cat->files[i].nb_streams; j++) { cat 384 libavformat/concatdec.c if (cat->files[i].streams[j].bsf) cat 385 libavformat/concatdec.c av_bsf_free(&cat->files[i].streams[j].bsf); cat 387 libavformat/concatdec.c av_freep(&cat->files[i].streams); cat 388 libavformat/concatdec.c av_dict_free(&cat->files[i].metadata); cat 390 libavformat/concatdec.c if (cat->avf) cat 391 libavformat/concatdec.c avformat_close_input(&cat->avf); cat 392 libavformat/concatdec.c av_freep(&cat->files); cat 398 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 478 libavformat/concatdec.c if (cat->safe < 0) cat 479 libavformat/concatdec.c cat->safe = 1; cat 488 libavformat/concatdec.c if (!cat->nb_files) cat 491 libavformat/concatdec.c for (i = 0; i < cat->nb_files; i++) { cat 492 libavformat/concatdec.c if (cat->files[i].start_time == AV_NOPTS_VALUE) cat 493 libavformat/concatdec.c cat->files[i].start_time = time; cat 495 libavformat/concatdec.c time = cat->files[i].start_time; cat 496 libavformat/concatdec.c if (cat->files[i].user_duration == AV_NOPTS_VALUE) { cat 497 libavformat/concatdec.c if (cat->files[i].inpoint == AV_NOPTS_VALUE || cat->files[i].outpoint == AV_NOPTS_VALUE) cat 499 libavformat/concatdec.c cat->files[i].user_duration = cat->files[i].outpoint - cat->files[i].inpoint; cat 501 libavformat/concatdec.c cat->files[i].duration = cat->files[i].user_duration; cat 502 libavformat/concatdec.c time += cat->files[i].user_duration; cat 504 libavformat/concatdec.c if (i == cat->nb_files) { cat 506 libavformat/concatdec.c cat->seekable = 1; cat 509 libavformat/concatdec.c cat->stream_match_mode = avf->nb_streams ? MATCH_EXACT_ID : cat 524 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 525 libavformat/concatdec.c unsigned fileno = cat->cur_file - cat->files; cat 527 libavformat/concatdec.c cat->cur_file->duration = get_best_effort_duration(cat->cur_file, cat->avf); cat 529 libavformat/concatdec.c if (++fileno >= cat->nb_files) { cat 530 libavformat/concatdec.c cat->eof = 1; cat 561 libavformat/concatdec.c static int packet_after_outpoint(ConcatContext *cat, AVPacket *pkt) cat 563 libavformat/concatdec.c if (cat->cur_file->outpoint != AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE) { cat 564 libavformat/concatdec.c return av_compare_ts(pkt->dts, cat->avf->streams[pkt->stream_index]->time_base, cat 565 libavformat/concatdec.c cat->cur_file->outpoint, AV_TIME_BASE_Q) >= 0; cat 572 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 578 libavformat/concatdec.c if (cat->eof) cat 581 libavformat/concatdec.c if (!cat->avf) cat 585 libavformat/concatdec.c ret = av_read_frame(cat->avf, pkt); cat 596 libavformat/concatdec.c if (packet_after_outpoint(cat, pkt)) { cat 602 libavformat/concatdec.c cs = &cat->cur_file->streams[pkt->stream_index]; cat 612 libavformat/concatdec.c st = cat->avf->streams[pkt->stream_index]; cat 614 libavformat/concatdec.c (unsigned)(cat->cur_file - cat->files), pkt->stream_index, cat 618 libavformat/concatdec.c delta = av_rescale_q(cat->cur_file->start_time - cat->cur_file->file_inpoint, cat 620 libavformat/concatdec.c cat->avf->streams[pkt->stream_index]->time_base); cat 628 libavformat/concatdec.c if (cat->cur_file->metadata) { cat 630 libavformat/concatdec.c char* packed_metadata = av_packet_pack_dictionary(cat->cur_file->metadata, &metadata_len); cat 641 libavformat/concatdec.c if (cat->cur_file->duration == AV_NOPTS_VALUE && st->cur_dts != AV_NOPTS_VALUE) { cat 643 libavformat/concatdec.c if (cat->cur_file->next_dts == AV_NOPTS_VALUE || next_dts > cat->cur_file->next_dts) { cat 644 libavformat/concatdec.c cat->cur_file->next_dts = next_dts; cat 665 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 666 libavformat/concatdec.c int64_t t0 = cat->cur_file->start_time - cat->cur_file->file_inpoint; cat 672 libavformat/concatdec.c if (stream >= cat->avf->nb_streams) cat 674 libavformat/concatdec.c rescale_interval(AV_TIME_BASE_Q, cat->avf->streams[stream]->time_base, cat 677 libavformat/concatdec.c return avformat_seek_file(cat->avf, stream, min_ts, ts, max_ts, flags); cat 683 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 694 libavformat/concatdec.c right = cat->nb_files; cat 699 libavformat/concatdec.c else if (!cat->seekable) cat 704 libavformat/concatdec.c if (ts < cat->files[mid].start_time) cat 710 libavformat/concatdec.c if (cat->cur_file != &cat->files[left]) { cat 714 libavformat/concatdec.c cat->avf = cur_avf; cat 719 libavformat/concatdec.c left < cat->nb_files - 1 && cat 720 libavformat/concatdec.c cat->files[left + 1].start_time < max_ts) { cat 721 libavformat/concatdec.c if (cat->cur_file == &cat->files[left]) cat 722 libavformat/concatdec.c cat->avf = NULL; cat 733 libavformat/concatdec.c ConcatContext *cat = avf->priv_data; cat 734 libavformat/concatdec.c ConcatFile *cur_file_saved = cat->cur_file; cat 735 libavformat/concatdec.c AVFormatContext *cur_avf_saved = cat->avf; cat 740 libavformat/concatdec.c cat->avf = NULL; cat 742 libavformat/concatdec.c if (cat->cur_file != cur_file_saved) { cat 743 libavformat/concatdec.c if (cat->avf) cat 744 libavformat/concatdec.c avformat_close_input(&cat->avf); cat 746 libavformat/concatdec.c cat->avf = cur_avf_saved; cat 747 libavformat/concatdec.c cat->cur_file = cur_file_saved; cat 749 libavformat/concatdec.c if (cat->cur_file != cur_file_saved) { cat 752 libavformat/concatdec.c cat->eof = 0;