Questions tagged [sdi]

Questions concerning implementation of Single-Document Interface (SDI) may have this tag.

90 questions
2
votes
1 answer

MFC Rich edit control 2.0 Text color

The idea here is pretty simple I thought, but i can't seem to figure it out. Essentially what i have is a MFC single view application with just one rich edit control 2.0 and some text in it. Let just say this control says "Please click here to fast…
Steven V
  • 65
  • 5
2
votes
1 answer

Accurate YUV 10 bits to 8 bits conversion

I have YUV422 10-bits SDI from camera, and I need to accurately convert it to 8-bits. Can I just shift right by 2 bits, or it is not good? There is a lot of info: http://en.wikipedia.org/wiki/YUV and https://ru.wikipedia.org/wiki/YCbCr But there is…
Mike I.
  • 91
  • 1
  • 2
  • 5
2
votes
1 answer

When including Sling Dynamic Include in our our maven pom, it is not installing the jar

We have a bit of a problem installing SDI via maven packaging. We followed the install guide found at: https://github.com/Cognifide/Sling-Dynamic-Include We have placed the dependency into our core bundle in our project, and it appears as though…
Bayani Portier
  • 660
  • 8
  • 18
2
votes
1 answer

Using ffmpeg for capturing (and recording) audio and video from decklink card using Windows 7

Im new with ffmpeg. I am trying to capture the video + audio from Decklink capture device. However I had some problems, I don’t know which stream using for my current video + audio source that connected to the decklink card's SDI port. Could someone…
user3540580
  • 21
  • 1
  • 2
2
votes
1 answer

Convert SDI to MDI

I'm taking my first class in C# development for winforms. I'm using VS Premium 2013. We've been working on an application all semester. For our final project one of our tasks is to convert it from an SDI to an MDI. The mainform is structured as…
Diana Tortolini
  • 230
  • 1
  • 3
  • 10
1
vote
1 answer

MFC - Accessing DocumentView OnDraw(CDC* pDC) Method Globally

I have an MFC SDI application and I want to access the Document area from a separate Dialog so I can draw something on it. Here's what I want to access: void CProjView::OnDraw(CDC* pDC) or better yet, I would like to draw on the document view…
DelegateX
  • 11
  • 3
1
vote
3 answers

Accessing parent window from a dialog in mfc

I am making a doc/view arch SDI application. I invoke a COptionsDialog in CSquaresView. void CSquaresView::OnOptions() { COptionsDialog dlg(this); if (dlg.DoModal() == IDOK) ... } In COptionsDialog I want to access CSquaresView. BOOL…
mmj
  • 139
  • 8
1
vote
1 answer

MFC, SDI app, Why the layout of views cannot be changed via code?

I'm new to MFC. I have just created an SDI application with the wizard, then tried to modify the generated code to control the layout of each view, toolbar, or menu: ... m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP |…
fajir moin
  • 99
  • 8
1
vote
1 answer

MFC SDI OpenDocument() is resetting my main window size. How can I stop it?

I have implemented code to save and load the main window size and location, which works fine, however, when I open a document it changes the window size back to some internal default. These are the calls from Windows I see leading up to when the…
WillDotson
  • 21
  • 5
1
vote
2 answers

can we draw shapes (line,circle , etc.) in dialog-based mfc visual studio 2010?

I want to implement an oscilloscope to display some different frequency via dialog-based MFC visual c++, but as I googling too much , I found out that the only way to drawing shapes in visual c++ is to use SDI or MDI ! I want to know if there is a…
Saeed Taheri
  • 41
  • 1
  • 4
  • 8
1
vote
0 answers

Update MyISAM sdi version

I have a schema MyISAM. I made an update of mysql server and now if I create a new table in .sdi files i see: "mysqld_version_id":80019 "dd_version":80017 "sdi_version":80019 The problem is in my old tables, where versions in .sdi files…
1
vote
1 answer

Is there a different behavior in hana between stored procedure and sql console

I try to start a flowgraph from a stored procedure. The flowgraph uses a physical table (on the hana) as data source and a table type in the data target. The flowgraph has two variables defined. I try the statement in the sql console and in dynamic…
Gforce3FG
  • 11
  • 1
1
vote
2 answers

linux run ffmpeg within c++ code

the O.S. is Linux. I have an old c++ code that writes raw SDI input from a capture device to a file. My intent is to modify this program and redirect the raw video from the SDI source to the stdin of ffmpeg. How can I do that? Is better to run…
cicvsalba
  • 61
  • 1
  • 7
1
vote
1 answer

MFC SDI Text Editor

I am creating an MFC SDI explorer style application (it has a splitter bar and the right-hand pane is the text-edit area, left-hand pane is the tree-view) My right-hand pane is a CRichEditView. I want to be able to detect when a user has edited the…
user686027
  • 85
  • 4
1
vote
1 answer

C++ MFC SDI Copy/Paste did not work

I have created a simple MFC SDI Application with an Ribbon. The View for the Document is a FormView with on Edit Control. If I now use CTRL+V to paste some Text in the Edit Control nothing happens. Same goes with CTRL+C to copy the Text inside the…
Kevin
  • 785
  • 2
  • 10
  • 32