MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / vk_dpx_decode_slice

Function vk_dpx_decode_slice

libavcodec/vulkan_dpx.c:86–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static int vk_dpx_decode_slice(AVCodecContext *avctx,
87 const uint8_t *data,
88 uint32_t size)
89{
90 DPXDecContext *dpx = avctx->priv_data;
91
92 DPXVulkanDecodePicture *pp = dpx->hwaccel_picture_private;
93 FFVulkanDecodePicture *vp = &pp->vp;
94
95 if (!vp->slices_buf) {
96 int err = ff_vk_decode_add_slice(avctx, vp, data, size, 0,
97 NULL, NULL);
98 if (err < 0)
99 return err;
100 }
101
102 return 0;
103}
104
105static int vk_dpx_end_frame(AVCodecContext *avctx)
106{

Callers

nothing calls this directly

Calls 1

ff_vk_decode_add_sliceFunction · 0.85

Tested by

no test coverage detected