[FFmpeg-trac] #5657(undetermined:open): support Apple 64-bit ARGB ('b64a')

FFmpeg trac at avcodec.org
Sat Jul 2 22:04:53 CEST 2016


#5657: support Apple 64-bit ARGB ('b64a')
-------------------------------------+-------------------------------------
             Reporter:  v0lt         |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by v0lt):

 Or change the position of the alpha channel, then we get
 AV_PIX_FMT_RGBA64BE.
 {{{
 // ARGB64BE -> AV_PIX_FMT_RGBA64BE
 uint64_t pixel = ...;
 uint16_t alfa = pixel >> 48;
 pixel = pixel << 16 | alfa;
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5657#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list