gdigrab            57 libavdevice/alldevices.c     REGISTER_INDEV   (GDIGRAB,          gdigrab);
gdigrab           121 libavdevice/gdigrab.c gdigrab_region_wnd_init(AVFormatContext *s1, struct gdigrab *gdigrab)
gdigrab           124 libavdevice/gdigrab.c     RECT rect = gdigrab->clip_rect;
gdigrab           166 libavdevice/gdigrab.c     gdigrab->region_hwnd = hwnd;
gdigrab           187 libavdevice/gdigrab.c gdigrab_region_wnd_destroy(AVFormatContext *s1, struct gdigrab *gdigrab)
gdigrab           189 libavdevice/gdigrab.c     if (gdigrab->region_hwnd)
gdigrab           190 libavdevice/gdigrab.c         DestroyWindow(gdigrab->region_hwnd);
gdigrab           191 libavdevice/gdigrab.c     gdigrab->region_hwnd = NULL;
gdigrab           205 libavdevice/gdigrab.c gdigrab_region_wnd_update(AVFormatContext *s1, struct gdigrab *gdigrab)
gdigrab           207 libavdevice/gdigrab.c     HWND hwnd = gdigrab->region_hwnd;
gdigrab           224 libavdevice/gdigrab.c     struct gdigrab *gdigrab = s1->priv_data;
gdigrab           252 libavdevice/gdigrab.c         if (gdigrab->show_region) {
gdigrab           255 libavdevice/gdigrab.c             gdigrab->show_region = 0;
gdigrab           276 libavdevice/gdigrab.c     if (!gdigrab->width || !gdigrab->height) {
gdigrab           282 libavdevice/gdigrab.c         clip_rect.left = gdigrab->offset_x;
gdigrab           283 libavdevice/gdigrab.c         clip_rect.top = gdigrab->offset_y;
gdigrab           284 libavdevice/gdigrab.c         clip_rect.right = gdigrab->width + gdigrab->offset_x;
gdigrab           285 libavdevice/gdigrab.c         clip_rect.bottom = gdigrab->height + gdigrab->offset_y;
gdigrab           377 libavdevice/gdigrab.c     gdigrab->frame_size  = bmp.bmWidthBytes * bmp.bmHeight * bmp.bmPlanes;
gdigrab           378 libavdevice/gdigrab.c     gdigrab->header_size = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) +
gdigrab           380 libavdevice/gdigrab.c     gdigrab->time_base   = av_inv_q(gdigrab->framerate);
gdigrab           381 libavdevice/gdigrab.c     gdigrab->time_frame  = av_gettime() / av_q2d(gdigrab->time_base);
gdigrab           383 libavdevice/gdigrab.c     gdigrab->hwnd       = hwnd;
gdigrab           384 libavdevice/gdigrab.c     gdigrab->source_hdc = source_hdc;
gdigrab           385 libavdevice/gdigrab.c     gdigrab->dest_hdc   = dest_hdc;
gdigrab           386 libavdevice/gdigrab.c     gdigrab->hbmp       = hbmp;
gdigrab           387 libavdevice/gdigrab.c     gdigrab->bmi        = bmi;
gdigrab           388 libavdevice/gdigrab.c     gdigrab->buffer     = buffer;
gdigrab           389 libavdevice/gdigrab.c     gdigrab->clip_rect  = clip_rect;
gdigrab           391 libavdevice/gdigrab.c     gdigrab->cursor_error_printed = 0;
gdigrab           393 libavdevice/gdigrab.c     if (gdigrab->show_region) {
gdigrab           394 libavdevice/gdigrab.c         if (gdigrab_region_wnd_init(s1, gdigrab)) {
gdigrab           402 libavdevice/gdigrab.c     st->codec->time_base  = gdigrab->time_base;
gdigrab           403 libavdevice/gdigrab.c     st->codec->bit_rate   = (gdigrab->header_size + gdigrab->frame_size) * 1/av_q2d(gdigrab->time_base) * 8;
gdigrab           425 libavdevice/gdigrab.c static void paint_mouse_pointer(AVFormatContext *s1, struct gdigrab *gdigrab)
gdigrab           430 libavdevice/gdigrab.c     if (!gdigrab->cursor_error_printed) {       \
gdigrab           432 libavdevice/gdigrab.c         gdigrab->cursor_error_printed = 1;      \
gdigrab           441 libavdevice/gdigrab.c         RECT clip_rect = gdigrab->clip_rect;
gdigrab           442 libavdevice/gdigrab.c         HWND hwnd = gdigrab->hwnd;
gdigrab           481 libavdevice/gdigrab.c             if (!DrawIcon(gdigrab->dest_hdc, pos.x, pos.y, icon))
gdigrab           506 libavdevice/gdigrab.c     struct gdigrab *gdigrab = s1->priv_data;
gdigrab           508 libavdevice/gdigrab.c     HDC        dest_hdc   = gdigrab->dest_hdc;
gdigrab           509 libavdevice/gdigrab.c     HDC        source_hdc = gdigrab->source_hdc;
gdigrab           510 libavdevice/gdigrab.c     RECT       clip_rect  = gdigrab->clip_rect;
gdigrab           511 libavdevice/gdigrab.c     AVRational time_base  = gdigrab->time_base;
gdigrab           512 libavdevice/gdigrab.c     int64_t    time_frame = gdigrab->time_frame;
gdigrab           515 libavdevice/gdigrab.c     int file_size = gdigrab->header_size + gdigrab->frame_size;
gdigrab           523 libavdevice/gdigrab.c     if (gdigrab->show_region)
gdigrab           524 libavdevice/gdigrab.c         gdigrab_region_wnd_update(s1, gdigrab);
gdigrab           556 libavdevice/gdigrab.c     if (gdigrab->draw_mouse)
gdigrab           557 libavdevice/gdigrab.c         paint_mouse_pointer(s1, gdigrab);
gdigrab           565 libavdevice/gdigrab.c     bfh.bfOffBits = gdigrab->header_size;
gdigrab           569 libavdevice/gdigrab.c     memcpy(pkt->data + sizeof(bfh), &gdigrab->bmi.bmiHeader, sizeof(gdigrab->bmi.bmiHeader));
gdigrab           571 libavdevice/gdigrab.c     if (gdigrab->bmi.bmiHeader.biBitCount <= 8)
gdigrab           572 libavdevice/gdigrab.c         GetDIBColorTable(dest_hdc, 0, 1 << gdigrab->bmi.bmiHeader.biBitCount,
gdigrab           573 libavdevice/gdigrab.c                 (RGBQUAD *) (pkt->data + sizeof(bfh) + sizeof(gdigrab->bmi.bmiHeader)));
gdigrab           575 libavdevice/gdigrab.c     memcpy(pkt->data + gdigrab->header_size, gdigrab->buffer, gdigrab->frame_size);
gdigrab           577 libavdevice/gdigrab.c     gdigrab->time_frame = time_frame;
gdigrab           579 libavdevice/gdigrab.c     return gdigrab->header_size + gdigrab->frame_size;
gdigrab           590 libavdevice/gdigrab.c     struct gdigrab *s = s1->priv_data;
gdigrab           607 libavdevice/gdigrab.c #define OFFSET(x) offsetof(struct gdigrab, x)
gdigrab           630 libavdevice/gdigrab.c     .priv_data_size = sizeof(struct gdigrab),