X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fbdcreate.h;h=6d58682b7387774b935a05a7f187068cfc772d7f;hb=bd7011a86f60b4ef1abf11e2667373eba3a98c99;hp=89ee83bb087e7645f8b19ee01d8e7195f3ed8695;hpb=94fc059e6ed3f77f20531338cbb03bdb3b4d9eab;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/bdcreate.h b/cinelerra-5.1/cinelerra/bdcreate.h index 89ee83bb..6d58682b 100644 --- a/cinelerra-5.1/cinelerra/bdcreate.h +++ b/cinelerra-5.1/cinelerra/bdcreate.h @@ -1,3 +1,24 @@ +/* + * CINELERRA + * Copyright (C) 2016-2020 William Morrow + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published + * by the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + + #ifndef __BDCREATE_H__ #define __BDCREATE_H__ @@ -30,6 +51,7 @@ public: static int get_udfs_mount(char *udfs, char *mopts, char *mntpt); BD_BatchRenderJob(Preferences *preferences, int labeled, int farmed); char *create_script(EDL *edl, ArrayList *idxbls); + int tsmuxered; }; @@ -57,11 +79,13 @@ public: CreateBD_GUI *gui; char asset_title[BCTEXTLEN]; char tmp_path[BCTEXTLEN]; + char use_profile[BCTEXTLEN]; int use_deinterlace, use_inverse_telecine; int use_scale, use_resize_tracks; int use_wide_audio, use_farmed; int use_histogram, use_labeled; int use_standard; + int use_tsmuxer; int64_t bd_size; int bd_width; @@ -74,6 +98,8 @@ public: double bd_kaudio_rate; int bd_interlace_mode; int max_w, max_h; + + BD_BatchRenderJob *batchrender; }; class CreateBD_OK : public BC_OKButton @@ -196,6 +222,17 @@ public: CreateBD_GUI *gui; }; + +class CreateBD_UseTsmuxer : public BC_CheckBox +{ +public: + CreateBD_UseTsmuxer(CreateBD_GUI *gui, int x, int y); + ~CreateBD_UseTsmuxer(); + + CreateBD_GUI *gui; +}; + + class CreateBD_GUI : public BC_Window { public: @@ -224,6 +261,7 @@ public: CreateBD_InverseTelecine *need_inverse_telecine; CreateBD_ResizeTracks *need_resize_tracks; CreateBD_Histogram *need_histogram; + CreateBD_UseTsmuxer *need_tsmuxer; BC_Title *non_standard; CreateBD_WideAudio *need_wide_audio; CreateBD_LabelChapters *need_labeled; @@ -232,6 +270,8 @@ public: CreateBD_OK *ok; int cancel_x, cancel_y, cancel_w, cancel_h; CreateBD_Cancel *cancel; + ArrayList profiles; + CreateBD_Profile *profile; }; class CreateBD_FormatItem : public BC_MenuItem @@ -290,4 +330,15 @@ public: CreateBD_GUI *gui; }; +class CreateBD_Profile : public BC_PopupTextBox +{ +public: + CreateBD_Profile(CreateBD_GUI *gui, int x, int y); + ~CreateBD_Profile(); + int handle_event(); + + CreateBD_GUI *gui; +}; + + #endif