Commits on Source (2)
-
Steve Lhomme authored
No need to use a pointer and an error code for that.
38ad102b -
Steve Lhomme authored
If the mask corresponds exactly, we have an exact match. If the RGB source has a mask but none of the RGB mapping uses the same mask, we map to a close RGB format with a different mask. It's better than using the first VLC_CODEC_RGBxx in the list if there's one corresponding to the exact match. Another option would be to move the VLC_RGB_ES() calls at the end of the list.
a309fb4c
Showing
- modules/codec/avcodec/chroma.c 19 additions, 11 deletionsmodules/codec/avcodec/chroma.c
- modules/codec/avcodec/chroma.h 1 addition, 1 deletionmodules/codec/avcodec/chroma.h
- modules/codec/avcodec/encoder.c 2 additions, 2 deletionsmodules/codec/avcodec/encoder.c
- modules/demux/avformat/mux.c 2 additions, 2 deletionsmodules/demux/avformat/mux.c
- modules/video_chroma/swscale.c 4 additions, 4 deletionsmodules/video_chroma/swscale.c