shithub: pdffs

ref: 6405cc7d102f1593ff912af4db66c5cc8e0277e8
dir: /f_dct.c/

View raw version
#include <u.h>
#include <libc.h>
#include "pdf.h"

static int
flreadall(void *aux, Buffer *bi, Buffer *bo)
{
	USED(aux);

	bufput(bo, bi->b, bi->sz);
	bi->off = bi->sz;

	return 0;
}

Filter filterDCT = {
	.name = "DCTDecode",
	.readall = flreadall,
};