Searched refs:raw_hdr (Results 1 – 2 of 2) sorted by relevance
211 char raw_hdr[IVF_FRAME_HDR_SZ]; in read_frame() local248 else if (fread(raw_hdr, kind==IVF_FILE in read_frame()258 new_buf_sz = mem_get_le32(raw_hdr); in read_frame()375 char raw_hdr[32]; in file_is_ivf() local378 if (fread(raw_hdr, 1, 32, infile) == 32) in file_is_ivf()380 if (raw_hdr[0] == 'D' && raw_hdr[1] == 'K' in file_is_ivf()381 && raw_hdr[2] == 'I' && raw_hdr[3] == 'F') in file_is_ivf()385 if (mem_get_le16(raw_hdr + 4) != 0) in file_is_ivf()389 *fourcc = mem_get_le32(raw_hdr + 8); in file_is_ivf()390 *width = mem_get_le16(raw_hdr + 12); in file_is_ivf()[all …]
344 char raw_hdr[IVF_FILE_HDR_SZ]; in file_is_ivf() local353 if (fread(raw_hdr + 4, 1, IVF_FILE_HDR_SZ - 4, infile) in file_is_ivf()359 if (mem_get_le16(raw_hdr + 4) != 0) in file_is_ivf()363 *fourcc = mem_get_le32(raw_hdr + 8); in file_is_ivf()369 *width = mem_get_le16(raw_hdr + 12); in file_is_ivf()370 *height = mem_get_le16(raw_hdr + 14); in file_is_ivf()