diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2014-01-24 19:30:58 +0000 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2014-01-26 03:17:56 +0000 |
commit | 53c0fb57d40ed49aeaa4607528bf614b8a707e2e (patch) | |
tree | f6b5d85385296a388bbcc40e543777af75fa5867 /libass/ass_render.h | |
parent | da10277cd3d5d99ce7aa29d2f1f7306a2ba2fcdf (diff) | |
download | libass-53c0fb57d40ed49aeaa4607528bf614b8a707e2e.tar.bz2 libass-53c0fb57d40ed49aeaa4607528bf614b8a707e2e.tar.xz |
Simplify storage size handling
No functional changes.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r-- | libass/ass_render.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h index ab0b704..52c5855 100644 --- a/libass/ass_render.h +++ b/libass/ass_render.h @@ -70,8 +70,8 @@ typedef struct free_list { typedef struct { int frame_width; int frame_height; - int storage_width; // width of the source image - int storage_height; // height of the source image + int storage_width; // video width before any rescaling + int storage_height; // video height before any rescaling double font_size_coeff; // font size multiplier double line_spacing; // additional line spacing (in frame pixels) double line_position; // vertical position for subtitles, 0-100 (0 = no change) @@ -339,8 +339,6 @@ struct ass_renderer { int orig_width; // frame width ( = screen width - margins ) int orig_height_nocrop; // frame height ( = screen height - margins + cropheight) int orig_width_nocrop; // frame width ( = screen width - margins + cropwidth) - int storage_height; // video height before any rescaling - int storage_width; // video width before any rescaling ASS_Track *track; long long time; // frame's timestamp, ms double font_scale; |