[FFmpeg-trac] #705(undetermined:new): iff: support masking

FFmpeg trac at avcodec.org
Sun Dec 4 13:45:46 CET 2011


#705: iff: support masking
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 SDL_image

 IMG_lbm:
 {{{
                 /* If nbcolors < 2^nbplanes, repeat the colormap */
                 /* This happens when pictures have a stencil mask */
                 if ( nbrcolorsfinal > (1<<bmhd.planes) ) {
                         nbrcolorsfinal = (1<<bmhd.planes);
                 }
                 for ( i=nbcolors; i < (Uint32)nbrcolorsfinal; i++ )
                 {
                         Image->format->palette->colors[i].r =
 Image->format->palette->colors[i%nbcolors].r;
                         Image->format->palette->colors[i].g =
 Image->format->palette->colors[i%nbcolors].g;
                         Image->format->palette->colors[i].b =
 Image->format->palette->colors[i%nbcolors].b;
                 }
 }}}

 http://www.libsdl.org/projects/SDL_image/

 http://hg.libsdl.org/SDL_image/rev/a6565b353095

 {{{
 C:\>ffmpeg -i peterface.iff
 ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Nov 30 2011 00:52:52 with gcc 4.6.2
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-ru
 ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
 libope
 ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
 libgsm --en
 able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
 libschroedinger -
 -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-
 amrwben
 c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
 --enable-
 libxvid --enable-zlib
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 39. 1 / 53. 39. 1
   libavformat  53. 22. 0 / 53. 22. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [iff_byterun1 @ 020B90E0] Masking not supported
     Last message repeated 1 times
 [IFF @ 020B2320] Estimating duration from bitrate, this may be inaccurate
 Input #0, IFF, from 'peterface.iff':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: iff_byterun1 (ILBM / 0x4D424C49), rgba, 270x202,
 SAR 10:
 11 DAR 1350:1111, 90k tbr, 90k tbn, 90k tbc
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/705>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list