Lines Matching refs:user_chunk_data
646 static struct user_chunk_data struct
654 user_chunk_data; argument
666 MEMZERO(user_chunk_data); in init_callback_info()
667 user_chunk_data.info_ptr = info_ptr; in init_callback_info()
671 set_location(png_structp png_ptr, struct user_chunk_data *data, int what) in set_location()
702 struct user_chunk_data *my_user_chunk_data = in read_user_chunk_callback()
703 (struct user_chunk_data*)png_get_user_chunk_ptr(png_ptr); in read_user_chunk_callback()
767 fprintf(STDERR, "\n stereo mode = %d\n", user_chunk_data.sTER_mode); in write_sTER_chunk()
769 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
781 (unsigned long)user_chunk_data.vpAg_width, in write_vpAg_chunk()
782 (unsigned long)user_chunk_data.vpAg_height, in write_vpAg_chunk()
783 user_chunk_data.vpAg_units); in write_vpAg_chunk()
785 png_save_uint_32(vpag_chunk_data, user_chunk_data.vpAg_width); in write_vpAg_chunk()
786 png_save_uint_32(vpag_chunk_data + 4, user_chunk_data.vpAg_height); in write_vpAg_chunk()
787 vpag_chunk_data[8] = user_chunk_data.vpAg_units; in write_vpAg_chunk()
804 if (user_chunk_data.location[i] == (location | have_sTER)) in write_chunks()
807 else if (user_chunk_data.location[i] == (location | have_vpAg)) in write_chunks()
937 png_set_read_user_chunk_fn(read_ptr, &user_chunk_data, in test_one_file()
1072 user_chunk_data.info_ptr = NULL; in test_one_file()