摘要:
I finished off this task which was left a couple of weeks ago. This splitter, virtually a primitive parser, draws recoginizable tracks out from MKV files, esp. helpful to get the subtitles. Reference: http://www.matroska.org/The code is as follows:#include <stdio.h>typedef enum{ /* Table 1 */ 阅读全文
摘要:
The code is to smooth out the JPEG artifacts on some digitized maps in order to facilitate the PNG compression. I finally decided to use some flood-style algorithm the result of which is somewhat satifactory (As applied on the 640x480 sample image, the sizeof the output PNG file is reduced from 613K 阅读全文
摘要:
My 300-point answer to the 1000-point problem (TCO06 Championship Round). Incomplete solution, for only as much as 31-fold edge is allowed, which is below 50, the constraint of line number. About 1 week devising, coding and debugging.The following is the code.#include <iostream>#include <ca 阅读全文
摘要:
I cannot figure out any better solution, for the 500-point problem in practice room "TCO06 Championship Round. It marked the code I pasted below only 150 point, maybe it takes the time difference between my openning the problem and my submission into consideration, and the answer is surely a bi 阅读全文
摘要:
Since topcoder reserves the proprietorship of the problem statement, I will not paste it here, and I do not have time and energy and see any necessity to reinterpret it.My answer, the proof of the correctness of which is not reliable with the performance of the overall program and some part of it im 阅读全文
摘要:
M-order homogenous difference equation:sigma(m = 0 : M - 1, a[m] * x[n+m]) = 0 (... 1.1)can be represented bysigma(m = 0 : M - 2, a(1)[m] * x(1)[n+m]) = 0 (... 1.2),where x(1)[k] = a"[1]*x[k+1] + a[0]*x[k]a(1)[k] = a"[k+1]/a"[1], k = 0 : M-1; a(1)[M-2] = a[M-1]/a'[1]a'[k], k = 阅读全文
摘要:
1. Interpolation (likely bug), detected and corrected.2. Deblocking (bug/incompatiblity), detected and verified. Solutions recommended: replacement by X264, JM, P264, ... 阅读全文
摘要:
This program splits the combined version of SQLite source code. See http://www.sqlite.org/ or http://www.sqlite.org/download.html for more of SQLite.#include <stdio.h>typedef enum{ Error = -1, None = 0, Common, BeginInc, EndInc, BeginFile, EndFile,} LineType;typedef int Bool;typedef struct { F 阅读全文
摘要:
This article contains mere code. Several header files are merged. The validity of the result is not guaranteed. Last updated on 3 Apr 2008./* ========== Beginning of "rgl_pars.h" ========== */ /*** === String Library ===* Unit Name: rgl_pars* Author: Lincoln Yu* Purpose: An enhanced regula 阅读全文
摘要:
This article contains mere code./** It is a standalone console application that reveals macroblock * level information for YUV 4:2:0 QCIF raw video stream only.* It is generally used as a small tool for video development and * associated debugging.** The interface of the application will guide those 阅读全文