Lines Matching refs:tRNS
4944 ucvector tRNS; in addChunk_tRNS() local
4945 ucvector_init(&tRNS); in addChunk_tRNS()
4956 for(i = 0; i < amount; i++) ucvector_push_back(&tRNS, info->palette[4 * i + 3]); in addChunk_tRNS()
4962 ucvector_push_back(&tRNS, (unsigned char)(info->key_r / 256)); in addChunk_tRNS()
4963 ucvector_push_back(&tRNS, (unsigned char)(info->key_r % 256)); in addChunk_tRNS()
4970 ucvector_push_back(&tRNS, (unsigned char)(info->key_r / 256)); in addChunk_tRNS()
4971 ucvector_push_back(&tRNS, (unsigned char)(info->key_r % 256)); in addChunk_tRNS()
4972 ucvector_push_back(&tRNS, (unsigned char)(info->key_g / 256)); in addChunk_tRNS()
4973 ucvector_push_back(&tRNS, (unsigned char)(info->key_g % 256)); in addChunk_tRNS()
4974 ucvector_push_back(&tRNS, (unsigned char)(info->key_b / 256)); in addChunk_tRNS()
4975 ucvector_push_back(&tRNS, (unsigned char)(info->key_b % 256)); in addChunk_tRNS()
4979 error = addChunk(out, "tRNS", tRNS.data, tRNS.size); in addChunk_tRNS()
4980 ucvector_cleanup(&tRNS); in addChunk_tRNS()