Lines Matching refs:rrt
1424 _gst_mpegts_atsc_rrt_copy (GstMpegtsAtscRRT * rrt) in _gst_mpegts_atsc_rrt_copy() argument
1428 copy = g_slice_dup (GstMpegtsAtscRRT, rrt); in _gst_mpegts_atsc_rrt_copy()
1429 copy->names = g_ptr_array_ref (rrt->names); in _gst_mpegts_atsc_rrt_copy()
1430 copy->dimensions = g_ptr_array_ref (rrt->dimensions); in _gst_mpegts_atsc_rrt_copy()
1431 copy->descriptors = g_ptr_array_ref (rrt->descriptors); in _gst_mpegts_atsc_rrt_copy()
1437 _gst_mpegts_atsc_rrt_free (GstMpegtsAtscRRT * rrt) in _gst_mpegts_atsc_rrt_free() argument
1439 if (rrt->names) in _gst_mpegts_atsc_rrt_free()
1440 g_ptr_array_unref (rrt->names); in _gst_mpegts_atsc_rrt_free()
1441 if (rrt->dimensions) in _gst_mpegts_atsc_rrt_free()
1442 g_ptr_array_unref (rrt->dimensions); in _gst_mpegts_atsc_rrt_free()
1443 if (rrt->descriptors) in _gst_mpegts_atsc_rrt_free()
1444 g_ptr_array_unref (rrt->descriptors); in _gst_mpegts_atsc_rrt_free()
1446 g_slice_free (GstMpegtsAtscRRT, rrt); in _gst_mpegts_atsc_rrt_free()
1456 GstMpegtsAtscRRT *rrt = NULL; in _parse_rrt() local
1462 rrt = g_slice_new0 (GstMpegtsAtscRRT); in _parse_rrt()
1469 rrt->protocol_version = GST_READ_UINT8 (data); in _parse_rrt()
1474 rrt->names = _parse_atsc_mult_string (data, text_length); in _parse_rrt()
1477 rrt->dimensions_defined = GST_READ_UINT8 (data); in _parse_rrt()
1480 rrt->dimensions = g_ptr_array_new_full (rrt->dimensions_defined, in _parse_rrt()
1483 for (i = 0; i < rrt->dimensions_defined; i++) { in _parse_rrt()
1489 g_ptr_array_add (rrt->dimensions, dim); in _parse_rrt()
1525 rrt->descriptors = in _parse_rrt()
1528 return (gpointer) rrt; in _parse_rrt()
1534 const GstMpegtsAtscRRT *rrt; in _packetize_rrt() local
1540 rrt = gst_mpegts_section_get_atsc_rrt (section); in _packetize_rrt()
1542 if (rrt == NULL) in _packetize_rrt()
1545 names_length = _get_atsc_mult_string_packetized_length (rrt->names); in _packetize_rrt()
1557 for (i = 0; i < rrt->dimensions->len; i++) { in _packetize_rrt()
1558 GstMpegtsAtscRRTDimension *dim = g_ptr_array_index (rrt->dimensions, i); in _packetize_rrt()
1577 if (rrt->descriptors) { in _packetize_rrt()
1578 for (i = 0; i < rrt->descriptors->len; i++) { in _packetize_rrt()
1579 GstMpegtsDescriptor *descriptor = g_ptr_array_index (rrt->descriptors, i); in _packetize_rrt()
1594 GST_WRITE_UINT8 (data, rrt->protocol_version); in _packetize_rrt()
1601 _packetize_atsc_mult_string (rrt->names, &data); in _packetize_rrt()
1603 for (i = 0; i < rrt->dimensions->len; i++) { in _packetize_rrt()
1604 GstMpegtsAtscRRTDimension *dim = g_ptr_array_index (rrt->dimensions, i); in _packetize_rrt()
1611 _packetize_atsc_mult_string (rrt->names, &data); in _packetize_rrt()
1643 _packetize_descriptor_array (rrt->descriptors, &data); in _packetize_rrt()
1659 gst_mpegts_section_from_atsc_rrt (GstMpegtsAtscRRT * rrt) in gst_mpegts_section_from_atsc_rrt() argument
1663 g_return_val_if_fail (rrt != NULL, NULL); in gst_mpegts_section_from_atsc_rrt()
1670 section->cached_parsed = (gpointer) rrt; in gst_mpegts_section_from_atsc_rrt()
1751 GstMpegtsAtscRRT *rrt; in gst_mpegts_atsc_rrt_new() local
1753 rrt = g_slice_new0 (GstMpegtsAtscRRT); in gst_mpegts_atsc_rrt_new()
1754 rrt->names = g_ptr_array_new_with_free_func ((GDestroyNotify) in gst_mpegts_atsc_rrt_new()
1756 rrt->dimensions = g_ptr_array_new_with_free_func ((GDestroyNotify) in gst_mpegts_atsc_rrt_new()
1758 rrt->descriptors = g_ptr_array_new_with_free_func ((GDestroyNotify) in gst_mpegts_atsc_rrt_new()
1761 return rrt; in gst_mpegts_atsc_rrt_new()