Lines Matching refs:user_chunk_data
638 static struct user_chunk_data struct
646 user_chunk_data; argument
658 MEMZERO(user_chunk_data); in init_callback_info()
659 user_chunk_data.info_ptr = info_ptr; in init_callback_info()
663 set_location(png_structp png_ptr, struct user_chunk_data *data, int what) in set_location()
694 struct user_chunk_data *my_user_chunk_data = in read_user_chunk_callback()
695 (struct user_chunk_data*)png_get_user_chunk_ptr(png_ptr); in read_user_chunk_callback()
759 fprintf(STDERR, "\n stereo mode = %d\n", user_chunk_data.sTER_mode); in write_sTER_chunk()
761 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
773 (unsigned long)user_chunk_data.vpAg_width, in write_vpAg_chunk()
774 (unsigned long)user_chunk_data.vpAg_height, in write_vpAg_chunk()
775 user_chunk_data.vpAg_units); in write_vpAg_chunk()
777 png_save_uint_32(vpag_chunk_data, user_chunk_data.vpAg_width); in write_vpAg_chunk()
778 png_save_uint_32(vpag_chunk_data + 4, user_chunk_data.vpAg_height); in write_vpAg_chunk()
779 vpag_chunk_data[8] = user_chunk_data.vpAg_units; in write_vpAg_chunk()
796 if (user_chunk_data.location[i] == (location | have_sTER)) in write_chunks()
799 else if (user_chunk_data.location[i] == (location | have_vpAg)) in write_chunks()
929 png_set_read_user_chunk_fn(read_ptr, &user_chunk_data, in test_one_file()
1081 user_chunk_data.info_ptr = NULL; in test_one_file()