Lines Matching refs:valid_sw_formats
261 constraints->valid_sw_formats = NULL; in vaapi_frames_get_constraints()
263 constraints->valid_sw_formats = av_malloc_array(pix_fmt_count + 1, in vaapi_frames_get_constraints()
265 if (!constraints->valid_sw_formats) { in vaapi_frames_get_constraints()
282 if (constraints->valid_sw_formats[k] == pix_fmt) in vaapi_frames_get_constraints()
287 constraints->valid_sw_formats[j++] = pix_fmt; in vaapi_frames_get_constraints()
289 constraints->valid_sw_formats[j] = AV_PIX_FMT_NONE; in vaapi_frames_get_constraints()
294 constraints->valid_sw_formats = av_malloc_array(ctx->nb_formats + 1, in vaapi_frames_get_constraints()
296 if (!constraints->valid_sw_formats) { in vaapi_frames_get_constraints()
304 if (constraints->valid_sw_formats[k] == ctx->formats[i].pix_fmt) in vaapi_frames_get_constraints()
309 constraints->valid_sw_formats[j++] = ctx->formats[i].pix_fmt; in vaapi_frames_get_constraints()
312 constraints->valid_sw_formats[j] = AV_PIX_FMT_NONE; in vaapi_frames_get_constraints()