91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.05MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-08
  • 語言: C/C++
  • 標簽:

資源簡介

音頻解碼實現C++音頻解碼實現C++音頻解碼實現C++音頻解碼實現C++

資源截圖

代碼片段和文件信息



#ifdef?DISPLAY

#include?
#include?

#include?
#include?

#include?“config.h“
#include?“tmndec.h“
#include?“global.h“

/*?private?prototypes?*/
static?void?display_image?_ANSI_ARGS_((XImage?*ximage?unsigned?char?*dithered_image));

/*?display?related?data?*/
unsigned?long?wpixel[3];
static?unsigned?char?*dithered_image;

/*?X11?related?variables?*/
static?Display?*display;
static?Window?window;
static?GC?gc;
static?int?dpy_depth;

XImage?*ximage;

unsigned?char?pixel[256];

#ifdef?SH_MEM

#include?
#include?
#include?

extern?int?XShmQueryExtension?_ANSI_ARGS_((Display?*dpy));
extern?int?XShmGetEventbase?_ANSI_ARGS_((Display?*dpy));

static?int?HandleXError?_ANSI_ARGS_((Display?*dpy?XErrorEvent?*event));
static?void?InstallXErrorHandler?_ANSI_ARGS_((void));
static?void?DeInstallXErrorHandler?_ANSI_ARGS_((void));

static?int?shmem_flag;
static?XShmSegmentInfo?shminfo1?shminfo2;
static?int?gXErrorFlag;
static?int?CompletionType?=?-1;

static?int?HandleXError(dpy?event)
Display?*dpy;
XErrorEvent?*event;
{
??gXErrorFlag?=?1;

??return?0;
}

static?void?InstallXErrorHandler()
{
??XSetErrorHandler(HandleXError);
??XFlush(display);
}

static?void?DeInstallXErrorHandler()
{
??XSetErrorHandler(NULL);
??XFlush(display);
}

#endif

/*?connect?to?server?create?and?map?window
?*?allocate?colors?and?(shared)?memory
?*/
void?init_display(name)
char?*name;
{
??int?crv?cbu?cgu?cgv;
??int?y?u?v?r?g?b;
??int?i;
??char?dummy;
??int?screen;
??Visual?*visual;
??int?dpy_class;
??Colormap?cmap;
??int?private;
??XColor?xcolor;
??unsigned?int?fg?bg;
??char?*hello?=?“H.263?Display“;
??XSizeHints?hint;
??XEvent?xev;
??XSetWindowAttributes?xswa;
??unsigned?long?tmp_pixel;
??unsigned?int?mask;

??display?=?XOpenDisplay(name);

??if?(display?==?NULL)
????error(“Can?not?open?display\n“);

??screen?=?DefaultScreen(display);

??visual?=?DefaultVisual?(display?screen);
??dpy_depth?=?DefaultDepth?(display?screen);
??dpy_class?=?visual->class;

??if?(!((dpy_class?==?TrueColor?&&?dpy_depth?==?32)
????????||?(dpy_class?==?TrueColor?&&?dpy_depth?==?24)
????????||?(dpy_class?==?TrueColor?&&?dpy_depth?==?16)
????????||?(dpy_class?==?PseudoColor?&&?dpy_depth?==?8)))
????error?(“requires?8?bit?PseudoColor?or?16/24/32?bit?TrueColor?display\n“);

??if?(dpy_class?==?TrueColor?&&?dpy_depth?==?32)
????printf(“TrueColor?:?32?bit?colordepth\n“);
??if?(dpy_class?==?TrueColor?&&?dpy_depth?==?24)
????printf(“TrueColor?:?24?bit?colordepth\n“);
??if?(dpy_class?==?TrueColor?&&?dpy_depth?==?16)
????printf(“TrueColor?:?16?bit?colordepth\n“);
??if?(dpy_class?==?PseudoColor?&&?dpy_depth?==?8)
????printf(“PseudoColor?:?8?bit?colordepth?4x4?ordered?dither\n“);

??/*?width?and?height?of?the?display?window?*/
??if?(expand)?{
????hint.min_width?=?hint.max_width?=?hint.width?=?2*horizontal_size;
????hint.min_height?=?hint.max_height?=?hint.height?=?2*vertical_size;
??}
??else?{
????hint.min_width?=?hint.m

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????目錄??????????0??2007-09-26?09:56??第7章

?????文件????????268??2006-02-19?22:10??第7章\Readme.txt

?????目錄??????????0??2007-09-26?09:56??第7章\播放工具

?????文件????1372274??2005-11-26?00:27??第7章\播放工具\YUVviewer.exe

?????目錄??????????0??2007-09-26?09:56??第7章\原始視頻

?????文件????1520640??2005-11-26?00:29??第7章\原始視頻\15fps.yuv

?????文件????3573504??2005-11-26?00:27??第7章\原始視頻\20kbit.yuv

?????文件?????340107??2005-12-21?16:29??第7章\原始視頻\h263encoder.exe

?????目錄??????????0??2007-09-26?09:57??第7章\壓縮視頻

?????文件??????26770??1996-05-23?07:04??第7章\壓縮視頻\15fps.263

?????文件??????25033??1996-05-23?07:08??第7章\壓縮視頻\20kbit.263

?????文件??????16857??1996-02-15?03:15??第7章\壓縮視頻\car16.263

?????文件??????14757??1996-02-15?03:16??第7章\壓縮視頻\carx16.263

?????文件??????20364??1996-02-15?03:11??第7章\壓縮視頻\cla7.263

?????文件??????14707??1996-02-15?03:12??第7章\壓縮視頻\clax7.263

?????文件??????20277??1996-02-15?03:12??第7章\壓縮視頻\fmn20.263

?????文件??????16897??1996-02-15?03:14??第7章\壓縮視頻\fmnx20.263

?????文件?????278581??2005-11-26?00:20??第7章\壓縮視頻\h263decoder.exe

?????文件??????19338??1996-02-15?03:16??第7章\壓縮視頻\mad13.263

?????文件??????14463??1996-02-15?03:17??第7章\壓縮視頻\madx13.263

?????文件??????18348??1996-02-15?03:18??第7章\壓縮視頻\mis7.263

?????文件??????12392??1996-02-15?03:19??第7章\壓縮視頻\misx7.263

?????文件???????7398??2005-12-21?16:42??第7章\壓縮視頻\stream.263

?????文件??????16679??1996-02-15?03:20??第7章\壓縮視頻\suz14.263

?????文件??????13478??1996-02-15?03:21??第7章\壓縮視頻\suzx14.263

?????目錄??????????0??2007-09-26?09:57??第7章\H.263編解碼源代碼

?????目錄??????????0??2007-09-26?09:57??第7章\H.263編解碼源代碼\h263encoder

?????文件??????28394??2005-12-21?02:45??第7章\H.263編解碼源代碼\h263encoder\coder.c

?????文件???????4782??2005-12-19?03:00??第7章\H.263編解碼源代碼\h263encoder\config.h

?????文件??????30638??2005-12-19?02:58??第7章\H.263編解碼源代碼\h263encoder\countbit.c

............此處省略54個文件信息

評論

共有 條評論

相關資源