Home
last modified time | relevance | path

Searched refs:channelIdx (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/translators/psd/
H A DPSDWriter.cpp141 for (int channelIdx = 0; channelIdx < fChannels; channelIdx++) { in Encode() local
142 if (channelIdx == 3) in Encode()
145 psdLayersSection << (int16)channelIdx; // Channel num in Encode()
149 psdLayersSection << (uint32)(psdChannel[channelIdx].Length() in Encode()
152 psdLayersSection << (uint64)(psdChannel[channelIdx].Length() in Encode()
157 psdLayersSection << (uint32)(psdChannel[channelIdx].Length() in Encode()
158 + psdByteCounts[channelIdx].Length() + sizeof(int16)); in Encode()
160 psdLayersSection << (uint64)(psdChannel[channelIdx].Length() in Encode()
161 + psdByteCounts[channelIdx].Length() + sizeof(int16)); in Encode()
181 for (int channelIdx = 0; channelIdx < fChannels; channelIdx++) { in Encode() local
[all …]
H A DPSDLoader.cpp210 for (int channelIdx = 0; channelIdx < fChannels; channelIdx++) { in Decode() local
211 uint8 *ptr = imageData[channelIdx]; in Decode()
224 for (int channelIdx = 0; channelIdx < fChannels; channelIdx++) { in Decode() local
225 uint8 *ptr = imageData[channelIdx]; in Decode()