Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5b1b91cf
Commit
5b1b91cf
authored
Dec 02, 2011
by
Carl Eugen Hoyos
Committed by
Vittorio Giovara
Mar 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiff: Support rgba encoding
parent
6d78e852
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tiffenc.c
libavcodec/tiffenc.c
+2
-0
No files found.
libavcodec/tiffenc.c
View file @
5b1b91cf
...
...
@@ -230,6 +230,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
switch
(
avctx
->
pix_fmt
)
{
case
AV_PIX_FMT_RGB48LE
:
case
AV_PIX_FMT_GRAY16LE
:
case
AV_PIX_FMT_RGBA
:
case
AV_PIX_FMT_RGB24
:
case
AV_PIX_FMT_GRAY8
:
case
AV_PIX_FMT_PAL8
:
...
...
@@ -513,6 +514,7 @@ AVCodec ff_tiff_encoder = {
.
encode2
=
encode_frame
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_RGB48LE
,
AV_PIX_FMT_PAL8
,
AV_PIX_FMT_RGBA
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY16LE
,
AV_PIX_FMT_MONOBLACK
,
AV_PIX_FMT_MONOWHITE
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUV444P
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment