Lines Matching defs:avctx
54 AVCodecContext *avctx)
77 av_log(avctx, AV_LOG_ERROR, "PPS id out of range: %d\n", pps_id);
83 av_log(avctx, AV_LOG_ERROR, "SPS id out of range: %d\n", ps->pps->sps_id);
97 avctx->profile = ps->sps->ptl.general_ptl.profile_idc;
98 avctx->level = ps->sps->ptl.general_ptl.level_idc;
109 av_reduce(&avctx->framerate.den, &avctx->framerate.num,
125 av_log(avctx, AV_LOG_ERROR, "Invalid slice segment address: %u.\n",
141 av_log(avctx, AV_LOG_ERROR, "Unknown slice type: %d.\n",
179 * @param avctx codec context.
184 int buf_size, AVCodecContext *avctx)
198 ret = ff_h2645_packet_split(&ctx->pkt, buf, buf_size, avctx, ctx->is_avc,
212 ff_hevc_decode_nal_vps(gb, avctx, ps);
215 ff_hevc_decode_nal_sps(gb, avctx, ps, 1);
218 ff_hevc_decode_nal_pps(gb, avctx, ps);
222 ff_hevc_decode_nal_sei(gb, avctx, sei, ps, nal->type);
245 ret = hevc_parse_slice_header(s, nal, avctx);
252 av_log(avctx, AV_LOG_ERROR, "missing picture in access unit with size %d\n", buf_size);
300 static int hevc_parse(AVCodecParserContext *s, AVCodecContext *avctx,
310 if (avctx->extradata && !ctx->parsed_extradata) {
311 ff_hevc_decode_extradata(avctx->extradata, avctx->extradata_size, &ctx->ps, &ctx->sei,
312 &ctx->is_avc, &ctx->nal_length_size, avctx->err_recognition,
313 1, avctx);
331 parse_nal_units(s, buf, buf_size, avctx);