Lines Matching defs:hdr
1320 static int read_frame_header(SANMVideoContext *ctx, SANMFrameHeader *hdr)
1331 hdr->width = bytestream2_get_le32u(&ctx->gb);
1332 hdr->height = bytestream2_get_le32u(&ctx->gb);
1334 if (hdr->width != ctx->width || hdr->height != ctx->height) {
1339 hdr->seq_num = bytestream2_get_le16u(&ctx->gb);
1340 hdr->codec = bytestream2_get_byteu(&ctx->gb);
1341 hdr->rotate_code = bytestream2_get_byteu(&ctx->gb);
1347 hdr->bg_color = bytestream2_get_le16u(&ctx->gb);
1351 hdr->rle_output_size = bytestream2_get_le32u(&ctx->gb);
1368 static int copy_output(SANMVideoContext *ctx, SANMFrameHeader *hdr)
1373 ptrdiff_t dstpitch, srcpitch = ctx->pitch * (hdr ? sizeof(ctx->frm0[0]) : 1);