Searched refs:header_write (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/media/platform/imagination/ |
D | e5010-jpeg-enc.c | 798 static void header_write(struct e5010_context *ctx, u8 *addr, unsigned int *offset, in header_write() function 821 header_write(ctx, buffer, offset, 2, START_OF_IMAGE); in encode_marker_segment() 822 header_write(ctx, buffer, offset, 2, DQT_MARKER); in encode_marker_segment() 823 header_write(ctx, buffer, offset, 3, LQPQ << 4); in encode_marker_segment() 825 header_write(ctx, buffer, offset, 1, ctx->luma_qp[v4l2_jpeg_zigzag_scan_index[i]]); in encode_marker_segment() 827 header_write(ctx, buffer, offset, 2, DQT_MARKER); in encode_marker_segment() 828 header_write(ctx, buffer, offset, 3, (LQPQ << 4) | 1); in encode_marker_segment() 830 header_write(ctx, buffer, offset, 1, in encode_marker_segment() 834 header_write(ctx, buffer, offset, 2, DHT_MARKER); in encode_marker_segment() 835 header_write(ctx, buffer, offset, 2, LH_DC); in encode_marker_segment() [all …]
|