Lines Matching refs:l_data_header
479 OPJ_BYTE l_data_header [8]; in opj_jp2_read_boxhdr() local
487 *p_number_bytes_read = (OPJ_UINT32)opj_stream_read_data(cio, l_data_header, 8, in opj_jp2_read_boxhdr()
494 opj_read_bytes(l_data_header, &(box->length), 4); in opj_jp2_read_boxhdr()
495 opj_read_bytes(l_data_header + 4, &(box->type), 4); in opj_jp2_read_boxhdr()
515 l_data_header, 8, p_manager); in opj_jp2_read_boxhdr()
525 opj_read_bytes(l_data_header, &l_xl_part_size, 4); in opj_jp2_read_boxhdr()
531 opj_read_bytes(l_data_header + 4, &(box->length), 4); in opj_jp2_read_boxhdr()
1839 OPJ_BYTE l_data_header [8]; in opj_jp2_write_jp2c() local
1848 opj_write_bytes(l_data_header, in opj_jp2_write_jp2c()
1851 opj_write_bytes(l_data_header + 4, JP2_JP2C, in opj_jp2_write_jp2c()
1859 if (opj_stream_write_data(cio, l_data_header, 8, p_manager) != 8) { in opj_jp2_write_jp2c()
3263 OPJ_BYTE l_data_header [24]; in opj_jpip_write_iptr() local
3272 opj_write_bytes(l_data_header, 24, 4); /* size of iptr */ in opj_jpip_write_iptr()
3273 opj_write_bytes(l_data_header + 4, JPIP_IPTR, in opj_jpip_write_iptr()
3276 opj_write_bytes(l_data_header + 4 + 4, 0, 8); /* offset */ in opj_jpip_write_iptr()
3277 opj_write_bytes(l_data_header + 8 + 8, 0, 8); /* length */ in opj_jpip_write_iptr()
3279 opj_write_double(l_data_header + 4 + 4, 0); /* offset */ in opj_jpip_write_iptr()
3280 opj_write_double(l_data_header + 8 + 8, 0); /* length */ in opj_jpip_write_iptr()
3288 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_iptr()
3306 OPJ_BYTE l_data_header [24]; in opj_jpip_write_fidx() local
3316 opj_write_bytes(l_data_header, 24, 4); /* size of iptr */ in opj_jpip_write_fidx()
3317 opj_write_bytes(l_data_header + 4, JPIP_FIDX, in opj_jpip_write_fidx()
3319 opj_write_double(l_data_header + 4 + 4, 0); /* offset */ in opj_jpip_write_fidx()
3320 opj_write_double(l_data_header + 8 + 8, 0); /* length */ in opj_jpip_write_fidx()
3322 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_fidx()
3341 OPJ_BYTE l_data_header [24]; in opj_jpip_write_cidx() local
3352 opj_write_bytes(l_data_header, 24, 4); /* size of iptr */ in opj_jpip_write_cidx()
3353 opj_write_bytes(l_data_header + 4, JPIP_CIDX, in opj_jpip_write_cidx()
3356 opj_write_bytes(l_data_header + 4 + 4, 0, 8); /* offset */ in opj_jpip_write_cidx()
3357 opj_write_bytes(l_data_header + 8 + 8, 0, 8); /* length */ in opj_jpip_write_cidx()
3359 opj_write_double(l_data_header + 4 + 4, 0); /* offset */ in opj_jpip_write_cidx()
3360 opj_write_double(l_data_header + 8 + 8, 0); /* length */ in opj_jpip_write_cidx()
3368 if (opj_stream_write_data(cio, l_data_header, 24, p_manager) != 24) { in opj_jpip_write_cidx()
3387 OPJ_BYTE l_data_header [8];
3392 opj_write_bytes(l_data_header, JPIP_PRXY, 4); /* IPTR */
3393 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3395 opj_write_bytes(l_data_header, offset_jp2c, 8); /* OOFF */
3396 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3397 opj_write_bytes(l_data_header, length_jp2c, 4); /* OBH part 1 */
3398 opj_write_bytes(l_data_header + 4, JP2_JP2C, 4); /* OBH part 2 */
3399 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3401 opj_write_bytes(l_data_header, 1, 1); /* NI */
3402 opj_stream_write_data(cio, l_data_header, 1, p_manager);
3404 opj_write_bytes(l_data_header, offset_idx, 8); /* IOFF */
3405 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3406 opj_write_bytes(l_data_header, length_idx, 4); /* IBH part 1 */
3407 opj_write_bytes(l_data_header + 4, JPIP_CIDX, 4); /* IBH part 2 */
3408 opj_stream_write_data(cio, l_data_header, 8, p_manager);
3412 opj_write_bytes(l_data_header, len, 4); /* L */
3413 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3424 OPJ_BYTE l_data_header [4];
3429 opj_write_bytes(l_data_header, JPIP_FIDX, 4); /* FIDX */
3430 opj_stream_write_data(cio, l_data_header, 4, p_manager);
3436 opj_write_bytes(l_data_header, len, 4); /* L */
3437 opj_stream_write_data(cio, l_data_header, 4, p_manager);