mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 20:07:04 +00:00
vulkan: replace usage of %lu with %"SIZE_SPECIFIER"
This commit is contained in:
parent
988fd5743d
commit
58f82fc26a
@ -542,7 +542,7 @@ static int vk_av1_end_frame(AVCodecContext *avctx)
|
||||
rav[i] = ap->ref_src[i]->f;
|
||||
}
|
||||
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %lu bytes, %i tiles\n",
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %"SIZE_SPECIFIER" bytes, %i tiles\n",
|
||||
vp->slices_size, ap->tile_list.nb_tiles);
|
||||
|
||||
return ff_vk_decode_frame(avctx, pic->f, vp, rav, rvp);
|
||||
|
@ -524,7 +524,7 @@ static int vk_h264_end_frame(AVCodecContext *avctx)
|
||||
rav[i] = hp->ref_src[i]->f;
|
||||
}
|
||||
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %lu bytes, %i slices\n",
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %"SIZE_SPECIFIER" bytes, %i slices\n",
|
||||
vp->slices_size, hp->h264_pic_info.sliceCount);
|
||||
|
||||
return ff_vk_decode_frame(avctx, pic->f, vp, rav, rvp);
|
||||
|
@ -909,7 +909,7 @@ static int vk_hevc_end_frame(AVCodecContext *avctx)
|
||||
rvp[i] = &rfhp->vp;
|
||||
}
|
||||
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %lu bytes, %i slices\n",
|
||||
av_log(avctx, AV_LOG_VERBOSE, "Decoding frame, %"SIZE_SPECIFIER" bytes, %i slices\n",
|
||||
vp->slices_size, hp->h265_pic_info.sliceSegmentCount);
|
||||
|
||||
return ff_vk_decode_frame(avctx, pic->frame, vp, rav, rvp);
|
||||
|
@ -339,7 +339,7 @@ av_cold int ff_vk_video_common_init(void *log, FFVulkanContext *s,
|
||||
.memorySize = mem[i].memoryRequirements.size,
|
||||
};
|
||||
|
||||
av_log(log, AV_LOG_VERBOSE, "Allocating %lu bytes in bind index %i for video session\n",
|
||||
av_log(log, AV_LOG_VERBOSE, "Allocating %"SIZE_SPECIFIER" bytes in bind index %i for video session\n",
|
||||
bind_mem[i].memorySize, bind_mem[i].memoryBindIndex);
|
||||
}
|
||||
|
||||
|
@ -1079,7 +1079,7 @@ int ff_vk_get_pooled_buffer(FFVulkanContext *ctx, AVBufferPool **buf_pool,
|
||||
ff_vk_free_buf(ctx, data);
|
||||
memset(data, 0, sizeof(*data));
|
||||
|
||||
av_log(ctx, AV_LOG_DEBUG, "Allocating buffer of %lu bytes for pool %p\n",
|
||||
av_log(ctx, AV_LOG_DEBUG, "Allocating buffer of %"SIZE_SPECIFIER" bytes for pool %p\n",
|
||||
size, *buf_pool);
|
||||
|
||||
err = ff_vk_create_buf(ctx, data, size,
|
||||
|
Loading…
Reference in New Issue
Block a user