AMF_RETURN_IF_FALSE 128 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, ctx->library != NULL, AMF_RETURN_IF_FALSE 132 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, init_fun != NULL, AVERROR_UNKNOWN, "DLL %s failed to find function %s\n", AMF_DLL_NAMEA, AMF_INIT_FUNCTION_NAME); AMF_RETURN_IF_FALSE 135 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, version_fun != NULL, AVERROR_UNKNOWN, "DLL %s failed to find function %s\n", AMF_DLL_NAMEA, AMF_QUERY_VERSION_FUNCTION_NAME); AMF_RETURN_IF_FALSE 138 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "%s failed with error %d\n", AMF_QUERY_VERSION_FUNCTION_NAME, res); AMF_RETURN_IF_FALSE 140 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "%s failed with error %d\n", AMF_INIT_FUNCTION_NAME, res); AMF_RETURN_IF_FALSE 142 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "GetTrace() failed with error %d\n", res); AMF_RETURN_IF_FALSE 144 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "GetDebug() failed with error %d\n", res); AMF_RETURN_IF_FALSE 238 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "CreateContext() failed with error %d\n", res); AMF_RETURN_IF_FALSE 317 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "CreateContext1() failed with error %d\n", res); AMF_RETURN_IF_FALSE 352 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, codec_id != NULL, AVERROR(EINVAL), "Codec %d is not supported\n", avctx->codec->id); AMF_RETURN_IF_FALSE 360 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, ctx->format != AMF_SURFACE_UNKNOWN, AVERROR(EINVAL), AMF_RETURN_IF_FALSE 364 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_ENCODER_NOT_FOUND, "CreateComponent(%ls) failed with error %d\n", codec_id, res); AMF_RETURN_IF_FALSE 481 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, av_fifo_size(ctx->timestamp_list) > 0, AVERROR_UNKNOWN, "timestamp_list is empty\n"); AMF_RETURN_IF_FALSE 488 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, av_fifo_size(ctx->timestamp_list) > 0, AVERROR_UNKNOWN, AMF_RETURN_IF_FALSE 613 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "Drain() failed with error %d\n", res); AMF_RETURN_IF_FALSE 640 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR(ENOMEM), "CreateSurfaceFromDX11Native() failed with error %d\n", res); AMF_RETURN_IF_FALSE 652 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR(ENOMEM), "CreateSurfaceFromDX9Native() failed with error %d\n", res); AMF_RETURN_IF_FALSE 661 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR(ENOMEM), "AllocSurface() failed with error %d\n", res); AMF_RETURN_IF_FALSE 674 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, frame_ref_storage_buffer != NULL, AVERROR(ENOMEM), "create_buffer_with_frame_ref() returned NULL\n"); AMF_RETURN_IF_FALSE 677 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "SetProperty failed for \"av_frame_ref\" with error %d\n", res); AMF_RETURN_IF_FALSE 707 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "SubmitInput() failed with error %d\n", res); AMF_RETURN_IF_FALSE 745 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "GetProperty failed for \"av_frame_ref\" with error %d\n", res); AMF_RETURN_IF_FALSE 752 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, ret >= 0, ret, "amf_copy_buffer() failed with error %d\n", ret); AMF_RETURN_IF_FALSE 761 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "Repeated SubmitInput() failed with error %d\n", res); AMF_RETURN_IF_FALSE 774 libavcodec/amfenc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, "Repeated Drain() failed with error %d\n", res); AMF_RETURN_IF_FALSE 280 libavcodec/amfenc_h264.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "encoder->Init() failed with error %d\n", res); AMF_RETURN_IF_FALSE 332 libavcodec/amfenc_h264.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "AMFVariantInit() failed with error %d\n", res); AMF_RETURN_IF_FALSE 335 libavcodec/amfenc_h264.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "GetProperty(AMF_VIDEO_ENCODER_EXTRADATA) failed with error %d\n", res); AMF_RETURN_IF_FALSE 336 libavcodec/amfenc_h264.c AMF_RETURN_IF_FALSE(ctx, var.pInterface != NULL, AVERROR_BUG, "GetProperty(AMF_VIDEO_ENCODER_EXTRADATA) returned NULL\n"); AMF_RETURN_IF_FALSE 344 libavcodec/amfenc_h264.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "QueryInterface(IID_AMFBuffer) failed with error %d\n", res); AMF_RETURN_IF_FALSE 226 libavcodec/amfenc_hevc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "encoder->Init() failed with error %d\n", res); AMF_RETURN_IF_FALSE 267 libavcodec/amfenc_hevc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "AMFVariantInit() failed with error %d\n", res); AMF_RETURN_IF_FALSE 270 libavcodec/amfenc_hevc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "GetProperty(AMF_VIDEO_ENCODER_EXTRADATA) failed with error %d\n", res); AMF_RETURN_IF_FALSE 271 libavcodec/amfenc_hevc.c AMF_RETURN_IF_FALSE(ctx, var.pInterface != NULL, AVERROR_BUG, "GetProperty(AMF_VIDEO_ENCODER_EXTRADATA) returned NULL\n"); AMF_RETURN_IF_FALSE 279 libavcodec/amfenc_hevc.c AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_BUG, "QueryInterface(IID_AMFBuffer) failed with error %d\n", res);