Home
last modified time | relevance | path

Searched refs:AV_PIX_FMT_PAL8 (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/ffmpeg/libavcodec/
Draw.c166 { AV_PIX_FMT_PAL8, MKTAG('P', 'A', 'L', 8 ) },
317 { AV_PIX_FMT_PAL8, 1 },
318 { AV_PIX_FMT_PAL8, 2 },
319 { AV_PIX_FMT_PAL8, 4 },
320 { AV_PIX_FMT_PAL8, 8 },
330 { AV_PIX_FMT_PAL8, 1 },
331 { AV_PIX_FMT_PAL8, 2 },
332 { AV_PIX_FMT_PAL8, 4 },
333 { AV_PIX_FMT_PAL8, 8 },
337 { AV_PIX_FMT_PAL8, 33 },
Dsunrast.c80 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_MONOWHITE; in sunrast_decode_frame()
83 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_NONE; in sunrast_decode_frame()
86 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_GRAY8; in sunrast_decode_frame()
178 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 && depth < 8) { in sunrast_decode_frame()
Dargo.c621 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in decode_frame()
625 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in decode_frame()
631 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
637 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
643 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
649 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
662 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in decode_frame()
681 avctx->pix_fmt = AV_PIX_FMT_PAL8; break; in decode_init()
Dbrenderpix.c176 avctx->pix_fmt = AV_PIX_FMT_PAL8; in pix_decode_frame()
220 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 && in pix_decode_frame()
252 } else if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in pix_decode_frame()
Dtscc.c74 if (c->avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
116 if (c->avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
141 case 8: avctx->pix_fmt = AV_PIX_FMT_PAL8; break; in decode_init()
Dbmpenc.c52 case AV_PIX_FMT_PAL8: in bmp_encode_init()
103 case AV_PIX_FMT_PAL8: in bmp_encode_frame()
176 …B8, AV_PIX_FMT_BGR8, AV_PIX_FMT_RGB4_BYTE, AV_PIX_FMT_BGR4_BYTE, AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8,
Dxwdenc.c123 case AV_PIX_FMT_PAL8: in xwd_encode_frame()
184 if (pix_fmt == AV_PIX_FMT_PAL8) { in xwd_encode_frame()
242 AV_PIX_FMT_PAL8,
Daasc.c53 avctx->pix_fmt = AV_PIX_FMT_PAL8; in aasc_decode_init()
132 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in aasc_decode_frame()
Drawdec.c121 else if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in raw_init_decoder()
355 len = context->frame_size - (avctx->pix_fmt==AV_PIX_FMT_PAL8 ? AVPALETTE_SIZE : 0); in MKSCALE16()
369 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in MKSCALE16()
415 avctx->pix_fmt==AV_PIX_FMT_PAL8) && in MKSCALE16()
428 if ((avctx->pix_fmt == AV_PIX_FMT_PAL8 && buf_size < context->frame_size) || in MKSCALE16()
Dpcxenc.c129 case AV_PIX_FMT_PAL8: in pcx_encode_frame()
217 AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8,
Dbmp.c187 avctx->pix_fmt = AV_PIX_FMT_PAL8; in bmp_decode_frame()
194 avctx->pix_fmt = AV_PIX_FMT_PAL8; in bmp_decode_frame()
244 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in bmp_decode_frame()
Dtargaenc.c108 case AV_PIX_FMT_PAL8: { in targa_encode_frame()
229 AV_PIX_FMT_BGR24, AV_PIX_FMT_BGRA, AV_PIX_FMT_RGB555LE, AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8,
Dsunrastenc.c169 case AV_PIX_FMT_PAL8 : in sunrast_encode_init()
247 AV_PIX_FMT_PAL8,
Dqdrw.c61 if (avctx->pix_fmt != AV_PIX_FMT_PAL8) in parse_palette()
356 avctx->pix_fmt = AV_PIX_FMT_PAL8; in decode_frame()
358 avctx->pix_fmt = AV_PIX_FMT_PAL8; in decode_frame()
Dmscc.c154 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
209 case 8: avctx->pix_fmt = AV_PIX_FMT_PAL8; break; in decode_init()
Dxwddec.c173 avctx->pix_fmt = AV_PIX_FMT_PAL8; in xwd_decode_frame()
220 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { in xwd_decode_frame()
Ddds.c240 avctx->pix_fmt = AV_PIX_FMT_PAL8; in parse_pixel_format()
348 avctx->pix_fmt = AV_PIX_FMT_PAL8; in parse_pixel_format()
356 avctx->pix_fmt = AV_PIX_FMT_PAL8; in parse_pixel_format()
680 } else if (!ctx->paletted && ctx->bpp == 4 && avctx->pix_fmt == AV_PIX_FMT_PAL8) { in dds_decode()
Diff.c412 … (avctx->extradata_size >= 2 && palette_size) ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_GRAY8; in decode_init()
1550 avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
1561 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) in decode_frame()
1568 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1608 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1639 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1661 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1712 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1731 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 || avctx->pix_fmt == AV_PIX_FMT_GRAY8) { in decode_frame()
1761 if (avctx->codec_tag == MKTAG('I', 'L', 'B', 'M') && avctx->pix_fmt == AV_PIX_FMT_PAL8) { in decode_frame()
[all …]
Dpngenc.c632 case AV_PIX_FMT_PAL8: in apng_do_inverse_blend()
650 if (input->format == AV_PIX_FMT_PAL8) { in apng_do_inverse_blend()
690 case AV_PIX_FMT_PAL8: in apng_do_inverse_blend()
1007 case AV_PIX_FMT_PAL8: in png_enc_init()
1077 case AV_PIX_FMT_PAL8: in png_enc_init()
1153 AV_PIX_FMT_PAL8,
1174 AV_PIX_FMT_PAL8,
Dzmbvenc.c190 palptr = (avctx->pix_fmt == AV_PIX_FMT_PAL8) ? (uint32_t *)p->data[1] : NULL; in encode_frame()
331 case AV_PIX_FMT_PAL8: in encode_init()
440 .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_PAL8,
Dtmv.c85 avctx->pix_fmt = AV_PIX_FMT_PAL8; in tmv_decode_init()
Dmsvideo1.c71 avctx->pix_fmt = AV_PIX_FMT_PAL8; in msvideo1_decode_init()
182 if (s->avctx->pix_fmt == AV_PIX_FMT_PAL8) in msvideo1_decode_8bit()
Dtarga.c154 avctx->pix_fmt = ((compr & (~TGA_RLE)) == TGA_BW) ? AV_PIX_FMT_GRAY8 : AV_PIX_FMT_PAL8; in decode_frame()
207 if (avctx->pix_fmt != AV_PIX_FMT_PAL8) //should not occur but skip palette anyway in decode_frame()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.c250 pix_fmt_info[AV_PIX_FMT_PAL8].name = g_strdup ("pal8"); in gst_ffmpeg_init_pix_fmt_info()
251 pix_fmt_info[AV_PIX_FMT_PAL8].nb_channels = 4; in gst_ffmpeg_init_pix_fmt_info()
252 pix_fmt_info[AV_PIX_FMT_PAL8].is_alpha = 1; in gst_ffmpeg_init_pix_fmt_info()
253 pix_fmt_info[AV_PIX_FMT_PAL8].color_type = FF_COLOR_RGB; in gst_ffmpeg_init_pix_fmt_info()
254 pix_fmt_info[AV_PIX_FMT_PAL8].pixel_type = FF_PIXEL_PALETTE; in gst_ffmpeg_init_pix_fmt_info()
255 pix_fmt_info[AV_PIX_FMT_PAL8].depth = 8; in gst_ffmpeg_init_pix_fmt_info()
420 case AV_PIX_FMT_PAL8: in gst_ffmpeg_avpicture_fill()
/third_party/ffmpeg/libavformat/
Dicoenc.c48 if (p->format == AV_PIX_FMT_PAL8 && AV_PIX_FMT_RGB32 != AV_PIX_FMT_BGRA) { in ico_check_attributes()
51 } else if (p->format != AV_PIX_FMT_PAL8 && in ico_check_attributes()
171 s->streams[i]->codecpar->format == AV_PIX_FMT_PAL8) { in ico_write_trailer()

12345