Home
last modified time | relevance | path

Searched refs:pic_ctx (Results 1 – 25 of 62) sorted by relevance

123

/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dvdpau_h264.c71 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
124 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
165 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
178 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
182 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
186 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
201 hwctx->info = pic_ctx->info; in vdpau_h264_end_frame()
202 hwctx->bitstream_buffers = pic_ctx->bitstream_buffers; in vdpau_h264_end_frame()
210 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in vdpau_h264_end_frame()
213 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in vdpau_h264_end_frame()
[all …]
H A Dvdpau.c52 pic_ctx->bitstream_buffers_allocated = 0; in MAKE_ACCESSORS()
53 pic_ctx->bitstream_buffers_used = 0; in MAKE_ACCESSORS()
54 pic_ctx->bitstream_buffers = NULL; in MAKE_ACCESSORS()
72 hwctx->info = pic_ctx->info; in ff_vdpau_mpeg_end_frame()
73 hwctx->bitstream_buffers = pic_ctx->bitstream_buffers; in ff_vdpau_mpeg_end_frame()
81 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_mpeg_end_frame()
84 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_mpeg_end_frame()
87 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_mpeg_end_frame()
104 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
111 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dvdpau_h264.c71 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
124 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
165 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
178 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
182 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
186 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
201 hwctx->info = pic_ctx->info; in vdpau_h264_end_frame()
202 hwctx->bitstream_buffers = pic_ctx->bitstream_buffers; in vdpau_h264_end_frame()
210 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in vdpau_h264_end_frame()
213 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in vdpau_h264_end_frame()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dvdpau.c330 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
331 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
332 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
351 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
354 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
355 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
357 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
372 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx); in ff_vdpau_mpeg_end_frame()
384 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
391 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
H A Dvdpau_h264.c74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
207 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_end_frame() local
[all …]
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dvdpau.c326 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
327 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
328 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
347 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
350 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
351 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
353 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
368 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx); in ff_vdpau_mpeg_end_frame()
380 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
387 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
H A Dvdpau_h264.c74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
207 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_end_frame() local
[all …]
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dvdpau.c330 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
331 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
332 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
351 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
354 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
355 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
357 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
372 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx); in ff_vdpau_mpeg_end_frame()
384 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
391 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
H A Dvdpau_h264.c74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
207 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_end_frame() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dvdpau.c326 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
327 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
328 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
347 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
350 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
351 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
353 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
368 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx); in ff_vdpau_mpeg_end_frame()
380 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
387 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
H A Dvdpau_h264.c74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
207 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_end_frame() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dvdpau.c330 pic_ctx->bitstream_buffers_allocated = 0; in ff_vdpau_common_start_frame()
331 pic_ctx->bitstream_buffers_used = 0; in ff_vdpau_common_start_frame()
332 pic_ctx->bitstream_buffers = NULL; in ff_vdpau_common_start_frame()
351 pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
354 pic_ctx->bitstream_buffers_used, in ff_vdpau_common_end_frame()
355 pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
357 av_freep(&pic_ctx->bitstream_buffers); in ff_vdpau_common_end_frame()
372 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx); in ff_vdpau_mpeg_end_frame()
384 VdpBitstreamBuffer *buffers = pic_ctx->bitstream_buffers; in ff_vdpau_add_buffer()
391 pic_ctx->bitstream_buffers = buffers; in ff_vdpau_add_buffer()
[all …]
H A Dvdpau_h264.c74 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_set_reference_frames()
128 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_start_frame() local
129 VdpPictureInfoH264 *info = &pic_ctx->info.h264; in vdpau_h264_start_frame()
131 VdpPictureInfoH264Predictive *info2 = &pic_ctx->info.h264_predictive; in vdpau_h264_start_frame()
177 return ff_vdpau_common_start_frame(pic_ctx, buffer, size); in vdpau_h264_start_frame()
187 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_decode_slice() local
190 val = ff_vdpau_add_buffer(pic_ctx, start_code_prefix, 3); in vdpau_h264_decode_slice()
194 val = ff_vdpau_add_buffer(pic_ctx, buffer, size); in vdpau_h264_decode_slice()
198 pic_ctx->info.h264.slice_count++; in vdpau_h264_decode_slice()
207 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private; in vdpau_h264_end_frame() local
[all …]
/dports/multimedia/dav1d/dav1d-99172b11470776177939c3d2bc366fe8d904eab7/src/
H A Dpicture.c96 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
98 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
100 free(pic_ctx); in free_buffer()
123 if (pic_ctx == NULL) in picture_alloc_with_edges()
138 free(pic_ctx); in picture_alloc_with_edges()
142 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
143 pic_ctx->pic = *p; in picture_alloc_with_edges()
145 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
147 free(pic_ctx); in picture_alloc_with_edges()
161 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/www/firefox/firefox-99.0/third_party/dav1d/src/
H A Dpicture.c96 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
98 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
100 free(pic_ctx); in free_buffer()
123 if (pic_ctx == NULL) in picture_alloc_with_edges()
138 free(pic_ctx); in picture_alloc_with_edges()
142 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
143 pic_ctx->pic = *p; in picture_alloc_with_edges()
145 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
147 free(pic_ctx); in picture_alloc_with_edges()
161 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dav1d/libdav1d/src/
H A Dpicture.c100 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
102 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
104 free(pic_ctx); in free_buffer()
127 if (pic_ctx == NULL) in picture_alloc_with_edges()
142 free(pic_ctx); in picture_alloc_with_edges()
146 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
147 pic_ctx->pic = *p; in picture_alloc_with_edges()
149 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
151 free(pic_ctx); in picture_alloc_with_edges()
165 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/dav1d/src/
H A Dpicture.c96 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
98 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
100 free(pic_ctx); in free_buffer()
123 if (pic_ctx == NULL) in picture_alloc_with_edges()
138 free(pic_ctx); in picture_alloc_with_edges()
142 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
143 pic_ctx->pic = *p; in picture_alloc_with_edges()
145 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
147 free(pic_ctx); in picture_alloc_with_edges()
161 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dav1d/libdav1d/src/
H A Dpicture.c100 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
102 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
104 free(pic_ctx); in free_buffer()
127 if (pic_ctx == NULL) in picture_alloc_with_edges()
142 free(pic_ctx); in picture_alloc_with_edges()
146 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
147 pic_ctx->pic = *p; in picture_alloc_with_edges()
149 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
151 free(pic_ctx); in picture_alloc_with_edges()
165 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/dav1d/src/
H A Dpicture.c96 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
98 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
100 free(pic_ctx); in free_buffer()
123 if (pic_ctx == NULL) in picture_alloc_with_edges()
138 free(pic_ctx); in picture_alloc_with_edges()
142 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
143 pic_ctx->pic = *p; in picture_alloc_with_edges()
145 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
147 free(pic_ctx); in picture_alloc_with_edges()
161 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/dav1d/src/
H A Dpicture.c100 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
102 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
104 free(pic_ctx); in free_buffer()
125 if (pic_ctx == NULL) { in picture_alloc_with_edges()
141 free(pic_ctx); in picture_alloc_with_edges()
145 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
146 pic_ctx->pic = *p; in picture_alloc_with_edges()
148 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
150 free(pic_ctx); in picture_alloc_with_edges()
164 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/multimedia/handbrake/dav1d-0.9.0/src/
H A Dpicture.c96 struct pic_ctx_context *pic_ctx = user_data; in free_buffer() local
98 pic_ctx->allocator.release_picture_callback(&pic_ctx->pic, in free_buffer()
100 free(pic_ctx); in free_buffer()
123 if (pic_ctx == NULL) in picture_alloc_with_edges()
138 free(pic_ctx); in picture_alloc_with_edges()
142 pic_ctx->allocator = *p_allocator; in picture_alloc_with_edges()
143 pic_ctx->pic = *p; in picture_alloc_with_edges()
145 if (!(p->ref = dav1d_ref_wrap(p->data[0], free_buffer, pic_ctx))) { in picture_alloc_with_edges()
147 free(pic_ctx); in picture_alloc_with_edges()
161 *extra_ptr = &pic_ctx->extra_ptr; in picture_alloc_with_edges()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/hw/d3d9/
H A Ddxa9.c246 ReleasePictureSys(&pic_ctx->picsys); in d3d9_pic_context_destroy()
247 free(pic_ctx); in d3d9_pic_context_destroy()
253 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in d3d9_pic_context_copy() local
254 if (unlikely(pic_ctx==NULL)) in d3d9_pic_context_copy()
258 pic_ctx->picsys = src_ctx->picsys; in d3d9_pic_context_copy()
259 AcquirePictureSys(&pic_ctx->picsys); in d3d9_pic_context_copy()
260 return &pic_ctx->s; in d3d9_pic_context_copy()
294 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in YV12_D3D9() local
295 if (likely(pic_ctx)) in YV12_D3D9()
299 pic_ctx->picsys = *dst->p_sys; in YV12_D3D9()
[all …]
H A Ddxva2_deinterlace.c286 ReleasePictureSys(&pic_ctx->picsys); in d3d9_pic_context_destroy()
287 free(pic_ctx); in d3d9_pic_context_destroy()
293 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in d3d9_pic_context_copy() local
294 if (unlikely(pic_ctx==NULL)) in d3d9_pic_context_copy()
298 pic_ctx->picsys = src_ctx->picsys; in d3d9_pic_context_copy()
299 AcquirePictureSys(&pic_ctx->picsys); in d3d9_pic_context_copy()
300 return &pic_ctx->s; in d3d9_pic_context_copy()
339 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in NewOutputPicture() local
340 if (likely(pic_ctx!=NULL)) in NewOutputPicture()
344 pic_ctx->picsys = *pic->p_sys; in NewOutputPicture()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/avcodec/
H A Ddxva2.c172 if (pic_ctx->va_surface) in d3d9_pic_context_destroy()
176 free(pic_ctx); in d3d9_pic_context_destroy()
186 if (unlikely(pic_ctx==NULL)) in d3d9_pic_context_copy()
190 return &pic_ctx->s; in d3d9_pic_context_copy()
195 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in CreatePicContext() local
196 if (unlikely(pic_ctx==NULL)) in CreatePicContext()
200 pic_ctx->picsys.surface = surface; in CreatePicContext()
201 pic_ctx->picsys.decoder = decoder; in CreatePicContext()
203 return pic_ctx; in CreatePicContext()
210 if (unlikely(pic_ctx==NULL)) in NewSurfacePicContext()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/hw/d3d11/
H A Dd3d11_deinterlace.c255 ReleasePictureSys(&pic_ctx->picsys); in d3d11_pic_context_destroy()
256 free(pic_ctx); in d3d11_pic_context_destroy()
262 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in d3d11_pic_context_copy() local
263 if (unlikely(pic_ctx==NULL)) in d3d11_pic_context_copy()
267 pic_ctx->picsys = src_ctx->picsys; in d3d11_pic_context_copy()
268 AcquirePictureSys(&pic_ctx->picsys); in d3d11_pic_context_copy()
269 return &pic_ctx->s; in d3d11_pic_context_copy()
322 struct va_pic_context *pic_ctx = calloc(1, sizeof(*pic_ctx)); in NewOutputPicture() local
323 if (likely(pic_ctx!=NULL)) in NewOutputPicture()
327 pic_ctx->picsys = *pic->p_sys; in NewOutputPicture()
[all …]

123