-
Notifications
You must be signed in to change notification settings - Fork 30
Define CpuDeviceInterface #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@scotts, @NicolasHug : here is a next PR where I attempt to define Pay attention on the need to have I also see that you are adding audio support. I did not move audio |
@dvrogozh, I'm going to be on vacation next week, so I won't be able to provide a full review until after I get back. Some initial comments:
|
Thanks for the PR @dvrogozh . I agree with both of you to keep audio where it currently is for now. |
Fixes: pytorch#619 * Commit defines `CpuDeviceInterface` and moves video `*OnCPU` methods from `SingleStreamDecoder` to it. * Audio `*OnCPU` methods left in `SingleStreamDecoder` * Constructor API of `DeviceInterface` was changed to allow passing `AVRational timeBase` required to initialize ffmpeg filter graph Signed-off-by: Dmitry Rogozhkin <[email protected]>
Signed-off-by: Dmitry Rogozhkin <[email protected]>
Signed-off-by: Dmitry Rogozhkin <[email protected]>
I added the commit in this PR which moves functions. Overall there are currently 3 commits (you might wish to review commit by commit or the entire diff - your choice):
|
Fixes: #619
CpuDeviceInterface
and moves video*OnCPU
methods fromSingleStreamDecoder
to it.*OnCPU
methods left inSingleStreamDecoder
DeviceInterface
was changed to allow passingAVRational timeBase
required to initialize ffmpeg filter graphCC: @scotts, @NicolasHug