shithub: pdffs

ref: 5e27bf4b91e15138d1e18ae4e639e988b4c48f5a
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);
	return 0;
}

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