• Home
  • Raw
  • Download

Lines Matching refs:gmhd

465 atom_gmhd_init (AtomGMHD * gmhd)  in atom_gmhd_init()  argument
467 atom_header_set (&gmhd->header, FOURCC_gmhd, 0, 0); in atom_gmhd_init()
468 atom_gmin_init (&gmhd->gmin); in atom_gmhd_init()
472 atom_gmhd_clear (AtomGMHD * gmhd) in atom_gmhd_clear() argument
474 atom_clear (&gmhd->header); in atom_gmhd_clear()
475 atom_gmin_clear (&gmhd->gmin); in atom_gmhd_clear()
476 if (gmhd->tmcd) { in atom_gmhd_clear()
477 atom_tmcd_free (gmhd->tmcd); in atom_gmhd_clear()
478 gmhd->tmcd = NULL; in atom_gmhd_clear()
485 AtomGMHD *gmhd = g_new0 (AtomGMHD, 1); in atom_gmhd_new() local
486 atom_gmhd_init (gmhd); in atom_gmhd_new()
487 return gmhd; in atom_gmhd_new()
491 atom_gmhd_free (AtomGMHD * gmhd) in atom_gmhd_free() argument
493 atom_gmhd_clear (gmhd); in atom_gmhd_free()
494 g_free (gmhd); in atom_gmhd_free()
1134 minf->gmhd = NULL; in atom_minf_init()
1162 if (minf->gmhd) { in atom_minf_clear_handlers()
1163 atom_gmhd_free (minf->gmhd); in atom_minf_clear_handlers()
1164 minf->gmhd = NULL; in atom_minf_clear_handlers()
1977 atom_gmhd_copy_data (AtomGMHD * gmhd, guint8 ** buffer, guint64 * size, in atom_gmhd_copy_data() argument
1982 if (!atom_copy_data (&gmhd->header, buffer, size, offset)) { in atom_gmhd_copy_data()
1985 if (!atom_gmin_copy_data (&gmhd->gmin, buffer, size, offset)) { in atom_gmhd_copy_data()
1988 if (gmhd->tmcd && !atom_tmcd_copy_data (gmhd->tmcd, buffer, size, offset)) { in atom_gmhd_copy_data()
2686 } else if (minf->gmhd) { in atom_minf_copy_data()
2687 if (!atom_gmhd_copy_data (minf->gmhd, buffer, size, offset)) { in atom_minf_copy_data()
3454 g_assert (trak->mdia.minf.gmhd != NULL); in timecode_atom_trak_set_duration()
3499 if (trak->mdia.minf.gmhd == NULL || trak->mdia.minf.gmhd->tmcd == NULL) { in atom_moov_update_duration()
3512 if (trak->mdia.minf.gmhd != NULL && trak->mdia.minf.gmhd->tmcd != NULL) in atom_moov_update_duration()
4243 AtomGMHD *gmhd = trak->mdia.minf.gmhd; in atom_trak_set_timecode_type() local
4245 gmhd = atom_gmhd_new (); in atom_trak_set_timecode_type()
4246 gmhd->gmin.graphics_mode = 0x0040; in atom_trak_set_timecode_type()
4247 gmhd->gmin.opcolor[0] = 0x8000; in atom_trak_set_timecode_type()
4248 gmhd->gmin.opcolor[1] = 0x8000; in atom_trak_set_timecode_type()
4249 gmhd->gmin.opcolor[2] = 0x8000; in atom_trak_set_timecode_type()
4250 gmhd->tmcd = atom_tmcd_new (); in atom_trak_set_timecode_type()
4251 gmhd->tmcd->tcmi.text_size = 12; in atom_trak_set_timecode_type()
4252 gmhd->tmcd->tcmi.font_name = g_strdup ("Chicago"); /* Pascal string */ in atom_trak_set_timecode_type()
4254 trak->mdia.minf.gmhd = gmhd; in atom_trak_set_timecode_type()
4276 AtomGMHD *gmhd = trak->mdia.minf.gmhd; in atom_trak_set_caption_type() local
4296 gmhd = atom_gmhd_new (); in atom_trak_set_caption_type()
4297 gmhd->gmin.graphics_mode = 0x0040; in atom_trak_set_caption_type()
4298 gmhd->gmin.opcolor[0] = 0x8000; in atom_trak_set_caption_type()
4299 gmhd->gmin.opcolor[1] = 0x8000; in atom_trak_set_caption_type()
4300 gmhd->gmin.opcolor[2] = 0x8000; in atom_trak_set_caption_type()
4302 trak->mdia.minf.gmhd = gmhd; in atom_trak_set_caption_type()