Skip to content

Commit

Permalink
2003-10-26
Browse files Browse the repository at this point in the history
  • Loading branch information
makiuchi-d committed Sep 18, 2015
1 parent 74cb078 commit e4a168f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
21 changes: 15 additions & 6 deletions delogo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,21 @@ void deLOGO_Base::AdjustLogo(int x,int y,int depth)
// ロゴ名コピー
memcpy(adjdata->name,data->name,LOGO_MAX_NAME);

// 左上座標設定(位置調整後)
adjdata->x = data->x +(int)(x+200)/4 -50;
adjdata->y = data->y +(int)(y+200)/4 -50;
// 左上座標・位置端数(位置調整後)
if(x>=0){
adjdata->x = data->x + int(x/4);
adjx = x % 4;
} else {
adjdata->x = data->x - int((x-3)/4);
adjx = 4 - (-x%4);
}
if(y>=0){
adjdata->y = data->y + int(y/4);
adjy = y % 4;
} else {
adjdata->y = data->y - int((y-3)/4);
adjy = 4 - (-y%4);
}

adjdata->w = w = data->w + 1; // 1/4単位調整するため
adjdata->h = h = data->h + 1; // 幅、高さを1増やす
Expand All @@ -314,9 +326,6 @@ void deLOGO_Base::AdjustLogo(int x,int y,int depth)
df = (LOGO_PIXEL*)(data +1);
ex = (LOGO_PIXEL*)(adjdata +1);

adjx = (x+200) % 4; // 位置端数
adjy = (y+200) % 4;

//----------------------------------------------------- 一番上の列
ex[0].dp_y = df[0].dp_y *(4-adjx)*(4-adjy)*depth/128/16; // 左端
ex[0].dp_cb = df[0].dp_cb*(4-adjx)*(4-adjy)*depth/128/16;
Expand Down
6 changes: 3 additions & 3 deletions delogo.rc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,1,0
FILEVERSION 0,0,1,1
PRODUCTVERSION 0,0,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
Expand All @@ -46,12 +46,12 @@ BEGIN
BEGIN
VALUE "Comments", "YUY2��p"
VALUE "FileDescription", "���ߐ����S �t�B���^ Plugin for AviSynth 2.5\0"
VALUE "FileVersion", "0.0.1.0\0"
VALUE "FileVersion", "0.0.1.1\0"
VALUE "InternalName", "deLogo\0"
VALUE "LegalCopyright", "(C) MakKi\0"
VALUE "OriginalFilename", "delogo.dll\0"
VALUE "ProductName", "���ߐ����S �t�B���^\0"
VALUE "ProductVersion", "0.01\0"
VALUE "ProductVersion", "0.01a\0"
END
END
BLOCK "VarFileInfo"
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----------------------------------------------------------------------
���ߐ����S �t�B���^ for AviSynth 2.5 by MakKi
���ߐ����S �t�B���^ for AviSynth 2.5 ver 0.01a by MakKi
-----------------------------------------------------------------------

�y�@�\�z
Expand Down Expand Up @@ -28,6 +28,8 @@
���S�f�[�^�̍쐬�ɂ�AviUtl�p���S��̓v���O�C�����g�p���Ă��������B

��YUY2��p�ł��B�Ăяo���O��ConvertToYUY2����YUY2����Ԃɕϊ����Ă��������B
��AviSynth 2.0x�n�Ŏg�p����ɂ́Awarpsharp�v���O�C���t����LoadPlginEx.dll���g�p���Ă��������B
warpsharp�z�z�ꏊ�Fhttp://www.geocities.co.jp/SiliconValley-PaloAlto/2382/


�y���Ӂz
Expand Down Expand Up @@ -58,7 +60,8 @@

�y�X�V�����z

2003/10/01 ver 0.01 �E���J
2003/10/26 ver 0.01a �Epos_x,pos_y��200�����̎��G���[�ɂȂ邱�Ƃ��������̂��C��
2003/10/01 ver 0.01 �E���J


mailto:makki_d210@yahoo.co.jp

0 comments on commit e4a168f

Please sign in to comment.