/third_party/gstreamer/gstplugins_bad/gst/librfb/ |
D | rfbdecoder.c | 25 decoder); 26 static gboolean rfb_decoder_state_wait_for_security (RfbDecoder * decoder); 28 decoder); 30 decoder); 31 static gboolean rfb_decoder_state_security_result (RfbDecoder * decoder); 32 static gboolean rfb_decoder_state_normal (RfbDecoder * decoder); 33 static gboolean rfb_decoder_state_framebuffer_update (RfbDecoder * decoder); 35 decoder); 36 static gboolean rfb_decoder_state_set_colour_map_entries (RfbDecoder * decoder); 37 static gboolean rfb_decoder_state_server_cut_text (RfbDecoder * decoder); [all …]
|
D | gstrfbsrc.c | 191 src->decoder = rfb_decoder_new (); in gst_rfb_src_init() 201 if (src->decoder) { in gst_rfb_src_finalize() 202 rfb_decoder_free (src->decoder); in gst_rfb_src_finalize() 203 src->decoder = NULL; in gst_rfb_src_finalize() 261 g_free (src->decoder->password); in gst_rfb_src_set_property() 262 src->decoder->password = g_value_dup_string (value); in gst_rfb_src_set_property() 265 src->decoder->offset_x = g_value_get_int (value); in gst_rfb_src_set_property() 268 src->decoder->offset_y = g_value_get_int (value); in gst_rfb_src_set_property() 271 src->decoder->rect_width = g_value_get_int (value); in gst_rfb_src_set_property() 274 src->decoder->rect_height = g_value_get_int (value); in gst_rfb_src_set_property() [all …]
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psft.c | 95 PS_Decoder* decoder = outline->decoder; in cf2_setGlyphWidth() local 98 FT_ASSERT( decoder ); in cf2_setGlyphWidth() 100 if ( !decoder->builder.is_t1 ) in cf2_setGlyphWidth() 101 *decoder->glyph_width = cf2_fixedToInt( width ); in cf2_setGlyphWidth() 141 FT_ASSERT( outline && outline->decoder ); in cf2_builder_moveTo() 144 builder = &outline->decoder->builder; in cf2_builder_moveTo() 163 FT_ASSERT( outline && outline->decoder ); in cf2_builder_lineTo() 166 builder = &outline->decoder->builder; in cf2_builder_lineTo() 207 FT_ASSERT( outline && outline->decoder ); in cf2_builder_cubeTo() 210 builder = &outline->decoder->builder; in cf2_builder_cubeTo() [all …]
|
D | t1decode.c | 135 t1_lookup_glyph_by_stdcharcode_ps( PS_Decoder* decoder, in t1_lookup_glyph_by_stdcharcode_ps() argument 140 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode_ps() 150 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode_ps() 152 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode_ps() 188 t1_lookup_glyph_by_stdcharcode( T1_Decoder decoder, in t1_lookup_glyph_by_stdcharcode() argument 193 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode() 203 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode() 205 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode() 220 t1_decoder_parse_glyph( T1_Decoder decoder, in t1_decoder_parse_glyph() argument 223 return decoder->parse_callback( decoder, glyph ); in t1_decoder_parse_glyph() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | psft.c | 95 PS_Decoder* decoder = outline->decoder; in cf2_setGlyphWidth() local 98 FT_ASSERT( decoder ); in cf2_setGlyphWidth() 100 if ( !decoder->builder.is_t1 ) in cf2_setGlyphWidth() 101 *decoder->glyph_width = cf2_fixedToInt( width ); in cf2_setGlyphWidth() 141 FT_ASSERT( outline && outline->decoder ); in cf2_builder_moveTo() 144 builder = &outline->decoder->builder; in cf2_builder_moveTo() 163 FT_ASSERT( outline && outline->decoder ); in cf2_builder_lineTo() 166 builder = &outline->decoder->builder; in cf2_builder_lineTo() 207 FT_ASSERT( outline && outline->decoder ); in cf2_builder_cubeTo() 210 builder = &outline->decoder->builder; in cf2_builder_cubeTo() [all …]
|
D | t1decode.c | 133 t1_lookup_glyph_by_stdcharcode_ps( PS_Decoder* decoder, in t1_lookup_glyph_by_stdcharcode_ps() argument 138 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode_ps() 148 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode_ps() 150 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode_ps() 186 t1_lookup_glyph_by_stdcharcode( T1_Decoder decoder, in t1_lookup_glyph_by_stdcharcode() argument 191 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode() 201 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode() 203 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode() 218 t1_decoder_parse_glyph( T1_Decoder decoder, in t1_decoder_parse_glyph() argument 221 return decoder->parse_callback( decoder, glyph ); in t1_decoder_parse_glyph() [all …]
|
/third_party/freetype/src/psaux/ |
D | psft.c | 95 PS_Decoder* decoder = outline->decoder; in cf2_setGlyphWidth() local 98 FT_ASSERT( decoder ); in cf2_setGlyphWidth() 100 if ( !decoder->builder.is_t1 ) in cf2_setGlyphWidth() 101 *decoder->glyph_width = cf2_fixedToInt( width ); in cf2_setGlyphWidth() 141 FT_ASSERT( outline && outline->decoder ); in cf2_builder_moveTo() 144 builder = &outline->decoder->builder; in cf2_builder_moveTo() 163 FT_ASSERT( outline && outline->decoder ); in cf2_builder_lineTo() 166 builder = &outline->decoder->builder; in cf2_builder_lineTo() 207 FT_ASSERT( outline && outline->decoder ); in cf2_builder_cubeTo() 210 builder = &outline->decoder->builder; in cf2_builder_cubeTo() [all …]
|
D | t1decode.c | 132 t1_lookup_glyph_by_stdcharcode_ps( PS_Decoder* decoder, in t1_lookup_glyph_by_stdcharcode_ps() argument 137 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode_ps() 147 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode_ps() 149 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode_ps() 185 t1_lookup_glyph_by_stdcharcode( T1_Decoder decoder, in t1_lookup_glyph_by_stdcharcode() argument 190 FT_Service_PsCMaps psnames = decoder->psnames; in t1_lookup_glyph_by_stdcharcode() 200 for ( n = 0; n < decoder->num_glyphs; n++ ) in t1_lookup_glyph_by_stdcharcode() 202 FT_String* name = (FT_String*)decoder->glyph_names[n]; in t1_lookup_glyph_by_stdcharcode() 217 t1_decoder_parse_glyph( T1_Decoder decoder, in t1_decoder_parse_glyph() argument 220 return decoder->parse_callback( decoder, glyph ); in t1_decoder_parse_glyph() [all …]
|
D | psft.h | 60 cf2_decoder_parse_charstrings( PS_Decoder* decoder, 65 cf2_getSubfont( PS_Decoder* decoder ); 68 cf2_getVStore( PS_Decoder* decoder ); 71 cf2_getMaxstack( PS_Decoder* decoder ); 75 cf2_getNormalizedVector( PS_Decoder* decoder, 81 cf2_getPpemY( PS_Decoder* decoder ); 83 cf2_getStdVW( PS_Decoder* decoder ); 85 cf2_getStdHW( PS_Decoder* decoder ); 88 cf2_getBlueMetrics( PS_Decoder* decoder, 93 cf2_getBlueValues( PS_Decoder* decoder, [all …]
|
/third_party/weston/wcap/ |
D | wcap-decode.c | 44 wcap_decoder_decode_rectangle(struct wcap_decoder *decoder, in wcap_decoder_decode_rectangle() argument 47 uint32_t v, *p = decoder->p, *d; in wcap_decoder_decode_rectangle() 52 d = decoder->frame + (rect->y2 - 1) * decoder->width; in wcap_decoder_decode_rectangle() 75 d -= decoder->width; in wcap_decoder_decode_rectangle() 85 decoder->p = p; in wcap_decoder_decode_rectangle() 89 wcap_decoder_get_frame(struct wcap_decoder *decoder) in wcap_decoder_get_frame() argument 95 if (decoder->p == decoder->end) in wcap_decoder_get_frame() 98 header = decoder->p; in wcap_decoder_get_frame() 99 decoder->msecs = header->msecs; in wcap_decoder_get_frame() 100 decoder->count++; in wcap_decoder_get_frame() [all …]
|
D | main.c | 45 write_png(struct wcap_decoder *decoder, const char *filename) in write_png() argument 49 surface = cairo_image_surface_create_for_data((unsigned char *) decoder->frame, in write_png() 51 decoder->width, in write_png() 52 decoder->height, in write_png() 53 decoder->width * 4); in write_png() 102 convert_to_yv12(struct wcap_decoder *decoder, unsigned char *out) in convert_to_yv12() argument 107 uint32_t format = decoder->format; in convert_to_yv12() 109 stride0 = decoder->width; in convert_to_yv12() 110 stride1 = decoder->width / 2; in convert_to_yv12() 111 for (i = 0; i < decoder->height; i += 2) { in convert_to_yv12() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/kate/ |
D | gstkateutil.c | 37 decoder); 105 gst_kate_util_decode_base_init (GstKateDecoderBase * decoder, in gst_kate_util_decode_base_init() argument 108 if (G_UNLIKELY (!decoder)) in gst_kate_util_decode_base_init() 111 decoder->language = NULL; in gst_kate_util_decode_base_init() 112 decoder->category = NULL; in gst_kate_util_decode_base_init() 113 decoder->original_canvas_width = 0; in gst_kate_util_decode_base_init() 114 decoder->original_canvas_height = 0; in gst_kate_util_decode_base_init() 115 decoder->tags = NULL; in gst_kate_util_decode_base_init() 116 decoder->tags_changed = FALSE; in gst_kate_util_decode_base_init() 117 decoder->initialized = FALSE; in gst_kate_util_decode_base_init() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideodecoder.c | 514 static void gst_video_decoder_reset (GstVideoDecoder * decoder, gboolean full, 517 static GstFlowReturn gst_video_decoder_decode_frame (GstVideoDecoder * decoder, 520 static void gst_video_decoder_push_event_list (GstVideoDecoder * decoder, 523 decoder, GstVideoCodecFrame * frame); 525 decoder); 527 decoder, GstBuffer * buf); 533 static gboolean gst_video_decoder_sink_event_default (GstVideoDecoder * decoder, 535 static gboolean gst_video_decoder_src_event_default (GstVideoDecoder * decoder, 538 decoder, GstQuery * query); 540 decoder, GstQuery * query); [all …]
|
D | gstvideodecoder.h | 104 #define GST_VIDEO_DECODER_STREAM_LOCK(decoder) g_rec_mutex_lock (&GST_VIDEO_DECODER (decoder)->stre… argument 112 #define GST_VIDEO_DECODER_STREAM_UNLOCK(decoder) g_rec_mutex_unlock (&GST_VIDEO_DECODER (decoder)->… argument 289 gboolean (*open) (GstVideoDecoder *decoder); 291 gboolean (*close) (GstVideoDecoder *decoder); 293 gboolean (*start) (GstVideoDecoder *decoder); 295 gboolean (*stop) (GstVideoDecoder *decoder); 297 GstFlowReturn (*parse) (GstVideoDecoder *decoder, 302 gboolean (*set_format) (GstVideoDecoder *decoder, 305 gboolean (*reset) (GstVideoDecoder *decoder, 308 GstFlowReturn (*finish) (GstVideoDecoder *decoder); [all …]
|
/third_party/node/test/parallel/ |
D | test-string-decoder.js | 29 let decoder = new StringDecoder(); variable 30 assert.strictEqual(decoder.encoding, 'utf8'); 90 decoder = new StringDecoder('utf8'); variable 91 assert.strictEqual(decoder.write(Buffer.from('E1', 'hex')), ''); 94 assert(decoder.lastChar.equals(new Uint8Array([0xe1, 0, 0, 0]))); 95 assert.strictEqual(decoder.lastNeed, 2); 96 assert.strictEqual(decoder.lastTotal, 3); 98 assert.strictEqual(decoder.end(), '\ufffd'); 105 decoder.write(expectView), 108 assert.strictEqual(decoder.end(), ''); [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | decoder.c | 28 SirenDecoder decoder = (SirenDecoder) malloc (sizeof (struct stSirenDecoder)); in Siren7_NewDecoder() local 29 decoder->sample_rate = sample_rate; in Siren7_NewDecoder() 31 decoder->WavHeader.riff.RiffId = ME_TO_LE32 (RIFF_ID); in Siren7_NewDecoder() 32 decoder->WavHeader.riff.RiffSize = sizeof (PCMWavHeader) - 2 * sizeof (int); in Siren7_NewDecoder() 33 decoder->WavHeader.riff.RiffSize = in Siren7_NewDecoder() 34 ME_TO_LE32 (decoder->WavHeader.riff.RiffSize); in Siren7_NewDecoder() 35 decoder->WavHeader.WaveId = ME_TO_LE32 (WAVE_ID); in Siren7_NewDecoder() 37 decoder->WavHeader.FmtId = ME_TO_LE32 (FMT__ID); in Siren7_NewDecoder() 38 decoder->WavHeader.FmtSize = ME_TO_LE32 (sizeof (FmtChunk)); in Siren7_NewDecoder() 40 decoder->WavHeader.fmt.Format = ME_TO_LE16 (0x01); in Siren7_NewDecoder() [all …]
|
/third_party/gstreamer/gstplugins_bad/tools/element-templates/ |
D | videodecoder | 15 static gboolean gst_replace_open (GstVideoDecoder * decoder); 16 static gboolean gst_replace_close (GstVideoDecoder * decoder); 17 static gboolean gst_replace_start (GstVideoDecoder * decoder); 18 static gboolean gst_replace_stop (GstVideoDecoder * decoder); 19 static GstFlowReturn gst_replace_parse (GstVideoDecoder * decoder, 21 static gboolean gst_replace_set_format (GstVideoDecoder * decoder, 23 static gboolean gst_replace_reset (GstVideoDecoder * decoder, gboolean hard); 24 static GstFlowReturn gst_replace_finish (GstVideoDecoder * decoder); 25 static GstFlowReturn gst_replace_handle_frame (GstVideoDecoder * decoder, 27 static gboolean gst_replace_sink_event (GstVideoDecoder * decoder, [all …]
|
D | audiodecoder | 14 static gboolean gst_replace_start (GstAudioDecoder * decoder); 15 static gboolean gst_replace_stop (GstAudioDecoder * decoder); 16 static gboolean gst_replace_set_format (GstAudioDecoder * decoder, GstCaps * caps); 17 static GstFlowReturn gst_replace_parse (GstAudioDecoder * decoder, 19 static GstFlowReturn gst_replace_handle_frame (GstAudioDecoder * decoder, 21 static void gst_replace_flush (GstAudioDecoder * decoder, gboolean hard); 22 static GstFlowReturn gst_replace_pre_push (GstAudioDecoder * decoder, 24 static gboolean gst_replace_sink_event (GstAudioDecoder * decoder, 26 static gboolean gst_replace_src_event (GstAudioDecoder * decoder, GstEvent * event); 27 static gboolean gst_replace_open (GstAudioDecoder * decoder); [all …]
|
/third_party/gstreamer/gstplugins_base/gst/playback/ |
D | gsturidecodebin.c | 1126 …rate_parse_complete_cb (GstElement * element, gpointer input, guint num, GstURIDecodeBin * decoder) in bitrate_parse_complete_cb() argument 1128 if ((element == NULL) || (decoder == NULL)) { in bitrate_parse_complete_cb() 1131 g_signal_emit (decoder, gst_uri_decode_bin_signals[SIGNAL_BITRATE_PARSE_COMPLETE], 0, input, num); in bitrate_parse_complete_cb() 1137 GstURIDecodeBin * decoder) in unknown_type_cb() argument 1142 GST_ELEMENT_WARNING (decoder, STREAM, CODEC_NOT_FOUND, in unknown_type_cb() 1153 add_element_stream (GstElement * element, GstURIDecodeBin * decoder) in add_element_stream() argument 1163 GstURIDecodeBin * decoder) in no_more_pads_full() argument 1168 GST_DEBUG_OBJECT (element, "no more pads, %d pending", decoder->pending); in no_more_pads_full() 1170 GST_URI_DECODE_BIN_LOCK (decoder); in no_more_pads_full() 1171 final = (decoder->pending == 0); in no_more_pads_full() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gstmpeg2decoder.c | 292 static gboolean gst_mpeg2_decoder_start (GstVideoDecoder * decoder); 293 static gboolean gst_mpeg2_decoder_stop (GstVideoDecoder * decoder); 294 static gboolean gst_mpeg2_decoder_set_format (GstVideoDecoder * decoder, 296 static GstFlowReturn gst_mpeg2_decoder_finish (GstVideoDecoder * decoder); 297 static gboolean gst_mpeg2_decoder_flush (GstVideoDecoder * decoder); 298 static GstFlowReturn gst_mpeg2_decoder_drain (GstVideoDecoder * decoder); 299 static GstFlowReturn gst_mpeg2_decoder_handle_frame (GstVideoDecoder * decoder, 341 gst_mpeg2_decoder_start (GstVideoDecoder * decoder) in gst_mpeg2_decoder_start() argument 343 GstMpeg2Decoder *self = GST_MPEG2_DECODER (decoder); in gst_mpeg2_decoder_start() 360 gst_mpeg2_decoder_stop (GstVideoDecoder * decoder) in gst_mpeg2_decoder_stop() argument [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264dec.cpp | 51 static gboolean gst_openh264dec_start (GstVideoDecoder * decoder); 52 static gboolean gst_openh264dec_stop (GstVideoDecoder * decoder); 54 static gboolean gst_openh264dec_set_format (GstVideoDecoder * decoder, 56 static gboolean gst_openh264dec_reset (GstVideoDecoder * decoder, 58 static GstFlowReturn gst_openh264dec_finish (GstVideoDecoder * decoder); 59 static GstFlowReturn gst_openh264dec_handle_frame (GstVideoDecoder * decoder, 61 static gboolean gst_openh264dec_decide_allocation (GstVideoDecoder * decoder, 125 openh264dec->decoder = NULL; in gst_openh264dec_init() 154 gst_openh264dec_start (GstVideoDecoder * decoder) in gst_openh264dec_start() argument 156 GstOpenh264Dec *openh264dec = GST_OPENH264DEC (decoder); in gst_openh264dec_start() [all …]
|
/third_party/protobuf/js/binary/ |
D | decoder_test.js | 74 var decoder = jspb.BinaryDecoder.alloc(encoder.end()); 77 assertEquals(filter(0), readValue.call(decoder)); 78 assertEquals(filter(epsilon), readValue.call(decoder)); 79 assertEquals(filter(upperLimit), readValue.call(decoder)); 83 if (filter(cursor) != readValue.call(decoder)) throw 'fail!'; 129 var decoder = jspb.BinaryDecoder.alloc(encoder.end()); 132 assertEquals(filter(lowerLimit), readValue.call(decoder)); 133 assertEquals(filter(-epsilon), readValue.call(decoder)); 134 assertEquals(filter(0), readValue.call(decoder)); 135 assertEquals(filter(epsilon), readValue.call(decoder)); [all …]
|
/third_party/freetype/src/type1/ |
D | t1gload.c | 42 T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder, in T1_Parse_Glyph_And_Get_Char_String() argument 47 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph_And_Get_Char_String() 65 decoder->font_matrix = type1->font_matrix; in T1_Parse_Glyph_And_Get_Char_String() 66 decoder->font_offset = type1->font_offset; in T1_Parse_Glyph_And_Get_Char_String() 90 decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 92 decoder, in T1_Parse_Glyph_And_Get_Char_String() 96 if ( decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 98 decoder, in T1_Parse_Glyph_And_Get_Char_String() 107 psaux->ps_decoder_init( &psdecoder, decoder, TRUE ); in T1_Parse_Glyph_And_Get_Char_String() 125 ((T1_GlyphSlot)decoder->builder.glyph)->hint = FALSE; in T1_Parse_Glyph_And_Get_Char_String() [all …]
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1gload.c | 42 T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder, in T1_Parse_Glyph_And_Get_Char_String() argument 47 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph_And_Get_Char_String() 65 decoder->font_matrix = type1->font_matrix; in T1_Parse_Glyph_And_Get_Char_String() 66 decoder->font_offset = type1->font_offset; in T1_Parse_Glyph_And_Get_Char_String() 90 decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 92 decoder, in T1_Parse_Glyph_And_Get_Char_String() 96 if ( decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 98 decoder, in T1_Parse_Glyph_And_Get_Char_String() 107 psaux->ps_decoder_init( &psdecoder, decoder, TRUE ); in T1_Parse_Glyph_And_Get_Char_String() 125 ((T1_GlyphSlot)decoder->builder.glyph)->hint = FALSE; in T1_Parse_Glyph_And_Get_Char_String() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/type1/ |
D | t1gload.c | 43 T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder, in T1_Parse_Glyph_And_Get_Char_String() argument 48 T1_Face face = (T1_Face)decoder->builder.face; in T1_Parse_Glyph_And_Get_Char_String() 66 decoder->font_matrix = type1->font_matrix; in T1_Parse_Glyph_And_Get_Char_String() 67 decoder->font_offset = type1->font_offset; in T1_Parse_Glyph_And_Get_Char_String() 91 decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 93 decoder, in T1_Parse_Glyph_And_Get_Char_String() 97 if ( decoder->builder.metrics_only ) in T1_Parse_Glyph_And_Get_Char_String() 99 decoder, in T1_Parse_Glyph_And_Get_Char_String() 108 psaux->ps_decoder_init( &psdecoder, decoder, TRUE ); in T1_Parse_Glyph_And_Get_Char_String() 126 ((T1_GlyphSlot)decoder->builder.glyph)->hint = FALSE; in T1_Parse_Glyph_And_Get_Char_String() [all …]
|