Lines Matching refs:user_chunk_data
617 static struct user_chunk_data struct
625 user_chunk_data; variable
637 MEMZERO(user_chunk_data); in init_callback_info()
638 user_chunk_data.info_ptr = info_ptr; in init_callback_info()
642 set_location(png_structp png_ptr, struct user_chunk_data *data, int what) in set_location()
673 struct user_chunk_data *my_user_chunk_data = in read_user_chunk_callback()
674 (struct user_chunk_data*)png_get_user_chunk_ptr(png_ptr); in read_user_chunk_callback()
738 fprintf(STDERR, "\n stereo mode = %d\n", user_chunk_data.sTER_mode); in write_sTER_chunk()
740 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
752 (unsigned long)user_chunk_data.vpAg_width, in write_vpAg_chunk()
753 (unsigned long)user_chunk_data.vpAg_height, in write_vpAg_chunk()
754 user_chunk_data.vpAg_units); in write_vpAg_chunk()
756 png_save_uint_32(vpag_chunk_data, user_chunk_data.vpAg_width); in write_vpAg_chunk()
757 png_save_uint_32(vpag_chunk_data + 4, user_chunk_data.vpAg_height); in write_vpAg_chunk()
758 vpag_chunk_data[8] = user_chunk_data.vpAg_units; in write_vpAg_chunk()
775 if (user_chunk_data.location[i] == (location | have_sTER)) in write_chunks()
778 else if (user_chunk_data.location[i] == (location | have_vpAg)) in write_chunks()
902 png_set_read_user_chunk_fn(read_ptr, &user_chunk_data, in test_one_file()
1044 user_chunk_data.info_ptr = NULL; in test_one_file()