Lines Matching defs:tag
100 static char *avi_stream2fourcc(char *tag, int index, enum AVMediaType type)
102 tag[0] = '0' + index / 10;
103 tag[1] = '0' + index % 10;
105 tag[2] = 'd';
106 tag[3] = 'c';
109 tag[2] = 's';
110 tag[3] = 'b';
112 tag[2] = 'w';
113 tag[3] = 'b';
115 tag[4] = '\0';
116 return tag;
361 unsigned char tag[5];
374 ffio_wfourcc(pb, avi_stream2fourcc(tag, i, enc->codec_type));
440 /* some padding for easier tag editing */
460 char tag[5];
476 avi_stream2fourcc(tag, i, s->streams[i]->codec->codec_type);
489 ffio_wfourcc(pb, tag); /* dwChunkId */
523 char tag[5];
552 avi_stream2fourcc(tag, stream_id,
554 ffio_wfourcc(pb, tag);
570 unsigned char tag[5];
616 avi_stream2fourcc(tag, stream_index, enc->codec_type);
647 avio_write(pb, tag, 4);