Searched refs:avbuf (Results 1 - 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | v4l2_buffers.c | 51 static inline AVRational v4l2_get_timebase(V4L2Buffer *avbuf) in v4l2_get_timebase() argument 53 V4L2m2mContext *s = buf_to_m2mctx(avbuf); in v4l2_get_timebase() 73 static inline int64_t v4l2_get_pts(V4L2Buffer *avbuf) in v4l2_get_pts() argument 78 v4l2_pts = (int64_t)avbuf->buf.timestamp.tv_sec * USEC_PER_SEC + in v4l2_get_pts() 79 avbuf->buf.timestamp.tv_usec; in v4l2_get_pts() 81 return av_rescale_q(v4l2_pts, v4l2_timebase, v4l2_get_timebase(avbuf)); in v4l2_get_pts() 214 V4L2Buffer* avbuf = opaque; in v4l2_free_buffer() local 215 V4L2m2mContext *s = buf_to_m2mctx(avbuf); in v4l2_free_buffer() 217 if (atomic_fetch_sub(&avbuf->context_refcount, 1) == 1) { in v4l2_free_buffer() 224 if (s->draining && V4L2_TYPE_IS_OUTPUT(avbuf in v4l2_free_buffer() 299 v4l2_buffer_buf_to_swframe(AVFrame *frame, V4L2Buffer *avbuf) v4l2_buffer_buf_to_swframe() argument 418 ff_v4l2_buffer_buf_to_avframe(AVFrame *frame, V4L2Buffer *avbuf) ff_v4l2_buffer_buf_to_avframe() argument 452 ff_v4l2_buffer_buf_to_avpkt(AVPacket *pkt, V4L2Buffer *avbuf) ff_v4l2_buffer_buf_to_avpkt() argument 493 ff_v4l2_buffer_initialize(V4L2Buffer* avbuf, int index) ff_v4l2_buffer_initialize() argument 560 ff_v4l2_buffer_enqueue(V4L2Buffer* avbuf) ff_v4l2_buffer_enqueue() argument [all...] |
H A D | v4l2_context.c | 273 V4L2Buffer *avbuf; in v4l2_dequeue_v4l2buf() local 407 avbuf = &ctx->buffers[buf.index]; in v4l2_dequeue_v4l2buf() 408 avbuf->status = V4L2BUF_AVAILABLE; in v4l2_dequeue_v4l2buf() 409 avbuf->buf = buf; in v4l2_dequeue_v4l2buf() 411 memcpy(avbuf->planes, planes, sizeof(planes)); in v4l2_dequeue_v4l2buf() 412 avbuf->buf.m.planes = avbuf->planes; in v4l2_dequeue_v4l2buf() 414 return avbuf; in v4l2_dequeue_v4l2buf() 575 V4L2Buffer* avbuf; in ff_v4l2_context_enqueue_frame() local 586 avbuf in ff_v4l2_context_enqueue_frame() 600 V4L2Buffer* avbuf; ff_v4l2_context_enqueue_packet() local 624 V4L2Buffer *avbuf; ff_v4l2_context_dequeue_frame() local 644 V4L2Buffer *avbuf; ff_v4l2_context_dequeue_packet() local [all...] |
H A D | v4l2_buffers.h | 98 * @param[in] avbuf V4L2Bfuffer to push the information to 108 * @param[in] avbuf V4L2Bfuffer to push the information to 117 * @param[in] avbuf V4L2Bfuffer to initialize 122 int ff_v4l2_buffer_initialize(V4L2Buffer* avbuf, int index); 127 * @param[in] avbuf V4L2Bfuffer to push to the driver 131 int ff_v4l2_buffer_enqueue(V4L2Buffer* avbuf);
|
/third_party/ffmpeg/libavformat/ |
H A D | fitsdec.c | 71 * It also stores the header in the avbuf and stores the size of data part in data_size 75 * @param avbuf pointer to AVBPrint to store the header 80 AVBPrint *avbuf, uint64_t *data_size) in is_image() 94 av_bprint_append_data(avbuf, buf, FITS_BLOCK_SIZE); in is_image() 150 AVBPrint avbuf; in fits_read_packet() local 159 av_bprint_init(&avbuf, FITS_BLOCK_SIZE, AV_BPRINT_SIZE_UNLIMITED); in fits_read_packet() 160 while ((ret = is_image(s, fits, &header, &avbuf, &size)) == 0) { in fits_read_packet() 161 av_bprint_finalize(&avbuf, NULL); in fits_read_packet() 166 av_bprint_init(&avbuf, FITS_BLOCK_SIZE, AV_BPRINT_SIZE_UNLIMITED); in fits_read_packet() 172 if (!av_bprint_is_complete(&avbuf)) { in fits_read_packet() 79 is_image(AVFormatContext *s, FITSContext *fits, FITSHeader *header, AVBPrint *avbuf, uint64_t *data_size) is_image() argument [all...] |
/third_party/selinux/libsepol/src/ |
H A D | util.c | 89 static char avbuf[1024]; in sepol_av_to_string() local 96 memset(avbuf, 0, sizeof avbuf); in sepol_av_to_string() 98 p = avbuf; in sepol_av_to_string() 113 snprintf(p, sizeof(avbuf) - avlen, " %s", in sepol_av_to_string() 116 || (size_t) len >= (sizeof(avbuf) - avlen)) in sepol_av_to_string() 124 return avbuf; in sepol_av_to_string()
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vulkan.c | 2189 AVBufferRef *avbuf = NULL; in vulkan_pool_alloc() local 2236 avbuf = av_buffer_create((uint8_t *)f, sizeof(AVVkFrame), in vulkan_pool_alloc() 2238 if (!avbuf) in vulkan_pool_alloc() 2241 return avbuf; in vulkan_pool_alloc()
|
Completed in 9 milliseconds