mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-25 17:01:56 +08:00
mjpeg: Rename some symbols to avpriv_* instead of ff_*
These symbols will be used from the RTP/JPEG depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Martin Storsjö
parent
28165fee1b
commit
a0845bae49
@@ -59,15 +59,15 @@ static uint8_t *append(uint8_t *buf, const uint8_t *src, int size)
|
||||
static uint8_t *append_dht_segment(uint8_t *buf)
|
||||
{
|
||||
buf = append(buf, dht_segment_head, sizeof(dht_segment_head));
|
||||
buf = append(buf, ff_mjpeg_bits_dc_luminance + 1, 16);
|
||||
buf = append(buf, avpriv_mjpeg_bits_dc_luminance + 1, 16);
|
||||
buf = append(buf, dht_segment_frag, sizeof(dht_segment_frag));
|
||||
buf = append(buf, ff_mjpeg_val_dc, 12);
|
||||
buf = append(buf, avpriv_mjpeg_val_dc, 12);
|
||||
*(buf++) = 0x10;
|
||||
buf = append(buf, ff_mjpeg_bits_ac_luminance + 1, 16);
|
||||
buf = append(buf, ff_mjpeg_val_ac_luminance, 162);
|
||||
buf = append(buf, avpriv_mjpeg_bits_ac_luminance + 1, 16);
|
||||
buf = append(buf, avpriv_mjpeg_val_ac_luminance, 162);
|
||||
*(buf++) = 0x11;
|
||||
buf = append(buf, ff_mjpeg_bits_ac_chrominance + 1, 16);
|
||||
buf = append(buf, ff_mjpeg_val_ac_chrominance, 162);
|
||||
buf = append(buf, avpriv_mjpeg_bits_ac_chrominance + 1, 16);
|
||||
buf = append(buf, avpriv_mjpeg_val_ac_chrominance, 162);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user