Searched refs:cntx (Results 1 – 2 of 2) sorted by relevance
52 MSPContext * cntx = s->priv_data; in msp_read_header() local72 …cntx->packet_size = av_image_get_buffer_size(st->codecpar->format, st->codecpar->width, st->codecp… in msp_read_header()74 cntx->packet_size = 2 * st->codecpar->height; in msp_read_header()76 if (cntx->packet_size <= 0) in msp_read_header()77 return cntx->packet_size < 0 ? cntx->packet_size : AVERROR_INVALIDDATA; in msp_read_header()85 MSPContext *cntx = s->priv_data; in msp_read_packet() local88 ret = av_get_packet(s->pb, pkt, cntx->packet_size); in msp_read_packet()
161 static bool key_equals(char const *real_key,char const *cntx,char const *key) in key_equals() argument163 if(cntx == 0) in key_equals()167 size_t cntx_len = strlen(cntx); in key_equals()172 memcmp(real_key,cntx,cntx_len) == 0 in key_equals()