Lines Matching refs:au

61 static void dump_au(struct delta_ctx *ctx, struct delta_au *au)  in dump_au()  argument
65 u8 *data = (u8 *)(au->vaddr); in dump_au()
67 if (au->size <= (size * 2)) in dump_au()
69 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au()
70 au->size, data); in dump_au()
73 ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, in dump_au()
74 size, data, size, data + au->size - size); in dump_au()
90 static void delta_au_done(struct delta_ctx *ctx, struct delta_au *au, int err) in delta_au_done() argument
94 vbuf = &au->vbuf; in delta_au_done()
927 struct delta_au *au; in delta_run_work() local
947 au = to_au(vbuf); in delta_run_work()
948 au->size = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in delta_run_work()
949 au->dts = vbuf->vb2_buf.timestamp; in delta_run_work()
952 dump_au(ctx, au); in delta_run_work()
962 ret = call_dec_op(dec, decode, ctx, au); in delta_run_work()
992 delta_push_dts(ctx, au->dts); in delta_run_work()
1022 delta_au_done(ctx, au, (discard ? -ENODATA : 0)); in delta_run_work()
1029 delta_au_done(ctx, au, ret); in delta_run_work()
1120 struct delta_au *au = to_au(vbuf); in delta_vb2_au_prepare() local
1122 if (!au->prepared) { in delta_vb2_au_prepare()
1124 au->vaddr = vb2_plane_vaddr(&au->vbuf.vb2_buf, 0); in delta_vb2_au_prepare()
1125 au->paddr = vb2_dma_contig_plane_dma_addr in delta_vb2_au_prepare()
1126 (&au->vbuf.vb2_buf, 0); in delta_vb2_au_prepare()
1127 au->prepared = true; in delta_vb2_au_prepare()
1129 ctx->name, vb->index, au->vaddr, &au->paddr); in delta_vb2_au_prepare()
1309 struct delta_au *au; in delta_vb2_au_start_streaming() local
1344 au = to_au(vbuf); in delta_vb2_au_start_streaming()
1345 au->size = vb2_get_plane_payload(&vbuf->vb2_buf, 0); in delta_vb2_au_start_streaming()
1346 au->dts = vbuf->vb2_buf.timestamp; in delta_vb2_au_start_streaming()
1348 delta_push_dts(ctx, au->dts); in delta_vb2_au_start_streaming()
1351 dump_au(ctx, au); in delta_vb2_au_start_streaming()
1354 ret = call_dec_op(dec, decode, ctx, au); in delta_vb2_au_start_streaming()
1381 delta_au_done(ctx, au, ret); in delta_vb2_au_start_streaming()