Searched refs:scan_hdr (Results 1 – 3 of 3) sorted by relevance
349 GstJpegScanHdr * scan_hdr) in gst_jpeg_segment_parse_scan_header() argument356 g_return_val_if_fail (scan_hdr != NULL, FALSE); in gst_jpeg_segment_parse_scan_header()365 U_READ_UINT8 (&br, scan_hdr->num_components); in gst_jpeg_segment_parse_scan_header()367 if (scan_hdr->num_components > GST_JPEG_MAX_SCAN_COMPONENTS) in gst_jpeg_segment_parse_scan_header()370 if (gst_byte_reader_get_remaining (&br) < 2 * scan_hdr->num_components) in gst_jpeg_segment_parse_scan_header()373 for (i = 0; i < scan_hdr->num_components; i++) { in gst_jpeg_segment_parse_scan_header()374 U_READ_UINT8 (&br, scan_hdr->components[i].component_selector); in gst_jpeg_segment_parse_scan_header()376 scan_hdr->components[i].dc_selector = (val >> 4) & 0x0F; in gst_jpeg_segment_parse_scan_header()377 scan_hdr->components[i].ac_selector = val & 0x0F; in gst_jpeg_segment_parse_scan_header()378 if (scan_hdr->components[i].dc_selector >= 4 in gst_jpeg_segment_parse_scan_header()[all …]
390 GstJpegScanHdr * scan_hdr);
371 GList *node, *file_hdr = NULL, *frame_hdr = NULL, *scan_hdr = NULL; in gst_jif_mux_mangle_markers() local470 if (!scan_hdr) in gst_jif_mux_mangle_markers()471 scan_hdr = node; in gst_jif_mux_mangle_markers()