Lines Matching defs:dst

73  * @param dst    Destination pointer (variable name)
78 #define ENCODE(type, endian, src, dst, n, shift, offset) \
82 bytestream_put_ ## endian(&dst, v); \
85 #define ENCODE_PLANAR(type, endian, dst, n, shift, offset) \
92 bytestream_put_ ## endian(&dst, v); \
101 unsigned char *dst;
115 dst = avpkt->data;
119 ENCODE(uint32_t, le32, samples, dst, n, 0, 0x80000000)
122 ENCODE(uint32_t, be32, samples, dst, n, 0, 0x80000000)
125 ENCODE(int32_t, le24, samples, dst, n, 8, 0)
128 ENCODE_PLANAR(int32_t, le24, dst, n, 8, 0)
131 ENCODE(int32_t, be24, samples, dst, n, 8, 0)
134 ENCODE(uint32_t, le24, samples, dst, n, 8, 0x800000)
137 ENCODE(uint32_t, be24, samples, dst, n, 8, 0x800000)
144 bytestream_put_be24(&dst, tmp);
149 ENCODE(uint16_t, le16, samples, dst, n, 0, 0x8000)
152 ENCODE(uint16_t, be16, samples, dst, n, 0, 0x8000)
155 ENCODE(uint8_t, byte, samples, dst, n, 0, -128)
158 ENCODE_PLANAR(uint8_t, byte, dst, n, 0, -128)
163 ENCODE(int64_t, le64, samples, dst, n, 0, 0)
167 ENCODE(int32_t, le32, samples, dst, n, 0, 0)
170 ENCODE_PLANAR(int32_t, le32, dst, n, 0, 0)
173 ENCODE(int16_t, le16, samples, dst, n, 0, 0)
176 ENCODE_PLANAR(int16_t, le16, dst, n, 0, 0)
186 ENCODE(int64_t, be64, samples, dst, n, 0, 0)
190 ENCODE(int32_t, be32, samples, dst, n, 0, 0)
193 ENCODE(int16_t, be16, samples, dst, n, 0, 0)
196 ENCODE_PLANAR(int16_t, be16, dst, n, 0, 0)
205 memcpy(dst, samples, n * sample_size);
216 bytestream_put_buffer(&dst, src, n * sample_size);
222 *dst++ = linear_to_alaw[(v + 32768) >> 2];
228 *dst++ = linear_to_ulaw[(v + 32768) >> 2];
234 *dst++ = linear_to_vidc[(v + 32768) >> 2];
247 void (*vector_fmul_scalar)(float *dst, const float *src, float mul,
305 * @param dst Destination pointer (variable name)
310 #define DECODE(size, endian, src, dst, n, shift, offset) \
313 AV_WN ## size ## A(dst, (uint ## size ## _t)(v - offset) << shift); \
314 dst += size / 8; \
317 #define DECODE_PLANAR(size, endian, src, dst, n, shift, offset) \
321 dst = frame->extended_data[c]; \
324 AV_WN ## size ## A(dst, (uint ## size ##_t)(v - offset) << shift); \
325 dst += size / 8; \