Some fixes for rebase and other tweaks

This commit is contained in:
gdkchan 2018-11-19 01:08:01 -03:00
parent 3c1e0c904a
commit 113db2b568
24 changed files with 34 additions and 34 deletions

View file

@ -1,8 +1,8 @@
using Ryujinx.Graphics.Gal;
using Ryujinx.Graphics.Graphics3d;
using Ryujinx.Graphics.Memory;
using Ryujinx.Graphics.VideoDecoding;
using Ryujinx.Graphics.VideoImageComposition;
using Ryujinx.Graphics.VDec;
using Ryujinx.Graphics.Vic;
namespace Ryujinx.Graphics
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class BitStreamWriter
{

View file

@ -1,6 +1,6 @@
using System;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
static class DecoderHelper
{

View file

@ -2,7 +2,7 @@ using FFmpeg.AutoGen;
using System;
using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
unsafe static class FFmpegWrapper
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
unsafe struct FFmpegFrame
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class H264BitStreamWriter : BitStreamWriter
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class H264Decoder
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
struct H264Matrices
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
[StructLayout(LayoutKind.Sequential, Pack = 4)]
struct H264ParameterSets

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
enum VideoCodec
{

View file

@ -1,11 +1,11 @@
using Ryujinx.Graphics.Gal;
using Ryujinx.Graphics.Memory;
using Ryujinx.Graphics.Texture;
using Ryujinx.Graphics.VideoImageComposition;
using Ryujinx.Graphics.Vic;
using System;
using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
unsafe class VideoDecoder
{
@ -108,7 +108,7 @@ namespace Ryujinx.Graphics.VideoDecoding
Tx32x32Probs = Vmm.ReadBytes(VpxProbTablesAddress + 0x476, 0x6),
CoefProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x5a0, 0x900),
SkipProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x537, 0x3),
InterModeProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x400, 0x28),
InterModeProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x400, 0x1c),
InterpFilterProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x52a, 0x8),
IsInterProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x41c, 0x4),
CompModeProbs = Vmm.ReadBytes(VpxProbTablesAddress + 0x532, 0x5),

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
enum VideoDecoderMeth
{

View file

@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class Vp9Decoder
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
[StructLayout(LayoutKind.Sequential, Pack = 2)]
struct Vp9FrameDimensions

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
struct Vp9FrameKeys
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
struct Vp9ProbabilityTables
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class VpxBitStreamWriter : BitStreamWriter
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace Ryujinx.Graphics.VideoDecoding
namespace Ryujinx.Graphics.VDec
{
class VpxRangeEncoder
{

View file

@ -1,7 +1,7 @@
using Ryujinx.Graphics.Memory;
using System;
namespace Ryujinx.Graphics.VideoImageComposition
namespace Ryujinx.Graphics.Vic
{
class StructUnpacker
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoImageComposition
namespace Ryujinx.Graphics.Vic
{
struct SurfaceOutputConfig
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoImageComposition
namespace Ryujinx.Graphics.Vic
{
enum SurfacePixelFormat
{

View file

@ -1,6 +1,6 @@
using Ryujinx.Graphics.Memory;
namespace Ryujinx.Graphics.VideoImageComposition
namespace Ryujinx.Graphics.Vic
{
class VideoImageComposer
{

View file

@ -1,4 +1,4 @@
namespace Ryujinx.Graphics.VideoImageComposition
namespace Ryujinx.Graphics.Vic
{
enum VideoImageComposerMeth
{

View file

@ -47,7 +47,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
long InputPosition = Context.Request.GetBufferType0x21().Position;
long OutputPosition = Context.Request.GetBufferType0x22().Position;
NvHostChannelSubmit Args = AMemoryHelper.Read<NvHostChannelSubmit>(Context.Memory, InputPosition);
NvHostChannelSubmit Args = MemoryHelper.Read<NvHostChannelSubmit>(Context.Memory, InputPosition);
NvGpuVmm Vmm = NvGpuASIoctl.GetASCtx(Context).Vmm;
@ -55,7 +55,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
{
long CmdBufOffset = InputPosition + 0x10 + Index * 0xc;
NvHostChannelCmdBuf CmdBuf = AMemoryHelper.Read<NvHostChannelCmdBuf>(Context.Memory, CmdBufOffset);
NvHostChannelCmdBuf CmdBuf = MemoryHelper.Read<NvHostChannelCmdBuf>(Context.Memory, CmdBufOffset);
NvMapHandle Map = NvMapIoctl.GetNvMap(Context, CmdBuf.MemoryId);
@ -80,11 +80,11 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
long InputPosition = Context.Request.GetBufferType0x21().Position;
long OutputPosition = Context.Request.GetBufferType0x22().Position;
NvHostChannelGetParamArg Args = AMemoryHelper.Read<NvHostChannelGetParamArg>(Context.Memory, InputPosition);
NvHostChannelGetParamArg Args = MemoryHelper.Read<NvHostChannelGetParamArg>(Context.Memory, InputPosition);
Args.Value = 0;
AMemoryHelper.Write(Context.Memory, OutputPosition, Args);
MemoryHelper.Write(Context.Memory, OutputPosition, Args);
return NvResult.Success;
}
@ -94,11 +94,11 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
long InputPosition = Context.Request.GetBufferType0x21().Position;
long OutputPosition = Context.Request.GetBufferType0x22().Position;
NvHostChannelGetParamArg Args = AMemoryHelper.Read<NvHostChannelGetParamArg>(Context.Memory, InputPosition);
NvHostChannelGetParamArg Args = MemoryHelper.Read<NvHostChannelGetParamArg>(Context.Memory, InputPosition);
Args.Value = 0;
AMemoryHelper.Write(Context.Memory, OutputPosition, Args);
MemoryHelper.Write(Context.Memory, OutputPosition, Args);
return NvResult.Success;
}
@ -108,7 +108,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
long InputPosition = Context.Request.GetBufferType0x21().Position;
long OutputPosition = Context.Request.GetBufferType0x22().Position;
NvHostChannelMapBuffer Args = AMemoryHelper.Read<NvHostChannelMapBuffer>(Context.Memory, InputPosition);
NvHostChannelMapBuffer Args = MemoryHelper.Read<NvHostChannelMapBuffer>(Context.Memory, InputPosition);
NvGpuVmm Vmm = NvGpuASIoctl.GetASCtx(Context).Vmm;
@ -143,7 +143,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostChannel
{
long InputPosition = Context.Request.GetBufferType0x21().Position;
NvHostChannelMapBuffer Args = AMemoryHelper.Read<NvHostChannelMapBuffer>(Context.Memory, InputPosition);
NvHostChannelMapBuffer Args = MemoryHelper.Read<NvHostChannelMapBuffer>(Context.Memory, InputPosition);
NvGpuVmm Vmm = NvGpuASIoctl.GetASCtx(Context).Vmm;