30 static char *ff_get_ref_perms_string(
char *buf,
size_t buf_size,
int perms)
32 snprintf(buf, buf_size,
"%s%s%s%s%s%s",
47 "ref[%p buf:%p refcount:%d perms:%s data:%p linesize[%d, %d, %d, %d] pts:%"PRId64
" pos:%"PRId64,
53 av_dlog(ctx,
" a:%d/%d s:%dx%d i:%c iskey:%d type:%c",
62 av_dlog(ctx,
" cl:%"PRId64
"d n:%d r:%d p:%d",
69 av_dlog(ctx,
"]%s", end ?
"\n" :
"");
91 perms, w, h, link->
format);
125 memcpy(pic->
data, data, 4*
sizeof(data[0]));
126 memcpy(pic->
linesize, linesize, 4*
sizeof(linesize[0]));
130 pic-> extended_data = pic->
data;
138 if (picref && picref->
video)
151 av_dlog(
NULL,
" perms:%s w:%d h:%d\n", ff_get_ref_perms_string(buf,
sizeof(buf), perms), w, h);