/third_party/ffmpeg/tools/ |
D | target_bsf_fuzzer.c | 72 bsf->par_in->width = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 73 bsf->par_in->height = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 74 bsf->par_in->bit_rate = bytestream2_get_le64(&gbc); in LLVMFuzzerTestOneInput() 75 bsf->par_in->bits_per_coded_sample = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 81 bsf->par_in->codec_id = id; in LLVMFuzzerTestOneInput() 82 bsf->par_in->codec_tag = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 87 bsf->par_in->sample_rate = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 88 …bsf->par_in->ch_layout.nb_channels = (unsigned)bytestream2_get_le32(&gbc) % FF_SANE_NB_CHANNE… in LLVMFuzzerTestOneInput() 89 bsf->par_in->block_align = bytestream2_get_le32(&gbc); in LLVMFuzzerTestOneInput() 104 bsf->par_in->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); in LLVMFuzzerTestOneInput() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | dump_extradata_bsf.c | 50 if (ctx->par_in->extradata && in dump_extradata() 53 (in->size < ctx->par_in->extradata_size || in dump_extradata() 54 memcmp(in->data, ctx->par_in->extradata, ctx->par_in->extradata_size))) { in dump_extradata() 55 if (in->size >= INT_MAX - ctx->par_in->extradata_size) { in dump_extradata() 60 ret = av_new_packet(out, in->size + ctx->par_in->extradata_size); in dump_extradata() 70 memcpy(out->data, ctx->par_in->extradata, ctx->par_in->extradata_size); in dump_extradata() 71 memcpy(out->data + ctx->par_in->extradata_size, in->data, in->size); in dump_extradata()
|
D | mp3_header_decompress_bsf.c | 34 int sample_rate= ctx->par_in->sample_rate; in mp3_header_decompress() 55 if(ctx->par_in->extradata_size != 15 || strcmp(ctx->par_in->extradata, "FFCMP3 0.0")){ in mp3_header_decompress() 56 av_log(ctx, AV_LOG_ERROR, "Extradata invalid %d\n", ctx->par_in->extradata_size); in mp3_header_decompress() 61 header= AV_RB32(ctx->par_in->extradata+11) & MP3_MASK; in mp3_header_decompress() 101 if (ctx->par_in->ch_layout.nb_channels == 2){ in mp3_header_decompress()
|
D | hevc_mp4toannexb_bsf.c | 49 bytestream2_init(&gb, ctx->par_in->extradata, ctx->par_in->extradata_size); in hevc_extradata_to_annexb() 103 if (ctx->par_in->extradata_size < MIN_HEVCC_LENGTH || in hevc_mp4toannexb_init() 104 AV_RB24(ctx->par_in->extradata) == 1 || in hevc_mp4toannexb_init() 105 AV_RB32(ctx->par_in->extradata) == 1) { in hevc_mp4toannexb_init()
|
D | pcm_rechunk_bsf.c | 42 AVRational sr = av_make_q(ctx->par_in->sample_rate, 1); in init() 45 if (ctx->par_in->ch_layout.nb_channels <= 0 || ctx->par_in->sample_rate <= 0) in init() 49 s->sample_size = ctx->par_in->ch_layout.nb_channels * in init() 50 av_get_bits_per_sample(ctx->par_in->codec_id) / 8; in init() 104 AVRational sr = av_make_q(ctx->par_in->sample_rate, 1); in get_next_nb_samples()
|
D | aac_adtstoasc_bsf.c | 51 if (bsfc->par_in->extradata && pkt->size >= 2 && (AV_RB16(pkt->data) >> 4) != 0xfff) in aac_adtstoasc_filter() 134 if (ctx->par_in->extradata) { in aac_adtstoasc_init() 136 int ret = avpriv_mpeg4audio_get_config2(&mp4ac, ctx->par_in->extradata, in aac_adtstoasc_init() 137 ctx->par_in->extradata_size, 1, ctx); in aac_adtstoasc_init()
|
D | bsf.c | 72 avcodec_parameters_free(&ctx->par_in); in av_bsf_free() 119 ctx->par_in = avcodec_parameters_alloc(); in av_bsf_alloc() 121 if (!ctx->par_in || !ctx->par_out) { in av_bsf_alloc() 157 if (ctx->par_in->codec_id == ctx->filter->codec_ids[i]) in av_bsf_init() 160 const AVCodecDescriptor *desc = avcodec_descriptor_get(ctx->par_in->codec_id); in av_bsf_init() 163 desc ? desc->name : "unknown", ctx->par_in->codec_id, ctx->filter->name); in av_bsf_init() 176 ret = avcodec_parameters_copy(ctx->par_out, ctx->par_in); in av_bsf_init() 288 const AVCodecParameters *cod_par = bsf->par_in; in bsf_list_init() 292 ret = avcodec_parameters_copy(lst->bsfs[i]->par_in, cod_par); in bsf_list_init()
|
D | trace_headers_bsf.c | 41 err = ff_cbs_init(&ctx->cbc, bsf->par_in->codec_id, bsf); in trace_headers_init() 48 if (bsf->par_in->extradata) { in trace_headers_init() 53 err = ff_cbs_read_extradata(ctx->cbc, frag, bsf->par_in); in trace_headers_init()
|
D | h264_mp4toannexb_bsf.c | 78 bytestream2_init(gb, ctx->par_in->extradata, ctx->par_in->extradata_size); in h264_extradata_to_annexb() 145 int extra_size = ctx->par_in->extradata_size; in h264_mp4toannexb_init() 150 (extra_size >= 3 && AV_RB24(ctx->par_in->extradata) == 1) || in h264_mp4toannexb_init() 151 (extra_size >= 4 && AV_RB32(ctx->par_in->extradata) == 1)) { in h264_mp4toannexb_init()
|
D | extract_extradata_bsf.c | 151 if (ctx->par_in->codec_id == AV_CODEC_ID_HEVC) { in extract_extradata_h2645() 160 ctx, 0, 0, ctx->par_in->codec_id, 1, 0); in extract_extradata_h2645() 168 if (ctx->par_in->codec_id == AV_CODEC_ID_HEVC) { in extract_extradata_h2645() 180 ((ctx->par_in->codec_id == AV_CODEC_ID_HEVC && has_sps && has_vps) || in extract_extradata_h2645() 181 (ctx->par_in->codec_id == AV_CODEC_ID_H264 && has_sps))) { in extract_extradata_h2645() 346 if (extract_tab[i].id == ctx->par_in->codec_id) { in extract_extradata_init()
|
D | mpeg4_unpack_bframes_bsf.c | 135 if (ctx->par_in->extradata) { in mpeg4_unpack_bframes_init() 137 scan_buffer(ctx->par_in->extradata, ctx->par_in->extradata_size, &pos_p_ext, NULL, NULL); in mpeg4_unpack_bframes_init()
|
D | filter_units_bsf.c | 182 err = ff_cbs_init(&ctx->cbc, bsf->par_in->codec_id, bsf); in filter_units_init() 190 if (bsf->par_in->extradata) { in filter_units_init() 193 err = ff_cbs_read_extradata(ctx->cbc, frag, bsf->par_in); in filter_units_init()
|
D | cbs_bsf.c | 126 if (bsf->par_in->extradata) { in ff_cbs_bsf_generic_init() 127 err = ff_cbs_read_extradata(ctx->input, frag, bsf->par_in); in ff_cbs_bsf_generic_init()
|
D | av1_frame_split_bsf.c | 220 if (!ctx->par_in->extradata_size) in av1_frame_split_init() 223 ret = ff_cbs_read_extradata(s->cbc, td, ctx->par_in); in av1_frame_split_init()
|
D | bsf.h | 90 AVCodecParameters *par_in; member
|
D | bitstream_filter.c | 111 ret = avcodec_parameters_from_context(priv->ctx->par_in, avctx); in av_bitstream_filter_filter()
|
D | remove_extradata_bsf.c | 196 switch (ctx->par_in->codec_id) { in remove_extradata()
|
D | noise_bsf.c | 89 if (ctx->par_in->codec_id == AV_CODEC_ID_WRAPPED_AVFRAME && in noise_init()
|
D | setts_bsf.c | 154 s->var_values[VAR_SR] = ctx->par_in->sample_rate; in setts_init()
|
D | librav1e.c | 265 bret = avcodec_parameters_from_context(ctx->bsf->par_in, avctx); in librav1e_encode_init()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_qp.c | 99 AVVideoEncParams *par_in = NULL; in filter_frame() local 109 par_in = (AVVideoEncParams*)sd_in->data; in filter_frame() 113 if (par_in->type == AV_VIDEO_ENC_PARAMS_MPEG2 && in filter_frame() 114 (par_in->nb_blocks == s->h * s->qstride || !par_in->nb_blocks)) { in filter_frame() 115 in_qp_global = par_in->qp; in filter_frame() 116 if (!par_in->nb_blocks) in filter_frame() 117 par_in = NULL; in filter_frame() 119 par_in = NULL; in filter_frame() 137 (par_in ? av_video_enc_params_block(par_in, block_idx)->delta_qp : 0) in filter_frame()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
D | extFFmpegDemuxer.h | 255 bsfc->par_in = fmtc->streams[iVideoStream]->codecpar; in FFmpegDemuxer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/ |
D | extFFmpegDemuxer.h | 256 bsfc->par_in = fmtc->streams[iVideoStream]->codecpar; in FFmpegDemuxer()
|
/third_party/ffmpeg/libavformat/ |
D | av1dec.c | 91 ret = avcodec_parameters_copy(c->bsf->par_in, st->codecpar); in av1_read_header()
|
D | tee.c | 379 ret = avcodec_parameters_copy(tee_slave->bsfs[target_stream]->par_in, in open_slave()
|