<commit_before>%% extends "base.c.t"

{% block descr %}Specialized blit functions and macros.{% endblock %}

%% block body
#include <stdio.h>
#include <string.h>
#include "GP_Pixel.h"
#include "GP.h"
#include "GP_Context.h"
#include "GP_Blit.h"

%% for ps in pixelsizes
/*** Blit preservimg PixelType, variant for {{ ps.suffix }} ***/
void GP_Blit_{{ ps.suffix }}(const GP_Context *c1, GP_Coord x1, GP_Coord y1, GP_Size w, GP_Size h,
			GP_Context *c2, GP_Coord x2, GP_Coord y2)
{
	if (unlikely(w == 0 || h == 0)) return;

	/* Special case - copy whole line-block with one memcpy() */
	if ((x1 == 0) && (x2 == 0) && (w == c1->w) && (c1->w == c2->w) &&<commit_msg>The GP.h header shouldn't be used in library itself.<commit_after>%% extends "base.c.t"

{% block descr %}Specialized blit functions and macros.{% endblock %}

%% block body
#include <stdio.h>
#include <string.h>
#include "GP_Pixel.h"
#include "GP_GetPutPixel.h"
#include "GP_Context.h"
#include "GP_Blit.h"

%% for ps in pixelsizes
/*** Blit preservimg PixelType, variant for {{ ps.suffix }} ***/
void GP_Blit_{{ ps.suffix }}(const GP_Context *c1, GP_Coord x1, GP_Coord y1, GP_Size w, GP_Size h,
			GP_Context *c2, GP_Coord x2, GP_Coord y2)
{
	if (unlikely(w == 0 || h == 0)) return;

	/* Special case - copy whole line-block with one memcpy() */
	if ((x1 == 0) && (x2 == 0) && (w == c1->w) && (c1->w == c2->w) &&
{'fraction_non_alphanumeric': 0.18663761801016704, 'fraction_numerical': 0.02178649237472767, 'mean_word_length': 4.084870848708487, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4979057', 'n_tokens_mistral': 567, 'n_tokens_neox': 535, 'n_words': 164}