Lines Matching defs:size
34 static uint32_t read_offs(AVCodecContext *avctx, GetBitContext *gb, uint32_t size, const char *err_msg){
36 if(offs >= size){
37 av_log(avctx, AV_LOG_WARNING, err_msg, offs, size);
47 int buf_size = avpkt->size;
79 field_size = get_bits_long(&hgb, 32); /* field size */
80 av_log(avctx, AV_LOG_DEBUG, "field size: 0x%"PRIx32"\n", field_size);
81 skip_bits(&hgb, 32); /* padded field size */
82 second_field_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "second_field_offs is %d and size is %d\n");
86 dqt_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dqt is %d and size is %d\n");
96 dht_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "dht is %d and size is %d\n");
104 sof_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sof is %d and size is %d\n");
113 sos_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sos is %d and size is %d\n");
115 sod_offs = read_offs(avctx, &hgb, buf_end - buf_ptr, "sof is %d and size is %d\n");