Home
last modified time | relevance | path

Searched refs:cx_frame (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibvpxenc.c289 static void coded_frame_add(void *list, struct FrameListData *cx_frame) in coded_frame_add() argument
295 *p = cx_frame; in coded_frame_add()
296 cx_frame->next = NULL; in coded_frame_add()
299 static av_cold void free_coded_frame(struct FrameListData *cx_frame) in free_coded_frame() argument
301 av_freep(&cx_frame->buf); in free_coded_frame()
302 if (cx_frame->buf_alpha) in free_coded_frame()
303 av_freep(&cx_frame->buf_alpha); in free_coded_frame()
304 av_freep(&cx_frame); in free_coded_frame()
1185 static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame, in storeframe() argument
1188 int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0); in storeframe()
[all …]
Dlibaomenc.c268 static void coded_frame_add(void *list, struct FrameListData *cx_frame) in coded_frame_add() argument
274 *p = cx_frame; in coded_frame_add()
275 cx_frame->next = NULL; in coded_frame_add()
278 static av_cold void free_coded_frame(struct FrameListData *cx_frame) in free_coded_frame() argument
280 av_freep(&cx_frame->buf); in free_coded_frame()
281 av_freep(&cx_frame); in free_coded_frame()
965 static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame, in storeframe() argument
970 int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0); in storeframe()
973 "Error getting output packet of size %"SIZE_SPECIFIER".\n", cx_frame->sz); in storeframe()
976 memcpy(pkt->data, cx_frame->buf, pkt->size); in storeframe()
[all …]