Lines Matching refs:imap
366 GstMapInfo imap, omap; in gst_pnmdec_handle_frame() local
381 gst_buffer_map (s->buf, &imap, GST_MAP_READ); in gst_pnmdec_handle_frame()
383 gst_buffer_map (frame->input_buffer, &imap, GST_MAP_READ); in gst_pnmdec_handle_frame()
393 omap.data[i * 8] = (imap.data[i] & 0x80) ? 0 : 255; in gst_pnmdec_handle_frame()
394 omap.data[i * 8 + 1] = (imap.data[i] & 0x40) ? 0 : 255; in gst_pnmdec_handle_frame()
395 omap.data[i * 8 + 2] = (imap.data[i] & 0x20) ? 0 : 255; in gst_pnmdec_handle_frame()
396 omap.data[i * 8 + 3] = (imap.data[i] & 0x10) ? 0 : 255; in gst_pnmdec_handle_frame()
397 omap.data[i * 8 + 4] = (imap.data[i] & 0x08) ? 0 : 255; in gst_pnmdec_handle_frame()
398 omap.data[i * 8 + 5] = (imap.data[i] & 0x04) ? 0 : 255; in gst_pnmdec_handle_frame()
399 omap.data[i * 8 + 6] = (imap.data[i] & 0x02) ? 0 : 255; in gst_pnmdec_handle_frame()
400 omap.data[i * 8 + 7] = (imap.data[i] & 0x01) ? 0 : 255; in gst_pnmdec_handle_frame()
418 memcpy (omap.data + i * o_rowstride, imap.data + i * i_rowstride, in gst_pnmdec_handle_frame()
422 memcpy (omap.data, imap.data, s->size); in gst_pnmdec_handle_frame()
463 gst_buffer_unmap (s->buf, &imap); in gst_pnmdec_handle_frame()
465 gst_buffer_unmap (frame->input_buffer, &imap); in gst_pnmdec_handle_frame()