Lines Matching refs:format
320 if (frame->format == AV_PIX_FMT_NONE) frame->format = avctx->pix_fmt;
338 if (frame->format == AV_SAMPLE_FMT_NONE)
339 frame->format = avctx->sample_fmt;
388 frame->nb_samples - avci->skip_samples, avctx->ch_layout.nb_channels, frame->format);
670 avci->initial_format = frame->format;
695 changed = avci->initial_format != frame->format;
865 sub->format = 0;
867 sub->format = 1;
918 // If the last element of the list is a software format, choose it
919 // (this should be best software format if any exist).
938 // to handle this format without any additional setup.
1076 av_log(avctx, AV_LOG_ERROR, "Failed setup for format %s: "
1113 // If a software format is available, it must be the last entry.
1116 // No software format is available.
1138 av_log(avctx, AV_LOG_ERROR, "Invalid format returned by "
1181 if (frames_ctx->format != user_choice) {
1182 av_log(avctx, AV_LOG_ERROR, "Invalid setup for format %s: "
1183 "does not match the format of the provided frames "
1193 av_log(avctx, AV_LOG_ERROR, "Invalid setup for format %s: "
1205 av_log(avctx, AV_LOG_ERROR, "Invalid setup for format %s: "
1309 frame->format = avctx->pix_fmt;
1326 if (frame->format < 0)
1327 frame->format = avctx->sample_fmt;
1349 int num_planes = av_pix_fmt_count_planes(frame->format);
1350 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
1491 if (frame->data[0] && (frame->width != avctx->width || frame->height != avctx->height || frame->format != avctx->pix_fmt)) {
1493 frame->width, frame->height, av_get_pix_fmt_name(frame->format), avctx->width, avctx->height, av_get_pix_fmt_name(avctx->pix_fmt));