Home
last modified time | relevance | path

Searched refs:palette_type (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Ddsicin.c170 int rc, palette_type; in cin_read_packet() local
181 palette_type = 1; in cin_read_packet()
183 palette_type = 0; in cin_read_packet()
187 pkt_size = (palette_type + 3LL) * hdr->pal_colors_count + hdr->video_frame_size; in cin_read_packet()
200 pkt->data[0] = palette_type; in cin_read_packet()
/third_party/ffmpeg/libavcodec/
H A Ddsicinvideo.c203 int i, y, palette_type, palette_colors_count, in cinvideo_decode_frame() local
206 palette_type = buf[0]; in cinvideo_decode_frame()
214 if (bitmap_frame_size < palette_colors_count * (3 + (palette_type != 0))) in cinvideo_decode_frame()
216 if (palette_type == 0) { in cinvideo_decode_frame()
H A Dflashsv2enc.c114 uint8_t palette_type; ///< 0=>default, 1=>custom - changed when palette regenerated. member
267 s->palette_type = -1; // so that the palette will be generated in reconfigure_at_keyframe in flashsv2_encode_init()
832 if ((s->use_custom_palette && s->palette_type != 1) || update_palette) { in reconfigure_at_keyframe()
836 s->palette_type = 1; in reconfigure_at_keyframe()
838 } else if (!s->use_custom_palette && s->palette_type != 0) { in reconfigure_at_keyframe()
842 s->palette_type = 0; in reconfigure_at_keyframe()

Completed in 3 milliseconds