summaryrefslogtreecommitdiffstats
path: root/libass/ass_bitmap.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-06-26 05:44:52 +0200
committerGrigori Goronzy <greg@blackbox>2011-06-26 05:44:52 +0200
commitc13cb222435ff61533a26efcd46c6246ea541dc1 (patch)
treef03ac5753c0b2b790da042655b738aebe9af4a0d /libass/ass_bitmap.h
parent1d3bc3309153410ea8baaa111ee846f289b572a2 (diff)
downloadlibass-c13cb222435ff61533a26efcd46c6246ea541dc1.tar.bz2
libass-c13cb222435ff61533a26efcd46c6246ea541dc1.tar.xz
bitmap: add stride
Add stride support to the basic bitmap type used for low-level rasterization.
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r--libass/ass_bitmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h
index d21ea4e..2a46aec 100644
--- a/libass/ass_bitmap.h
+++ b/libass/ass_bitmap.h
@@ -32,6 +32,7 @@ void ass_synth_done(ASS_SynthPriv *priv);
typedef struct {
int left, top;
int w, h; // width, height
+ int stride;
unsigned char *buffer; // w x h buffer
} Bitmap;