[FFmpeg-trac] #3739(avutil:new): support bitand functions > 8 bit

FFmpeg trac at avcodec.org
Tue Jun 24 04:20:46 CEST 2014

#3739: support bitand functions > 8 bit
             Reporter:  dericed      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avutil
              Version:  git-master   |               Resolution:
             Keywords:  bitand       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by dericed):

 No, ticket #2475 is for supporting >8 bit in lut, while ticket #3739 is
 for supporting values in bitand/bitor greater than 8 bit. Unfortunately in
 my example above this would only work if both lut and bitand supported >8

 This uses geq

 ffplay -f lavfi

 The 128 is 0b10000000, so the result zeros out bits 2-8 while bit 1 is
 left as it.

 ffplay -f lavfi
 zeros out bits 1-7 and leaves 8. To normalize this you could multiple the
 bitand result by 255 to reveal the detail of bit position 8.

 ffplay -f lavfi

 From here I tried to increase y value of bitand to something >8 bit, such
 as 512, but realize that geq as well only outputs 8 bit.

Ticket URL: <https://trac.ffmpeg.org/ticket/3739#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list