Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-04-27 13:59:36 +0400
committerTon Roosendaal <ton@blender.org>2003-04-27 13:59:36 +0400
commitaf45ac2703b2aadd494f1c871e3f6d7db2a4cd3c (patch)
tree5ccade2989991fbbf6dc3cbb573fe76fb2564a49 /source/blender/imbuf/intern/jpeg.c
parent9508bb0d419fb160e9f39d693f6a14acccfb4e12 (diff)
translated comments for imbuf c files
Diffstat (limited to 'source/blender/imbuf/intern/jpeg.c')
-rw-r--r--source/blender/imbuf/intern/jpeg.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/source/blender/imbuf/intern/jpeg.c b/source/blender/imbuf/intern/jpeg.c
index 7e6a63f3f5a..10cf082dd0a 100644
--- a/source/blender/imbuf/intern/jpeg.c
+++ b/source/blender/imbuf/intern/jpeg.c
@@ -65,20 +65,16 @@ static ImBuf * ibJpegImageFromCinfo(struct jpeg_decompress_struct * cinfo, int f
#endif
/*
- * Er zijn in principe vier verschillende jpeg formaten.
+ * In principle there are 4 jpeg formats.
*
- * 1. jpeg - standaard drukwerk, u & v op kwart van resolutie
- * 2. jvid - standaard video u & v halve resolutie, frame opengeklapt
+ * 1. jpeg - standard printing, u & v at quarter of resulution
+ * 2. jvid - standaard video, u & v half resolution, frame not interlaced
type 3 is unsupported as of jul 05 2000 Frank.
- * 3. jstr - als 2, maar dan met twee losse fields weggeschreven
- * moet baseline zijn
- * moet rgb zijn
- * moet samplingfactors goed hebben
-
+ * 3. jstr - as 2, but written in 2 seperate fields
- * 4. jmax - geen scaling in de componenten
+ * 4. jmax - no scaling in the components
*/
static int jpeg_failed = FALSE;
@@ -253,7 +249,7 @@ static ImBuf * ibJpegImageFromCinfo(struct jpeg_decompress_struct * cinfo, int f
struct ImBuf * ibuf = 0;
uchar * rect;
- /* eigen app1 handler installeren */
+ /* install own app1 handler */
ibuf_ftype = 0;
jpeg_set_marker_processor(cinfo, 0xe1, handle_app1);
cinfo->dct_method = JDCT_FLOAT;
@@ -488,7 +484,7 @@ static int init_jpeg(FILE * outfile, struct jpeg_compress_struct * cinfo, struct
}
jpeg_set_defaults(cinfo);
- /* eigen instellingen */
+ /* own settings */
cinfo->dct_method = JDCT_FLOAT;
jpeg_set_quality(cinfo, quality, TRUE);
@@ -535,7 +531,7 @@ static int save_vidjpeg(char * name, struct ImBuf * ibuf)
init_jpeg(outfile, cinfo, ibuf);
- /* scalings factoren goedzetten */
+ /* adjust scaling factors */
if (cinfo->in_color_space == JCS_RGB) {
cinfo->comp_info[0].h_samp_factor = 2;
cinfo->comp_info[0].v_samp_factor = 1;
@@ -601,7 +597,7 @@ static int save_maxjpeg(char * name, struct ImBuf * ibuf)
init_jpeg(outfile, cinfo, ibuf);
- /* scalings factoren goedzetten */
+ /* adjust scaling factors */
if (cinfo->in_color_space == JCS_RGB) {
cinfo->comp_info[0].h_samp_factor = 1;
cinfo->comp_info[0].v_samp_factor = 1;